a CSS formatting question

liunx

Guest
I've made a simple css file (I'm a newbie at it), and I'm already having trouble. Here's the part that is giving me grief:

body { font-family: Verdana; font-size: 10pt; color: #000000 }

The problem I have is that the font-size on the page that references it ISN'T 10pt. The font family changes like it's supposed to and the color is right, but the font-size won't obey.

Here's the html:
<body>

<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="1021" id="AutoNumber1" height="510">
<tr>
<td width="1019" colspan="3" height="115" valign="top" align="left">
<img border="0" src=http://www.webdeveloper.com/forum/archive/index.php/"newbanner4.jpg" width="1019" height="114"></td>
</tr>
<tr>
<td height="43" width="168"> </td>
<td height="654" rowspan="2" width="544"> </td>
<td height="394" rowspan="2" width="219"> </td>
</tr>
<tr>
<td height="350" width="168" valign="top">HOME<p>EDUCATION RESOURCES</p>
<p>GROLIER ONLINE</p>
<p>EDLINE</p>
<p>SCHOOL DISTRICT WEBSITE</p>
<p>COURSES & STAFF</p>
<p>CALENDARS, SCHEDULES, & NEWSLETTERS</p>
<p>STUDENT CENTER</p>
<p>NEWS ARCHIVE</p>
<p>SITE MAP</p>
<p>CONTACT US</p>
<p>Site is best viewed in 1024x768</td>
</tr>
</table>Ok, I got it.

Ahm shtupid.I'd like to note that that code could really be cleaned up. For one, why is a list of links marked up in paragraphs, and if you know of CSS, why are you using a tabular layout?Originally posted by Ben R.
I'd like to note that that code could really be cleaned up. For one, why is a list of links marked up in paragraphs...
Reading Taming Lists (<!-- m --><a class="postlink" href="http://www.alistapart.com/articles/taminglists/">http://www.alistapart.com/articles/taminglists/</a><!-- m -->) would be a great place to start for you Chewbubba.

Originally posted by Ben R.
... and if you know of CSS, why are you using a tabular layout?
Go easy. He's just getting into this. I'll give you a link to a post at another forum that should be enough to get you started on the way to CSS Design: Advice for starting out (<!-- m --><a class="postlink" href="http://www.tutorialforums.com/showthread.php?s=&threadid=71112&perpage=15&pagenumber=3">http://www.tutorialforums.com/showthrea ... genumber=3</a><!-- m -->)

Read my second post on the page (same name, same avatar). The whole topic is an interesting read because it highlights the battle between those who don't know about CSS design, those who do, and those who don't care.Originally posted by toicontien
Go easy. I'm sorry, it's just not in my nature. ;) Sorry for being harsh on ya', Chewbubba.
 
Back
Top