|
Posted by Leonard Blaisdell on 08/26/05 05:46
In article <1125022576.228573.229370@f14g2000cwb.googlegroups.com>,
"ben" <lessani@gmail.com> wrote:
> hi again,
>
> im migrating my site from tables to divs/css. ive run into a problem
> though. i need to have a layout, like this,
>
> <table width="100%">
> <tr>
> <td> </td>
> <td> </td>
> <td> </td>
> <td> </td>
> </tr>
> <tr>
> <td> </td>
> <td> </td>
> <td> </td>
> <td> </td>
> </tr>
> </table>
>
> where the content in the cells can cause it to make it wider than its
> original width, without causing the table to extend over its 100%
> width, or break onto a new line. i can make a layout like that in css,
> but if you overfill one of the 'cells' it just bumps the next 'cells'
> onto the next line - which isnt an option.
>
> if there is a way to make the divs have variable widths without
> affecting the others, could you please help me out?
>
> ben
URL?
You appear to be using a table to create whitespace. A less egregious
example would be to replace all that with <br><br>. I'd probably put the
margin-bottom on the element above it at 2em using CSS. Or it's own
block element at a margin-top of 2em.
Or I misunderstood your question which I've done plenty of times before.
leo
--
<http://web0.greatbasin.net/~leo/
Navigation:
[Reply to this message]
|