I have a problem. My website layout is made using DIV position codes. However, my background that has a white strip down the middle is set to "center". So it will look perfect on my computer and like this on other screen resolutions. I need a way to center my "headerdiv" and my "contentdiv" and "sidebardiv". If there are other ways to fix this problem I am all ears. Here are my DIV codes, as well as my background code:
Code:body { text-align : right; margin : 0; background : url(http://www.modernrevolutions.vivid-avenue.net/layout/awesomebar.jpg) repeat-y;background-position : top center;div#headerdiv {position : absolute; top : 0px; left : 274px;width : 715px; height : 322px; background-image : url('http://www.modernrevolutions.vivid-avenue.net/layout/megan.png'); border : 0; border-style : solid; } div#sidebardiv {position : absolute; left : 755px; top : 350px;width : 220px; height : 550px; border : 0; border-style : solid; font-family : arial; font-size : 11px; } div#contentdiv {position : absolute; left : 300px; top : 350px;width : 450px; height : 1100px; font-family : georgia; font-size : 11px; line-height:13px; text-align : left; }




Reply With Quote


Bookmarks