|
womble -> RE: Font in style sheet not working properly (10/14/2005 18:44:49)
|
Well it took me a couple of minutes to figure out there's no text in that code (long day and I don't use table layouts any more so it took a while for the brain cells to kick in [;)]), but once I stuck some test text in there, figured out what the problem could be. I think this bit of your css might be the problem: quote:
font { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 9pt; color: #3C3C3C; line-height:18px } When I put some text in there, nothing happened, as you said, I got Times New Roman. It's your 'font' selector that's causing the problem, I think. I put some text in there with <p> tags, changed the 'font' in the css to 'p' (without the quotes), tried again, and...Verdana 9pt! That should work. If you're using FP you can quickly edit the tags by selecting the <p> tag on the list of tags at the top of the page, then pick 'edit tag' from the drop-down list, or just make sure you've got a <p> tag (presuming it is paragraph text) around the text if you're doing it in code view. i.e., in your code, for example: <td width="100%" height="100%" valign="top"> <p>Test</p></td> and in your css: p { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 9pt; color: #3C3C3C; line-height:18px } Hope that helps!
|
|
|
|