DWT with CSS

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a DWT with an embedded CSS (see below)...if that is the correct
terminology.

When I apply the DWT (with the embedded CSS) my page reflects the CSS
hyperlink effects, but NOT the BODY effect...meaning that I see font in
12point, as it was originally typed before applying the DWT was applied...not
modified with the 10point, which the CSS dictates.

This is happening to any page I apply the DWT with the CSS.

When I initially open a "blank" new page and begin to type words into that
blank page, the font is 12point. If I apply the CSS alone, all is fine, the
font transitions into the CSS dictated 10point. It is only when I apply the
DWT with the embedded CSS that the "body" font does not apply.

I am frustrated beyond belief!!

Here is a sample of what the CSS code looks like:
body { font-family: Trebuchet MS; font-size: 10pt; color: #000000 }
a:active { font-family: Trebuchet MS; font-size: 10pt; color: #003366 }
a:link { font-family: Trebuchet MS; font-size: 10pt; color: #003366;
text-decoration:
none; font-weight: bold }
a:visited { font-family: Trebuchet MS; font-size: 10pt; color: #003366;
text-decoration:
none; font-weight: bold }
a:hover { font-family: Trebuchet MS; font-size: 10pt; color: #003366;
text-decoration:
underline; font-weight: bold }
 
perhaps if you define the <td> and <p> along with the body you'll get it.

HTH

--
Chris Leeds,
Microsoft MVP FrontPage

The email address on this posting is a "black hole". I got tired of all the
spam.
Please feel free to contact me here:
http://nedp.net/contact/
 
You might want to use an external CSS sheet and link to it in the header..
If you put the link in the DWT header it should apply to the whole finished
page.
Also need to include the td / p in the style sheet

BTW: A generic font family name should be included in the fonts list.. Just
in case the viewer does not have Trebuchet MS installed on their system...
(MAC OS, Linux, ect...)

HTH
Don
====================
|I have a DWT with an embedded CSS (see below)...if that is the correct
| terminology.
|
| When I apply the DWT (with the embedded CSS) my page reflects the CSS
| hyperlink effects, but NOT the BODY effect...meaning that I see font in
| 12point, as it was originally typed before applying the DWT was
applied...not
| modified with the 10point, which the CSS dictates.
|
| This is happening to any page I apply the DWT with the CSS.
|
| When I initially open a "blank" new page and begin to type words into that
| blank page, the font is 12point. If I apply the CSS alone, all is fine,
the
| font transitions into the CSS dictated 10point. It is only when I apply
the
| DWT with the embedded CSS that the "body" font does not apply.
|
| I am frustrated beyond belief!!
|
| Here is a sample of what the CSS code looks like:
| body { font-family: Trebuchet MS; font-size: 10pt; color: #000000 }
| a:active { font-family: Trebuchet MS; font-size: 10pt; color: #003366 }
| a:link { font-family: Trebuchet MS; font-size: 10pt; color: #003366;
| text-decoration:
| none; font-weight: bold }
| a:visited { font-family: Trebuchet MS; font-size: 10pt; color: #003366;
| text-decoration:
| none; font-weight: bold }
| a:hover { font-family: Trebuchet MS; font-size: 10pt; color: #003366;
| text-decoration:
| underline; font-weight: bold }
| --
| Carolyn
 
Back
Top