![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
confused; When I create a full Style Sheet and under 'body' specify Georgia, Times New Roman (etc.) 9 points, the pages I apply the style sheet to don't seem to recognise the font-size instruction although they are using the specified font. If I right-click on body text and select CSS style, 'None' is checked. If no special CSS class is specified, shouldn't the page be displaying with ALL the parameters set in the 'body' definition? |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
and you shouldn't use "points", but %, em or pixels |
#5
| |||
| |||
|
#6
| |||
| |||
|
|
:confused; When I create a full Style Sheet and under 'body' specify Georgia, Times New Roman (etc.) 9 points, the pages I apply the style sheet to don't seem to recognise the font-size instruction although they are using the specified font. If I right-click on body text and select CSS style, 'None' is checked. |
|
If no special CSS class is specified, shouldn't the page be displaying with ALL the parameters set in the 'body' definition? |
#7
| |||
| |||
|
|
I should clarify that I used the font set from DW's dropdown menu so yes, 'Times New Roman' is in quotes, I just didn't bother to include that in my post. You seem to be saying that font-size won't be recognized if it's not in %, pixels or em, |
|
I'm just not clear why the specification in the 'body' definition is being ignored. |
#8
| |||
| |||
|
|
You seem to be saying that font-size won't be recognized if it's not in %, pixels or em, but I use points in other style classes and they render fine. |
#9
| |||
| |||
|
#10
| |||
| |||
|
|
What David says about <td> and other tags overriding the 'body' style seems to be the answer. I tried creating a new page, linking the style sheet to it, and typing some text. It picked up the style just fine. Then I inserted a table and typed some text into a table cell, and presto - no style. |
![]() |
| Thread Tools | |
| Display Modes | |
| |