Reply to Re: i cant seem to work out how to do this...think you could help

Your name:

Reply:


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>&nbsp;</td>
> <td>&nbsp;</td>
> <td>&nbsp;</td>
> <td>&nbsp;</td>
> </tr>
> <tr>
> <td>&nbsp;</td>
> <td>&nbsp;</td>
> <td>&nbsp;</td>
> <td>&nbsp;</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/

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация