211655 Posted July 24, 2004 Posted July 24, 2004 Hi. i have a dumb question but i wanted to be done. in osc stylesheets there is a style that spreads the width of the site to the size of the browser. see this. http://drg.ms/catalogue/index.php/cPath/1 i mean that if u make the window smaller. it will not chnage the propotions, u dont have to scrowl left and right. how do i do that in stylesheet. i want to write that for one of my other pages ia m adding. thanks 211655 SEO Optimization Export Orders into CSV file
Jack_mcs Posted July 25, 2004 Posted July 25, 2004 Setting the width to the full size of the browser is the default setting in OSC. But it is not controilled with CSS but by the width of the main table. In index.php you have <table border="0" width="100%" cellspacing="3" cellpadding="3"> The width="100%" is what's causing the window to resize the way you describe. You can add a table class in the css file to handle this if want. Something like the following. You may also want to add the code for the spacing. TABLE { width: 100%; } Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Recommended Posts
Archived
This topic is now archived and is closed to further replies.