Banner

Sponsor

Login


Welcome Back!
Guest
Guest

Register

Lost your password?

70 users online



DeamWeaver Question.. Tables

DeamWeaver Question.. Tables

Currently viewing this thread: 1 (0 members and 1 guests)


ExtremeDesign

ExtremeDesign

Status: Offline!

DeamWeaver Question.. Tables

How on earth do I get two tables beside eachother? I have been trying all day. Any help would be great;)

DeepRevolution

DeepRevolution

Status: Offline!

i think this one actually belongs in the web development section Shocked

___________________

http://24.163.51.72/images/signature-1.jpg

solow

solow

Status: Offline!

create your first table and make sure that it is sized to 50%. Then, select the table and then go to the properties bar at the bottom of the page and set the "align" property to [left]. Now, create your new table and then it should place it right beside your first table.

___________________

"I learn so I can Help" - Solow

Jeff

Jeff

loves kitties and cuddles
Status: Offline!

tables? why?

If what solow said didn't work, try this:

in your first table tag:

Code:


<table style="width: 50%; float: left;">

in your second table tag:

Code:


<table style="width: 50%; float: right;">

if it still doesn't work, try changing 50% to 49% or something.

___________________

I've got a girlfriend! WOOT.

HoseHead78

HoseHead78

Status: Offline!

Easy answer...

Say Both tables will Equal 800 pixels

first create a table with a width of 800 pixels.
Next split the table into two Columns each side 400 pixels.
(400 + 400 = 800)

Next, in the left section of the table Create a new table with the size of 400 (or which ever side you want). Then on the other side Create the an New Table you want.

Table inside a Table is fine. alot of sites do this method.

Hope this method helps out.

GL

___________________

I can't Breathe when I hold My Breathe.

alexford

alexford

Neversidian
Status: Offline!

Just so you guys know, tables are the most bulky code for internet browsers to download and decode. If you are using tables to make a layout, which I strongly reccomend you don't, then just use one. God forbid you should use three, with two of them embedded. Embedded tables = 300% increase in load time.

I would suggest using <DIV> tags. There are many tutorials around the internet. Try HTMLgoodies.com, or search Google.

If you really want to use tables, just use this code:

<TABLE WIDTH="100%" BORDER="?" CELLSPACING="0" CELLPADDING="5">
<TR><TD WIDTH="50%">Content</TD><TD WIDTH="50%">Content</TD></TR>
</TABLE>

This way you only use one table and the cellpadding allows for the space between columns.

Hope I helped.

___________________

Alex Ford
Neversidian General Editor and Columnist
http://www.lexmediaconsulting.com/

Jeff

Jeff

loves kitties and cuddles
Status: Offline!

we know. but I wanted to answer his question, not confuse him with divs. Wink

___________________

I've got a girlfriend! WOOT.

Quick Jump:

Main Navigation


Site & Graphic Design by Aeon Tan
Developed by Jeremie Pelletier & Scott Roach


NeverAPI generated this page in 0.0077 seconds.