Ultimate Web Site Drop Down Menu Forum

Ultimate Web Site Drop Down Menu Forum (http://www.udm4.com/forum/index.php)
-   CSS and HTML (http://www.udm4.com/forum/forumdisplay.php?f=8)
-   -   table column size (http://www.udm4.com/forum/showthread.php?t=87)

paulj 08-06-2007 04:58 PM

table column size
 
I'm trying to make a table with several columns. I would like to force one of the columns to expand completely so that the text it contains does not run over into the second line like this: Code: --------- | header | header header 1 | 2 | 3 ------------------------------ ...

doctordew 08-06-2007 07:20 PM

Code:

<table>
  <tr>
    <th id="header1" scope="col">header 1</th>
    <th scope="col">header 2</th>
    <th scope="col">header 3</th>
  </tr>
  <tr>
    <td>cell 1</td>
    <td>cell 2</td>
    <td>cell 3</td>
  </tr>
  …
</table>

Code:

#header1 {white-space: nowrap;}
Thank VipStephan for that post on another forum.


All times are GMT. The time now is 02:36 PM.

Powered by vBulletin® Version 3.0.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.