Re: [css-d] One floating
  • ? (Converting a to
  • )

    Fri, 11 Aug 2006 12:34:19 -0700

    Henrik Jutterström wrote:
    > Hi All!
    >
    > New to the List I'm looking for help on a problem with a <td> that has a
    > "*"-width..
    >
    > I dont understand how this is supposed to be done i CSS for coding
    > "Strict" Valid html.
    >
    > Hos is this done? Can anyone help me?
    >
    > <table width="100%" border="0" cellspacing="0" cellpadding="5">
    > <tr>
    > <td width="100"><a href="/a/" class="menyLank">A</a></td>
    > <td width="100"><a href="/b/" class="menyLank">B</a></td>
    > <td width="100"><a href="/c/" class="menyLank">C</a></td>
    > <td width="100"><a href="/d/" class="menyLank">D</a></td>
    > <td width="*">&nbsp;</td>  <-- This is the one causeing me problems..
    > <td width="100"><a href="/e/" class="menyLank">E</a></td>
    > <td width="100"><a href="/f/" class="menyLank">F</a></td>
    > </tr>
    > </table>
    >
    >
    > Best Regards
    > /Henrik Jutterström
    >   
    
    Henrik,
    
    I believe that you just don't assign a width to that one cell. Since the 
    other cells have widths (move them to the style sheet), and the table 
    has a width (also move to style sheet), the width-less cell will expand 
    to fill the remainder of the table. This is what you want, correct? Try 
    it and let us know how it works.
    
    Zoe
    
    -- 
    Zoe M. Gillenwater
    Design Services Manager
    UNC Highway Safety Research Center
    http://www.hsrc.unc.edu
    
    
    ______________________________________________________________________
    css-discuss [EMAIL PROTECTED]
    http://www.css-discuss.org/mailman/listinfo/css-d
    IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
    List wiki/FAQ -- http://css-discuss.incutio.com/
    Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
    

    Reply via email to