Digerdoo Posted April 9, 2005 Posted April 9, 2005 how you can put that way in header that automatically calcylate screen width.. so if you are using example div class="body" and body is 800pixel but how you can put that way that header calculate automatically width so if comes very big pictures it automatically calculate that body and header come same width not that way that header comes 900 pixel and body is only 800 pixel.. can someone help :blink:
Digerdoo Posted April 9, 2005 Author Posted April 9, 2005 how you can put that way in header that automatically calcylate screen width.. so if you are using example div class="body" and body is 800pixel but how you can put that way that header calculate automatically width so if comes very big pictures it automatically calculate that body and header come same width not that way that header comes 900 pixel and body is only 800 pixel.. can someone help :blink: <{POST_SNAPBACK}> so if i put stylesheet body width=800px and then comes big images or other big things header go just grazy.. header is about 900 px width then and body is only 800px ? where i can put 100% and can this solve my problem :blink:
Dez Posted April 10, 2005 Posted April 10, 2005 You should firstly be designing your page layouts for screens that are 800x600. The widest any images should be on your page is 750 pixels wide. The default osCommerce design already stretches to 100% of your screen's size, so it fits at 800x600, 1024x768, etc. You should not use any type of "width=" or "width:" in your body tags in your stylesheet or your html pages. Change the widths in the table tags or use divs. table example (html page): <table width="800"> div example (stylesheet): div.stylename { width: 800px;} I encourage you to learn more about CSS and HTML before you edit the default osCommerce design. If you'd like some links to tutorials I'd be happy to post them.
Digerdoo Posted April 10, 2005 Author Posted April 10, 2005 You should firstly be designing your page layouts for screens that are 800x600. The widest any images should be on your page is 750 pixels wide. The default osCommerce design already stretches to 100% of your screen's size, so it fits at 800x600, 1024x768, etc. You should not use any type of "width=" or "width:" in your body tags in your stylesheet or your html pages. Change the widths in the table tags or use divs. table example (html page): <table width="800"> div example (stylesheet): div.stylename { width: 800px;} I encourage you to learn more about CSS and HTML before you edit the default osCommerce design. If you'd like some links to tutorials I'd be happy to post them. <{POST_SNAPBACK}> -------------------------------> I sended you a personal message please read it and visit my website so you see and then you can solve my problem..
Recommended Posts
Archived
This topic is now archived and is closed to further replies.