IIIIIIIIII Posted January 20, 2009 Share Posted January 20, 2009 I am trying to change the width of my site, and set it to stay that dimension rather then increase/decrease with the size of the browser window... but my style sheet has about 3 short lines of code spread across 2 pages. Is this an error? or am I losing data when saving it to my computer. I also tried changing the color of the borders around the catergories and that isnt working either, it just goes white no matter what hex value I enter. Any advice? Link to comment Share on other sites More sharing options...
FIMBLE Posted January 20, 2009 Share Posted January 20, 2009 HI whats your URL please Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions Link to comment Share on other sites More sharing options...
IIIIIIIIII Posted January 20, 2009 Author Share Posted January 20, 2009 HI whats your URL pleaseNic Sorry http://www.MrFragrances.com Link to comment Share on other sites More sharing options...
FIMBLE Posted January 20, 2009 Share Posted January 20, 2009 I answered you other post Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions Link to comment Share on other sites More sharing options...
IIIIIIIIII Posted January 20, 2009 Author Share Posted January 20, 2009 I answered you other postNic I just saw that, See thats the problem, the style sheet is empty.. is this how the default one comes or am I missing info? Link to comment Share on other sites More sharing options...
FIMBLE Posted January 20, 2009 Share Posted January 20, 2009 I just saw that, See thats the problem, the style sheet is empty.. is this how the default one comes or am I missing info? #I have attached a standard stylesheet for you below Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions Link to comment Share on other sites More sharing options...
IIIIIIIIII Posted January 20, 2009 Author Share Posted January 20, 2009 #I have attached a standard stylesheet for you belowNic Thanks a ton!! Im guessing Im going to have to pick up a book now and figure out how to set this up. Atleast now I know whats wrong! :) Link to comment Share on other sites More sharing options...
FIMBLE Posted January 20, 2009 Share Posted January 20, 2009 to set the width of your store do the following add to your atylesheet.css body, html { background: #000000; color: #ffffff; margin: 0px; padding:0px; text-align: center; } #centrepage{ width: 850px; /*sets the width*/ margin: 10px auto 10px auto; background: #ffffff; text-align: left; } ==================================== file = catalog\include\header.php line = 55, insert new line After the PHP and before the HTML starts <div id= "centrepage" > ==================================== file = catalog\include\footer.php last line in file add after everything else </div> Sometimes you're the dog and sometimes the lamp post [/url] My Contributions Link to comment Share on other sites More sharing options...
Guest Posted January 20, 2009 Share Posted January 20, 2009 I am trying to change the width of my site, and set it to stay that dimension rather then increase/decrease with the size of the browser window... but my style sheet has about 3 short lines of code spread across 2 pages. Is this an error? or am I losing data when saving it to my computer. I also tried changing the color of the borders around the catergories and that isnt working either, it just goes white no matter what hex value I enter. Any advice? Make sure that you use a pure text editor and backup your file before you make changes. Link to comment Share on other sites More sharing options...
IIIIIIIIII Posted January 20, 2009 Author Share Posted January 20, 2009 to set the width of your store do the following add to your atylesheet.css body, html { background: #000000; color: #ffffff; margin: 0px; padding:0px; text-align: center; } #centrepage{ width: 850px; /*sets the width*/ margin: 10px auto 10px auto; background: #ffffff; text-align: left; } ==================================== file = catalog\include\header.php line = 55, insert new line After the PHP and before the HTML starts <div id= "centrepage" > ==================================== file = catalog\include\footer.php last line in file add after everything else </div> Im a little confused as to where exactly to place this... Perhaps u can look at my current style sheet and insert for me? Thank you so much http://www.mrfragrances.com/stylesheet.css Link to comment Share on other sites More sharing options...
FIMBLE Posted January 20, 2009 Share Posted January 20, 2009 Im a little confused as to where exactly to place this... Perhaps u can look at my current style sheet and insert for me? Thank you so much http://www.mrfragrances.com/stylesheet.css You add the stylesheet bits to the very end of the file Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.