Contact Us Forum Rules Search Archive
WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Site Design > Graphics & Design Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Graphics & Design Discussion Forum Post your graphics design questions/comments/ideas in here. Ask questions, post tutorials, discuss trends and best practices. Sub-forum for website accessibility and usability.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-10-2005, 07:58 AM
WebProWorld Member
 

Join Date: Sep 2005
Posts: 82
sysop9999 RepRank 0
Default Table Align to table

Greetings all,

Project: I'm trying to align two tables beneath a top table. Like this:

Code:
Top table:
<table width="50" height="20">
<tr><td>(A)</td></tr></table>

Menu table:
<table width="10" height="40" align="left">
<tr><td>(B)</td></tr></table>

Content table:
<table width="40" height="40">
<tr><td>(C)</td></tr></table>
My problem is, that the two tables beneath doesn't align all the way to the top table. There's a small space between top table and the two others.

I've tried almost anything, valign, vspace etc. but nothing helped.

The tables align perfectly in Firefox - it's only in IE the problem is.

Any one have an insight in this problem?
__________________
Kim B. Juul
Danish Web Design & SEO
Reply With Quote
  #2 (permalink)  
Old 11-10-2005, 08:16 AM
WebProWorld Veteran
 

Join Date: Aug 2003
Location: Cornwall, UK
Posts: 860
speed RepRank 1
Default

Why not just use 1 table, something like:
Code:
<table width="50">
<tr>
<td colspan="2">(A)</td>
</tr>
<tr>
<td width="10">(B)</td>
<td width="40">(C)</td>
</tr>
</table>
__________________
US & UK Web Hosting with hourly backups | Hosting Affiliate Scheme | Web Directory 2 for 1 Offer
Reply With Quote
  #3 (permalink)  
Old 11-10-2005, 09:06 AM
WebProWorld Member
 

Join Date: Sep 2005
Posts: 82
sysop9999 RepRank 0
Default

hmm ... I think you're on to something.

I always try to keep things in order. That's why I've used several tables and in that way have more control within each block.

This time however, I'll have to agree with you there.

The tables of course, is a little more complicated than the stated examples - but with a little trial and error it shouldn't be much of a problem to convert them.

Thanks for the insight
__________________
Kim B. Juul
Danish Web Design & SEO
Reply With Quote
  #4 (permalink)  
Old 11-10-2005, 11:00 AM
WebProWorld Veteran
 

Join Date: Aug 2003
Location: Cornwall, UK
Posts: 860
speed RepRank 1
Default

Have you looked at using CSS and divs? I find it much easier to build layouts with them than with good old nested tables.
__________________
US & UK Web Hosting with hourly backups | Hosting Affiliate Scheme | Web Directory 2 for 1 Offer
Reply With Quote
Reply

  WebProWorld > Site Design > Graphics & Design Discussion Forum
Tags: ,



Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Search Engine Optimization by vBSEO 3.2.0