Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sizing graphic for the web

Status
Not open for further replies.

bch33

Technical User
Oct 13, 2001
151
US
Using PhotoShop, what is the best size to make a graphic that is to extend across the entire top of a webpage, (I want it about 100 pixels high but not sure width -wise how long to make it so that it fits the full length no matter what resolution its viewed in on the web.)

Thanks
bch
 
uh... you might want to know something.

the size of the image in photoshop is anything you want but is a fixed value. That means that you make it any size you want in Pixels.

on a web page you can size an image in (mainly) two ways :

1) standard pixel size

<img src=file.gif height=100 width=595>

2) using relative size in percentage of available space

<img src=file.gif height=100 width=100%>

HOWEVER, all browsers will strech the image and this can lead to pixelization.

I hope this helps. Gary Haran
 
Thanks, Gary
yeah, I usually do all my tables etc. on the web in pixels (absolute) I try to avoid percentage.
I just wasn't sure about the width for the graphic to wrap the entire top of the web page
(595-600 width sounds good)
So basically I'll just make sure my table sizes on the rest of the page match that graphic width, so that when viewed in different resolutions it'll all be uniform.

Thanks much
bch
 
Great Stuff--just what I need
Looks like a must read
Thanks so much
bch
 
What I have done in the past and have seen others do is to make an image width=1275 and height whatever you need. So its fits all resolutions etc Quite a number of sites do it this way.




É

endamcg-logo1b.gif

 
That makes sense Cian,
thanks for your help
bch
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top