Reply
Possible to keep tables from moving?
Old 05-01-2008, 11:14 AM Possible to keep tables from moving?
Average Talker

Posts: 19
I am working on a website that contains 6 tables (2 columns and 3 rows). Each table with have content (images and/or text). Is there any HTML code I can use to keep the tables from moving? The reason is because each table is surrounded by a thin gray border and it's been difficult to keep the rows even.

I don't have anything to show, but I hope this make sense. Please let me know if there are any questions.

Thanks for reading.
sam18204 is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
     
Old 05-01-2008, 11:21 AM Re: Possible to keep tables from moving?
bakerc's Avatar
Penguins on toast

Posts: 1,425
Name: carl
Location: UK
If you set your tables a height / width values they shouldn't move (put them in a container div to centre, <div align=centre> nest all the tables in here </div>

If you have to use tables then you can use the div above and then a layout tabletable to nest the other table cells in

Even better, dont bother with tables, use CSS. I used tables for everything and have done a new site with CSS & html, only took a couple of weeks to get the common CSS rules down and I'd never heard of it before (looks better IMHO than the table one) but with no tables at all...much better results.
__________________
Lifes as good as you make it...

Last edited by bakerc : 05-01-2008 at 11:24 AM.
bakerc is offline
Reply With Quote
View Public Profile
 
Old 05-01-2008, 12:03 PM Re: Possible to keep tables from moving?
Mooofasa's Avatar
Defies a Status

Posts: 1,611
Name: Michael (mik) Land
Location: England
Quote:
Originally Posted by bakerc View Post
Even better, dont bother with tables, use CSS.
CSS != HTML.

Please use the appropriate tags for their purpose. Tables are intended to present tabular data. Layout can be controlled either directly to any element, or if needbe, use <div> tag.

http://www.htmldog.com/
__________________
Tumblings.co.uk - Tumblog with thoughts, quotes, links, videos, images and my creations.
Opera Browser - The best free web browser.
Opera Dev Tools - Firefox is now Firefail.
Mooofasa is offline
Reply With Quote
View Public Profile Visit Mooofasa's homepage!
 
Reply     « Reply to Possible to keep tables from moving?
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.13386 seconds with 13 queries