Word not reading style sheet properly

B

BPB

I created a Cascading Style Sheet and linked it to my Word document (saved as
a web page). The problem is that the font faces and sizes are correct for
some of the declarations, while others are wrong when I look at the document
in Word. However, when I create an identical document in Front Page and
preview it in my browser everything is correct. Any ideas?

Here's my style sheet:
body {margin-top: 10px;
margin-right: 10px;
margin-bottom: 0;
margin-left: 10px;
background-color: white;
}

..maintext {font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 10px;
font-weight: normal;
}


h1 {font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 16px;
font-weight: bold;
font-variant: small-caps;
}


h2 {font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 12px;
font-weight: bold;
}


h3 {font-family: Verdana, Helvetical, Arial, sans-serif;
font-size: 11px;
font-weight: normal;
font-variant: small-caps;
}

..highlighted {
font-family: Verdana, Helvetical, Arial, sans-serif;
font-size: 10pt;
font-weight: bold;
font-variant: small-caps;
background-color: yellow;
}

--
BPB

PS This is for a company Intranet and the people writing the pages will be
creating them in Word, so I have to get this to work. Otherwise I'd use
Dreamweaver or FP.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

How can I create this simple HTML signature? 1
Problems using CSS in IE6 1
Stationary and fonts 1
Firefox issue 2
CSS Problems 9
web and excel find text string... 1
press button via vb and excel 0
mamt 0

Top