Gee, that's a new one to me! Is <col> a HTML 4 tag? I've never come across
it. Then again: haven't worked with tables in a while.

Thanks, I'll give it a try!
________________________________

        From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Peter Ottery
        Sent: Monday, 2 May 2005 5:58 PM
        To: [email protected]
        Subject: Re: [WSG] Padding tables in IE
        
        
        Andreas wrote:
        >>> I am having difficulties getting IE to give a table a
padding-left. 
         
        I dont think adding padding to the table itself is going to be
reliable - as youve found out :)
        I'd say that what you want to do is add padding to the cell/s of the
table.
         
        If you want to add padding to one column of the table (in your cae
the left column), apply a style to a col tag [1] like this:
        
        <style type="text/css"> 
        .1st-column {padding-left:25px}
        </style>
        
        <table border="1">
        <col class="1st-column">
        <col>
        <col> 
        <tr>
        <td>blah blah blah</td>
        <td>blah blah blah</td>
        <td>blah blah blah</td>
        </tr>
        </table>
         
         


******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to