cathy Posted January 8, 2005 Posted January 8, 2005 I was hoping someone could tell me how to centre my whole web site on the screen as well, I would like to have a different colour around the outside of the site. So the actual site would have a white background and then all around the outside of the centred site would have a colour. Any advice would be really appreciated thanks Cathy
♥Vger Posted January 8, 2005 Posted January 8, 2005 Look underneath my name to where it says Fixed Width Site with CSS. It will do all you want, and it's dead easy to do. Vger
cathy Posted January 8, 2005 Author Posted January 8, 2005 Look underneath my name to where it says Fixed Width Site with CSS. It will do all you want, and it's dead easy to do. Vger <{POST_SNAPBACK}> It seems like it would be a very easy thing to do...but unfortunately it didn't work for me. I dunno.... So I looked around the contributions and found something else that is similar but only adjust the header and footer, not the stylesheet. So I combined the Fixed Width Site with the Center Shop Fix and come up with the code below in header.php ( also added </div> </div> to the footer.php as well) And it seems to work, but it leaves a white bar across the bottom of my page. It would be great if someone more knowledgeable than myself could take a look at the code below and at my web site and tell me what I should change. www.art-originals.com if ($messageStack->size('header') > 0) { echo $messageStack->output('header'); } ?> <div style="text-align: center; background: #92a3Cf; margin: 0px; "> <div style="width: 760px; border: solid; border-width: 1px; background: #ffffff; margin: auto; margin-top: 0px; text-align: left;"> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr class="header">
♥Vger Posted January 8, 2005 Posted January 8, 2005 My Fixed With with CSS only requires three minor alterations, and it works on all browsers (it has been tested). I can't see why it would not work. Vger
cathy Posted January 8, 2005 Author Posted January 8, 2005 My Fixed With with CSS only requires three minor alterations, and it works on all browsers (it has been tested). I can't see why it would not work. Vger <{POST_SNAPBACK}> I would like it to work (it would solve my problems)... I tried it again to be sure. I cut the text from your text document and inserted it in exactly the right places (I believe...you alter the stylesheet.css in catalog folder right?)...but I just can't get it to work. It looks like it should work.
cathy Posted January 8, 2005 Author Posted January 8, 2005 My Fixed With with CSS only requires three minor alterations, and it works on all browsers (it has been tested). I can't see why it would not work. Vger <{POST_SNAPBACK}> Oops..scratch that last post...after a few reloadings it works Thanks!!!!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.