I know you're experts...
I know you're experts...
Out of context: Reply #31
- Started
- Last post
- 38 Responses
- ********0
Use ID once...
the DIV you apply the ID to can have as much as you like in it.
think of a DIV as being a container. The tags within that container can then be accessed with
#IDname HTML_TAGname
eg
#header p
or if you have let's say three different text styles which you will use for the whole page then you would make something like this:
.textstyle1 h1
.textstyle1 h2
.textstyle1 h3
.textstyle1 p.textstyle2 h1
.textstyle2 h2
.textstyle2 h3
.textstyle2 p.textstyle3 h1
.textstyle3 h2
.textstyle3 h3
.textstyle3 pthen all you need to do to use the formatting of each is to
give your DIV it's ID and a class....