hey guys
just trying to work out how to center content contained in a div ?
Have a look at this trial site at
[URL=”http://pozhet.spandog.com/apozhet/index.html”]http://pozhet.spandog.com/apozhet/index.html
I’m talking about the lower four color block images, I want them to be centered within 760px wide “#[COLOR=”Red”][B]lowerbodywrapper
relevant css is
……
/*—-BODYLOWERFOUR—-
[COLOR=”red”][B]#bodylowerwrapper
#bodylowerfour{width:760px; position:relative; margin:0 auto 0 auto; background:#F7FBF7; color:#8D8D8D;}
/*—FOUR PANEL ONE—-
#lowerfourone{width:187px; float:left; color:#006600;}
#lowerfourone p{padding:0 0 20px 0;}
#lowerfourone p.boldtext{font-size:16px; background:#F7FBF7; color:#006600; font-weight:bold; padding:32px 0 0;}
#lowerfourone p.blacktext{background:#F7FBF7; color:#006600; padding:0 0 12px 0;}
#lowerfourone p.dotline{background:url(images/dot.line.gif) 0 0 repeat-x; width:156px; padding:0 0 12px 0;}
#lowerfourone p.more{margin:0 0 10px 0px; padding:0px;}
#lowerfourone p.more a{display:block;width:79px; height:28px; background:url(images/greenarrow.gif) 0 0 no-repeat #F7FBF7; color:#006600; font-size:15px; line-height:28px; text-decoration:none; padding:0 0 0 10px;}
#lowerfourone p.more a:hover{background:url(images/greenarrow2.gif) 0 0 no-repeat #F7FBF7; color:#111; text-decoration:none;}
#lowerfourone ul{width:156px; padding:0 0 20px 0;}
#lowerfourone ul li{width:156px; height:20px;}
#lowerfourone ul li a{width:140px; height:20px; background:url(images/arrow1.gif) 0 8px no-repeat #F7FBF7; color:#006600; line-height:20px; text-decoration:underline; padding:0 0 0 16px;}
#lowerfourone ul li a:hover{background:url(images/arrow2.gif) 0 8px no-repeat #F7FBF7; color:#006600; text-decoration:underline;}
#lowerfourone ul.block{width:156px; height:151px; display:block; padding:0px;}
#lowerfourone ul.block li{width:156px; height:151px;}
#lowerfourone ul.block li a{width:126px; height:128px; display:block; background:url(images/block1.png) 0 0 no-repeat #FCFCFC; color:#F7FBF7; font-size:20px; font-weight:bold; text-decoration:none; padding:23px 0 0 30px;}
#lowerfourone ul.block li a:hover{background:url(images/block1.png) 0 0 no-repeat #FCFCFC; color:#F7FBF7; text-decoration:none;}
/*—/FOUR PANEL ONE—-
/*—FOUR PANEL TWO—-
#lowerfourtwo{width:186px; float:left;
………
and same as the above *FourPanel One
full css file is at [url]http://pozhet.spandog.com/apozhet/twothirds.css
if any one can help with this I will be thankful
Albert:eek: