Click to See Complete Forum and Search --> : <UL> is not same as paragraph text


Duke Will
02-05-2007, 05:38 AM
My http://smallgig.com page... the Unordered List font is different from rest of page. Any idea how to fix? Here is CSS at top of page. Do I have to specifically tell it how to show the UL? How would I write it?

<STYLE type="text/css">
<!--
TD P { color: #000000; font-family: "Trebuchet MS", "Arial", Sans-serif, "Arial", "Helvetica" }
H1 { color: #000000 }
P { color: #000000; font-family: "Trebuchet MS", "Arial", Sans-serif, "Arial", "Helvetica" }
H2 { color: #000000 }
A:link { color: #ff0000 }
A:visited { color: #808080 }
-->
</STYLE>

EDIT: I have it fixed now, although, it's prolly incorrect code.

Centauri
02-05-2007, 06:13 AM
Apply your font settings to the body tag, which then applies it to child elements. Also get rid of the deprecated inline style html from the body element and put that in the css section as well.
<style type="text/css">
<!--
body {font-family: "Trebuchet MS", "Arial", Sans-serif, "Arial", "Helvetica"; color: #000000; background-color:#9BC4E2; }
a:link { color: #ff0000; }
a:visited { color: #808080; }
-->
</style>
</head>

<body>


Also, try to use lower case for tag names.

Cheers
Graeme

ray326
02-05-2007, 12:32 PM
Also, the sans-serif should be last in the list.