Sent by Zoe M. Gillenwater on 11 August 2006 20:08
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="*"> </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-REMOVED]]
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/