Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

100% Banner Width


Guest

Recommended Posts

Hey guys, I need to 100% width the top bannner. I was looking in the header file, found "logo.jpg" and couldnt figure out how to make the banner width 100%

 

 

Thankyou, Help is much appreciated!

 

- Kev

Link to comment
Share on other sites

Hey guys, I need to 100% width the top bannner. I was looking in the header file, found "logo.jpg" and couldnt figure out how to make the banner width 100%

Thankyou, Help is much appreciated!

 

- Kev

 

hope this doesn't sound impertinent ... but why do you want to stretch an image ? ... if you designed around an 800 pixel wide screen (which is about standard design wise) then the image is going to look a little distressed at 1024 .. and will look totally distorted at 1200 and above.

there are a few javascripts that will resize the image to fit (usually in both the x and y axis) ... but again there are limits to how far an image can be resized before it loses its definition.

 

normally the maximum i would make a banner would be around 760pixel/780pixels and use a 100% table or div to place the banner in, making sure the background of the cell or div blended with the image

 

jk

Link to comment
Share on other sites

Hey, Im not trying to sound like a jerk, BUt as far as web design, I know what I'm doing. I just need some help with this being that I'm not to famaliar with PHP yet. I just need the code if someone knows it please.

Link to comment
Share on other sites

Hey, Im not trying to sound like a jerk, BUt as far as web design, I know what I'm doing. I just need some help with this being that I'm not to famaliar with PHP yet. I just need the code if someone knows it please.

 

 

and I wasn't suggesting you were one either. :)

 

some come here and know what they are doing ... some don't.

 

I'll hunt out a javascript that will do the job for you .. and post back here when I find it. Its 2.30am here, so it may not be this evening .. I'll post it in the morning unless someone else gets back to you in the meantime

 

JK

 

unless I am interpreting your request wrongly .. which my tired brain has just considered ... it is an image you want to resize ?

Link to comment
Share on other sites

Thank-You very much, I appreciate it.

 

I want the image to be set to 100% width. It's almost the right size, but I want it to adjust. It looks find, I checked a 17" and a 32" monitor. Both work fine with 100%

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...