Dreamweaver Centering

Status
Not open for further replies.

trigatch4

BuildAndEarn
Aug 23, 2006
2,558
79
0
East Coast
www.eurekadiary.com
I'm using layers in dreamweavers to stretch my top headers to 100% of the screen. I want the body of my pages to be centered on the page though, and am having trouble figuring out the best way to do this (i'm not using css)

I'm sure you'll tell me learn css and implement, but would love some other ideas.... thanks
 


Do you mean the body text or the body container? If your using layers then the positioning is absolute and doesn't really lend itself to centering in the middle of the browser window.
 
I mean the body container. You can make it start 10% from he left, be 80% and leave 10% on the right.

But, if I make it absolute, what is an appropriate number of pixels wide to make the body container?
 
It's been awhile since I have built a site without using CSS, but are you building in layers and then you're going to convert to tables?

If so, I would just build a table to contain all your body content, make the table 80% and set it to align="center" -- then put your header in a different table set to 100% width.

Let me know if that helps
 
I guess my main problem is, if I go with 10%-80%-10% then two negative things happen:
  1. Even on a 17 inch monitor, 80% is very wide and the text just looks ridiculous and non-inviting to read.
  2. I want the left hand side to be a static size, for example, 120 pixels or so to fit navigation and adsense, so 10% won't work as it may shrink to less than those allotted pixels
 
Status
Not open for further replies.