nimwa2 Posted May 4, 2007 Share Posted May 4, 2007 well ive been trying to do this http://www.oscommerce.com/community/contributions,4910 a fixed width, a border around the site, a changeable contrasting color background outside of the fixed width container. Well i have done this before 6 month ago and it was a breeze, but now i just don't know why it isn't working.. Willing to pay someone to find out. Thanks http://img522.imageshack.us/img522/2821/screen01kq0.jpg this is all i get :( the page doesnt center or anything i just get the stupid border box thinggy there :( *crY* Link to comment Share on other sites More sharing options...
♥Vger Posted May 4, 2007 Share Posted May 4, 2007 Recognise this code? BODY { background: #ffffff; color: #000000; margin: 0px; } with: ----- BODY { text-align: center; background: #ffffff; color: #000000; margin: 0px; } .fixcenter { width: 770px; border: solid; border-width: 1px; background: #ffffff; color: #000000; margin: auto; margin-top: 20px; text-align: left; } 2. On-page changes: In /catalog/includes/header.php ------------------------------- immediately below this piece of code if ($messageStack->size('header') > 0) { echo $messageStack->output('header'); } ?> add <div class="fixcenter"> In catalog/includes/footer.php ------------------------------ Immediately below the closing php tag ?> add this </div> That's my "Fixed Width Site With CSS" contribution - totally ripped off by someone else. Vger Link to comment Share on other sites More sharing options...
nimwa2 Posted May 5, 2007 Author Share Posted May 5, 2007 Well look i have already done that and it just doesn't happen :( these are my header.php, footer.php and stylesheet.css hope someone can spot the problem.. http://img513.imageshack.us/img513/8057/screen01zv5.jpg Link to comment Share on other sites More sharing options...
GemRock Posted May 5, 2007 Share Posted May 5, 2007 The </div> below the <div class="fixcenter"> should be deleted in the header.php Ken commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile). over 20 years of computer programming experience. Link to comment Share on other sites More sharing options...
nimwa2 Posted May 5, 2007 Author Share Posted May 5, 2007 The </div> below the <div class="fixcenter"> should be deleted in the header.php Ken Thanks, that fixed it.. :) Link to comment Share on other sites More sharing options...
tlati Posted June 14, 2010 Share Posted June 14, 2010 what is a solution for oscommerce v3 ? thank you. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.