Quote:
Originally Posted by supergoten Funny story, my brother was actually able to solve my problem using FrontPage. I find it amusing that everyone says that Dreamweaver is the best for web development, and it can be solved easier in FrontPage. |
I'm late to the game but the div is currently NOT centered as you would like. Attached are some screenshots.
DreamWeaver is a far superior tool to FrontPage and I was able to get the div centered using a text editor. DreamWeaver
itself would not have solved the problem, as FrontPage
itself didn't. It's how you use the tool that is important and its functionality that separate the two. I've had to fix more than one site generated with FrontPage and the "real" fixes would have been to create the pages from scratch, which I mostly had to do in one case.
In any event, one set of screenshots show how the "live" page and a locally saved copy look for me in a "windowed" browser window on a screen with resolution 1280x1024. The other set shows the browser window maximized.
I don't know if the "live" site is using the modifications your brother made but looking at the CSS, I noticed several issues. The one that seemed to address the centering issue was this:
Code:
.Sheet
{
position:relative;
z-index:0;
margin:0 auto;
width: 900px;
min-width:31px;
min-height:31px;
}
.Sheet-body
{
position: relative;
z-index:1;
padding: 3px;
}
In the case, the div of class "Sheet-body" appears to be div containing the main, black background image but its parent div of class "Sheet" has an incorrect width specified. The main, black background image has a width of
934px yet the "Sheet" div has a width of
900px specified. So, the attached screenshots were generated by my simply changing the width of the "Sheet" div from 900px tp 934px:
Code:
.Sheet
{
position:relative;
z-index:0;
margin:0 auto;
width: 934px;
min-width:31px;
min-height:31px;
}
As a result, the main, black background image actually moved to a more centered position on the page. I took the screenshots in Opera so you could see the window dimensions to get an idea of the size of the browser window. The scrollbar will take some of the display space which is why that div isn't centering absolutely perfectly.
In any event, hope that helps!
Peace...