Alignment problem..basic

This is a discussion on "Alignment problem..basic" within the Web Page Design section. This forum, and the thread "Alignment problem..basic are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Closed Thread
 
LinkBack Thread Tools
  #1 (permalink)  
Old Mar 2nd, 2004, 02:38
New Member
Join Date: Dec 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Alignment problem..basic

this is a very basic question..

I have 2 tables that i need to put right next to each other. every thing i try will not work. right now they are like this:

********
*||||||*
*||||||*
********
*******
*|||||*
*|||||*
*******
I need them like this:

***************
*||||||**|||||*
*||||||**|||||*
***************

thanks,
ss

  #2 (permalink)  
Old Mar 2nd, 2004, 04:13
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
make a table with 1 row and 2 columns. put each of your tables in one of the table cells (they call this nested tables)

or you can use CSS on the first table: style="float:left;"

the nesting might work better for you cause floating has some quirks
  #3 (permalink)  
Old Mar 2nd, 2004, 04:28
Junior Member
Join Date: Feb 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Here is an html example I made to show how to use 3 tables to put 2 into alignment. You need to have one table containing the 2 other tables, I don't think you can do it any other way with straight html.
Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>

<TITLE></TITLE>
</HEAD>
<BODY>

<table bgcolor="#000000" width="300" height="200" cellspacing="0" cellpadding="0">
<tr>
<td>
	<table bgcolor="#FF8040" width="150" height="75">
        <tr>
        <td>One</td>
        </tr>
        </table>
</td>
<td>        
        <table bgcolor="#FF0080" width="150" height="75">
        <tr>
        <td>Two</td>
        </tr>
        </table>

</td>
</tr>
<table>

</body>
</html>
  #4 (permalink)  
Old Mar 2nd, 2004, 07:49
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
Remember guys you can use the [ code ] command (without the spaces) to put a code box straight into your posts which also preserves formatting!
Closed Thread

Tags
alignment, problembasic

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Division alignment problem Craigj1303 Web Page Design 0 Apr 3rd, 2008 14:29
Tables Alignment problem Aaron1988 Web Page Design 21 Mar 26th, 2007 17:32
Alignment problem in IE Lchad Web Page Design 16 Feb 10th, 2007 00:30
Alignment problem in Firefox guvna Web Page Design 11 Nov 14th, 2006 17:40


All times are GMT. The time now is 17:39.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43