navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

Character vs paragraph styles

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Cascading Style Sheets >> Character vs paragraph styles
Page: [1]
 
jsgeare

 

Posts: 28
Joined: 9/26/2005
Status: offline

 
Character vs paragraph styles - 10/12/2005 9:30:59   
'Splain it to me: When I create a user-defined "character" level style in FP03 (for an external style sheet), FP writes it out to the .css as "span.xxxxxx {and the rest of the formatting commands}. Problem is that this style then does not appear in the selector box on the styles tool bar.
"Paragraph" level styles, on the other hand, all begin with a period: (.greenheader, for example) and ARE available ('cause they start with a dot, I suppose). Soooo what do I need to do differently to get this puppy to work?
Thanks in advance for any help!
caz

 

Posts: 3577
Joined: 10/10/2001
From: Somewhere south of Chester, UK
Status: offline

 
RE: Character vs paragraph styles - 10/12/2005 10:40:05   
Are you using FP to write your css? I have never done that, I use a different stylesheet editor or just Notepad, then import it into the FP webs and link to it using the Format command. Then in Code view I indicate the style to be used with a period before the style name if it's a class.

Perhaps someone here can help you there. You could also give us a url, or a relevant scrap of code.

_____________________________

Do not meddle in the affairs of cats, for they are subtle and will dance, or more on your keyboard.
Cheshire cat. www.doracat.co.uk

I remember when it took less than 4hrs to fly across the Atlantic.

(in reply to jsgeare)
jsgeare

 

Posts: 28
Joined: 9/26/2005
Status: offline

 
RE: Character vs paragraph styles - 10/12/2005 11:16:35   
Yes, using FP, but it appears that FP is just a handy interface to produce the codes for me instead of me doing it (and it also saves as a .css page of course). I actually hand code myself on the page FP lays out because copy-paste is often faster than going through the style selector dialog. FP nicely puts the period in front of styles that are related to paragraphs (you must choose one or the other in the style dialog -paragraph is the default) but it doesn't do the same when "character" is selected. Which leaves open the question....how does FP KNOW that the style is at the character, as opposed to the paragraph level anyway? Anyway, thanks for the response.

(in reply to caz)
caz

 

Posts: 3577
Joined: 10/10/2001
From: Somewhere south of Chester, UK
Status: offline

 
RE: Character vs paragraph styles - 10/12/2005 12:27:12   
I just tried your way in FP and this is what I did,

Highlight the code in Code View, then choose Format>Style and select user-defined styles. Choose New...Give the new style a name then choose Style Type as Character and choose Format to apply formatting if you wish. This then results in the required style being embedded in the head of the page, eg.
<!--
span.w { text-decoration: underline }
-->
So in your code you would use this, <whatever><span class="w">W</span>hy</whatever>

Of course you can also modify or delete that style via FP too.

But it looks as if you will have to manually add the html '<span class="w">W</span>' in code view.

_____________________________

Do not meddle in the affairs of cats, for they are subtle and will dance, or more on your keyboard.
Cheshire cat. www.doracat.co.uk

I remember when it took less than 4hrs to fly across the Atlantic.

(in reply to jsgeare)
jsgeare

 

Posts: 28
Joined: 9/26/2005
Status: offline

 
RE: Character vs paragraph styles - 10/12/2005 13:55:29   

Hey Caz, thanks... this almost seems like setting a style "by example" and wouldn't that be a plesant tool? Just highlight something and tell FP to make a user defined style out of it....another day, maybe...

Thanks again.

-S

(in reply to caz)
dpf

 

Posts: 7126
Joined: 11/12/2003
From: India-napolis
Status: offline

 
RE: Character vs paragraph styles - 10/12/2005 15:30:56   
quote:

Just highlight something and tell FP to make a user defined style out of it
thats what dreamweaver does.........

_____________________________

Dan

(in reply to jsgeare)
Page:   [1]

All Forums >> Web Development >> Cascading Style Sheets >> Character vs paragraph styles
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts