HighDots Forums  

Table spacing

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Table spacing in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
jbaughman
 
Posts: n/a

Default Table spacing - 11-02-2005 , 12:59 PM






Hi all,

Please see this page to see the problem.

http://www.kilroyfilms.com/kilroy/mymemorymontage.htm

So, on the table, I would like the two columns to be the exact same width and
stay that width no matter what size window it's opened in. This is something
that I'm sure is pretty basic, but I'm a moron and can't figure it out! Please
help. What I did to try and fix it was just drag the table out until it was
the same. It looks good in Dreamweaver, but when I preview it or put it on the
web the left side gets bigger.

Thanks in advance.

Jamie
Mac G5
Studio MX 2004


Reply With Quote
  #2  
Old   
(_seb_)
 
Posts: n/a

Default Re: Table spacing - 11-02-2005 , 01:12 PM






jbaughman wrote:
Quote:
Hi all,

Please see this page to see the problem.

http://www.kilroyfilms.com/kilroy/mymemorymontage.htm

So, on the table, I would like the two columns to be the exact same width and
stay that width no matter what size window it's opened in. This is something
that I'm sure is pretty basic, but I'm a moron and can't figure it out! Please
help. What I did to try and fix it was just drag the table out until it was
the same. It looks good in Dreamweaver, but when I preview it or put it on the
web the left side gets bigger.

Thanks in advance.

Jamie
Mac G5
Studio MX 2004

your columns (td) have no width specified.
<td align="left" valign="top" bgcolor="#CCCCCC">

change to"

<td align="left" valign="top" bgcolor="#CCCCCC" width="400">

do the same for both tds.


--
seb ( --- @webtrans1.com)
http://www.webtrans1.com
high-end web design


Reply With Quote
  #3  
Old   
r4no
 
Posts: n/a

Default Re: Table spacing - 11-02-2005 , 01:40 PM



You set up the table to be a width of 800 pixels, so while that part works, the
browser is rendering the left column wider than the right, most likely because
there is a bit more text in the left. No problem; here's what you do!

Click in the left column and indicate a width of 50%, then click in the other
column and do the same. This will force each one to be the same width.

Widths for tables, columns, etc. can be expressed in pixels or percent. For
example, you can keep the table width at 800 pixels, then set up one column at
70% and one at 30%. If you change the table width to 500 pixels, the two
columns will "size-down" accordingly to fit within the smaller total width.
Definitely worth experimenting; have fun!


Reply With Quote
  #4  
Old   
Bonnie
 
Posts: n/a

Default Re: Table spacing - 11-02-2005 , 10:53 PM



r4no wrote:
Quote:
You set up the table to be a width of 800 pixels, so while that part works, the
browser is rendering the left column wider than the right, most likely because
there is a bit more text in the left. No problem; here's what you do!

Click in the left column and indicate a width of 50%, then click in the other
column and do the same. This will force each one to be the same width.

Widths for tables, columns, etc. can be expressed in pixels or percent. For
example, you can keep the table width at 800 pixels, then set up one column at
70% and one at 30%. If you change the table width to 500 pixels, the two
columns will "size-down" accordingly to fit within the smaller total width.
Definitely worth experimenting; have fun!

And define a background color for your page.

--
Bonnie in California
kroko at
sbcglobal dot net
http://www.theanimalrescuesite.com/cgi-bin/WebObjects/CTDSites.woa


Reply With Quote
Reply




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



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.