This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > February 2006 > relative widths





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author relative widths
Allana

2006-02-12, 6:43 pm

Hi,



I am a Newbie to Dreamweaver. I have started designing a site using a
table layout. I am using code which I have spliced together from two
templates, which contains a number of nested tables. In design view of
Dreamweaver, the site looks fine. I now have to convert the site
entirely into percentages, but I'm really having trouble with the
nested tables.The site works perfectly fine on a computer with with
1024,768 resolution using a combination of absolute sizing of columns
in pixels as well as percentages. Though the site worked using a
combination of absolute sizing and percentages, I did not feel I had
control of the layout of the page, though it just seemed to work. Using
this approach Dreamweaver, Dreamweaver would display two different
pixel widths for an identical column. For example, I can set the cell
width for one row in a table in percentages and then in the next row of
the table, of identical width, I can set the width of the cell in
absolute size. Then, when you highlight the table Dreamweaver reports
two different widths for the identical space on the screen. Is this
simply how Dreamweaver works or this somehow my fault. I apologize for
my ignorance.

I now have to revamp my code using only percentages. When assiging the
width of a table in percentage terms, Is the width relative to the
width of the most immediate table the subsumes it (i.e)

100
pixels (100%) =800px
<----------------------------------------------------------------------------------------------------------------------->

.....<table width =30%......><tr><td> (240px)
<------------------------------------>

<table width = 50%
<-----------------> (120px)


thanks,
Allana

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews