CSS Styling problem - copying from software 'Pages'

Hi there,

I am trying to get the CSS working with some text, which should be straight forward.

For some reason it is not working.

The problem is that the size of the text is not correct. Whatever size text I enter it just appears as one size! I think the size I am seeing is about 12px. But I need a size about 8px.

<div id="hometext"><td>Garmin nuvi 3790T</td>
    <td>Garmin nuvi 300</td>
    <td>Garmin StreetPilot 2610</td>
    </div>

This is the CSS I am using:


#hometext {
font-family: arial,sans-serif;
font-size: 8px;;
color: #000000;	
}

Hope you can help,

Matt.


<div id="hometext"><td>Garmin nuvi 3790T</td> 
    <td>Garmin nuvi 300</td> 
    <td>Garmin StreetPilot 2610</td> 
    </div>  

this is invalid code. <td> tags should be inside <table> tags

vineet

Yes, you can’t have a div around <td>s. It may also be that a more specific rule is overriding the 8px. Check that with Firebug. (I.e. click on the element in Firebug–or another browser’s dev tools [via Inspect element]–and see what font style is top of the list.)

Yes - this is working right now.