Making and Applying Character Styles

I have followed Dan Jasker’s vid on making a base

style for my entire site and I understand how to make a “red” tag or use Strong as he does, but how do I make a tag for ital or to change the font or size of the font in the body tag?

Basically, I want to use the body tag as my base for the whole site and alter that as I need to throughout the site with different attributes.

Thanks…


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

And, how can I apply a custom color to certain text? Do I just select the text and click on the color I made, or is there more to it than that?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Robert
What I tend to do is create a styles with real names
so for example you have a block of text and its using your base style and you want one word to be red in the run of text.

So to achieve this I would: Go to Edit Style

Then click on the + icon at the bottom left

then in the name field name it something that makes sense like: red

then hit tab to confirm the name

then click the + symbol in Character drop down and add the Colour you want and in this case its red.

then ok the style

Now go back to your text and highlight 1 word and in the inspector palette, (making sure you have the T symbol active) Click on the + symbol to apply style to text and you should see all the styles that you can apply to this word. You should see .red there.
Use that and your word should now use that red style.
If you wanted you could now highlight the first letter in that red word and apply strong style so now it has a bold red letter as well as normal weight letters.
This should be confirmed in the inspector palette.
with:

.red
strong

The point of doing this you can build up a sensible amount of style which mean something and which you can recognise. with the added benefit you can use them over and over again with make extra styles.

The upshot is I create all my style like this. The reason being that the more careful you are about creating styles the smaller the style sheet is likely to be plus the easier it is to adjust one style and know it will have the correct effect across all the pages because you don’t have duplicates of the same thing.

to make text italic just highlight the word/s and use: em

So in the above scenario the first letter could be built up of three style like this

.red
strong
em

max


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Sometime around 4/12/08 (at 09:52 -0500) Robert Bovasso said:

I want to use the body tag as my base for the whole site and alter
that as I need to throughout the site with different attributes.

All you need to do is make a new style, put the word “body” (without
the quotes of course) into the Tag field and then delete whatever’s
in the Name field.
Add whatever settings you like; that will be applied to whatever’s
inside the HTML page body tag.

As for applying a custom colour to certain text, you’re right: all
you need to do is select the text and click the colour.
If you’d like to be more controlled than this, try making a new
style, put a one-word name into the Name field (BigRedFunk or
whatever), and setting the character colour to your custom colour.
Then, rather than just picking the colour from the Colors list, apply
that custom style to it.

k


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Great! Thanks, guys.

That’s kind of where I was heading, but just wanted to do it “right.”


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Remember as a rule of thumb, set your “body” tag up first and make sure you put your line-height ( a.k.a “leading”) in your “p” tag. It will save you lots of layout head-aches.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Yes, Dan I’ve done that.

Got it from your very helpful video!

Thanks!


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options