...

View Full Version : first post, simple css alignment problem?



stp
12-20-2005, 05:05 PM
hi, i've just started using fireworks.

i've exported a site, with pop up menus.

the site is aligned left, i want it aligned center.

if i put a div=center tag in the html code, it still aligns to the left, so it must be something to do with the style sheet.

the first bit of code in my style sheet reads as follows

td img {
/* Another Mozilla/Netscape bug with making sure our images display correctly */
display: block;
}

#FWTableContainer2092973722 {
/* The master div to make sure that our popup menus get aligned correctly. Be careful when playing with this one. */
position:absolute;
margin:0px;
text-align:left;
body-align:center;
}

#MMMenuContainer0020132453_0 {
/* This ID is related to the master menu div for menu MMMenuContainer0020132453_0 and contains the important positioning information for the menu as a whole */
position:absolute;
left:177px;
top:283px;
visibility:hidden;
z-index:300;
}



how can i get my site to align center?

thanks.

ronaldb66
12-20-2005, 05:19 PM
Please supply the entire page markup and all the style rules, preferably as a link to an online page; there's no telling what is wrong without seeing the whole picture. By the way, a "div=center" tag is no valid HTML in any version.

NancyJ
12-20-2005, 05:46 PM
Without seeing your markup these are somethings your should try.

Set your body to text-align:center;

or wrap the whole site in a wrapper div ie

<div id = "wrap">
<!--your code here -->
</div>
then set that div to margin:auto;



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum