ikko Posted November 14, 2005 Share Posted November 14, 2005 hi, I installed this contribution, Fixed Width Site with CSS, and it works fine except for one thing. my right boxes sits off the page on the index page. on any other pages it sits within the page correctly. here's what i had changed: 1. A minor modification is required to your stylesheet.css file. Replace the following code: --------------------------- BODY { background: #ffffff; color: #000000; margin: 0px; } with: ----- BODY { text-align: center; background: #ffffff; color: #000000; margin: 0px; } .fixcenter { width: 758px; 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> here's my site if you want to see what i mean with the right box being incorrectly positioned My Webpage thanks in advance Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.