PDA

View Full Version : Changing image header with Resolution of monitor



toplisek
01-25-2006, 02:56 PM
I have problem, that when user has different resolution on monitor, it will not fit the window.

E.g.:
width="973" height="143" for header it will work on 1024x768
for 800 x 600it is too big and for
1152 x 864 it is too low

Is there some software which works automatic with changing image width with resolution?

sleipner
01-26-2006, 02:51 PM
first: you got the resolutions backwards, 800*600 is lower, and 1024*768 (you said 1152 x 864, I've never gone any higher than 1024, mostly cuz its too high for me on a 17 inch monitor, you must be lucky and have like a 30 inch or something...), and higher resolutions are better (better image quality, things arent as pixelated) - up to a point (as I said before)

second: you dont need some special software like the 500 dollar Adobe Photoshop (which is great, by the way). your solution is in the HTML size attribute, just use a percentage instead of absolute pixels - just set your width to 100%, and as long as the distortion isnt too bad, you can probly leave the height as an absolute number of pixels

toplisek
01-26-2006, 03:21 PM
Thanks, I wil do.