You are here: Re: floating table with tables inside « HTML « IT news, forums, messages
Re: floating table with tables inside

Posted by Els on 01/31/06 15:11

Jemdam.com wrote:

> Hi,
>
> I make all my HTML by hand and wondered if someone could let me know if this
> is possible. I want to make a table with width set to 90% and when I resize
> the window I need the contents of this to move. Now this is simple with TEXT
> and IMAGES as you just add the text and use align for the image and it all
> floats. However I need to display a series of tables inside the main table
> but would like them to have the same effect. When I try this each internal
> table is on a new line instead of on the right. Hope this makes sense? Any
> ideas? Here is my example:

[snip code for tables inside table]

Add this to your stylesheet:
table table{
width:[some value];
float:left;
}

Since you see to have just images and texts (captions?) in the tables,
you might wanna check an example I made in the past:
http://locusmeus.com/test/thumbswithcaptions.html
and to center those tables as well:
http://locusmeus.com/test/thumbswithcaptionscentered.html

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: King Crimson - Improv: Munchen

 

Navigation:

[Reply to this 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

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