|
Chimbird -> So close, but not quite . . . (11/27/2006 23:40:33)
|
Hi. I'm a newbie and attempting to convert my site to FrontPage (currently up and running with Yahoo SiteBuilder). Here is what I have so far that I'm planning to use as my main .dwt page (mostly lifted from a CubeCart layout I worked up before deciding not to use CubeCart): http://www.chimneybird.com/frontpage/chimtest.html When I view it in Firefox, the columns and navigation titles look fine, and it is centered in the browser window, but the paragraph after the heading doesn't show. In IE6, everything is messed up - it doesn't center and the columns are apparently too wide as are the navigation titles. In both browsers, it looks like I have padding around the buttons on the right (view cart, etc.). I made the background black so you could see it. I think this is probably a pretty straightforward fix, but I've been searching and fiddling and can't quite get it. The code for the layout css is below. Thanks! body { margin-top: 5px; background-color: #744A00; } #pageSurround { width: 756px; margin-left: auto; margin-right: auto; padding: 5px; border: 1px solid #000000; background-color: #FFFFFF; } #subSurround { border: 1px solid #000000; background-repeat: repeat-x; background-position: bottom; background-color: #EBF5FC; } #topHeader { text-align: right; height: 116px; margin-bottom: 10px; padding-right: 9px; padding-top: 0px; background-image: url('fotohead.jpg'); border-bottom: 1px solid #412700 } .boxTitleLeft, .boxTitleRight { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 70%; color: #FFFFFF; background-color: #CF0211; width: 126px; height: 15px; padding-left: 5px; padding-top: 1px; } /*Adding code for boxContentHome*/ .boxContentHome { border-top: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000; border-bottom: 1px solid #000000; background-color: #FFFFFF; padding-left: 5px; margin-bottom: 10px; padding-top: 3px; padding-bottom: 5px; } .boxContentLeft, .boxContentRight { border-left: 1px solid #000000; border-right: 1px solid #000000; border-bottom: 1px solid #000000; background-color: #FFFFFF; padding-left: 5px; margin-bottom: 10px; padding-top: 3px; padding-bottom: 5px; } .colLeft { position: relative; left: 0px; width: 131px; padding-left: 7px; padding-right: 12px; float: left; } .colMid { position: relative; width: 501px; float: left; } .colRight { position: relative; width: 84px; padding-left: 12px; padding-right: 7px; float: right; } .boxContent { border-top: 1px solid #000000; border-right: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; padding: 8px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 75%; color: #333333; background-color: #FFFFFF; /* Figure this out -- margin-bottom: 35px;*/ text-align: justify; } /*Adding code for specialtyButton*/ .specialtyButton { margin-left: 5px; border-top: 1px solid #000000; border-right: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; background-color: #000000; margin-bottom: 10px; padding: 0px; } /*Adding code for specialtyAd*/ .specialtyAd { border-top: 1px solid #000000; border-right: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; background-color: #FFFFFF; margin-bottom: 10px; padding: 3px; } .siteDocs { text-align:center; margin-top: 10px; } .pagination { text-align: right; padding-top: 5px; padding-bottom: 5px; } #subCats { background-color: #FFFFFF; text-align: center; border: 0px solid #C9CEFC; margin: 0px; padding: 3px; float: left; width: 387px; } .subCat { text-align: center; padding: 8px; float: left; width: 174px; } .regSep{ padding: 10px 0px 10px 0px; margin: 10px 0px 10px 0px; border-top: 1px solid #cccccc; border-bottom: 1px solid #cccccc; }
|
|
|
|