I am creating a web site using dreamweaver and have an idea of what i want to do. Kinda learning as i go.
I want to create an image that will fit across the screen..i am using photoshop for this. What size should i set the width of my picture? I know in the code i can set the picture to fit the window 100% but dont want it to look stretched just place it at the correct size.
It all depends on the end user's screen resolution, a some are still on 600x800, most are on 1024x768 and others at higher resolutions. Perhaps a bit more information about what you're actually doing with the site, rather than an oblique mention of 'an image'...
-------------------- TFC 'Going to trial with a lawyer who considers your whole life-style a Crime in Progress is not a happy prospect.' - Hunter S Thompson (1937-2005)
I am basically teaching myself web design and my boss has asked me to do a company web site. If my site is good then we will use it as our company site.
Need to what screen res is best to set my site for?
I need the site to be viewed easy for all who use the net.
So if i set my picture to 1024 pixels in width then set the code to show my pic at 100% width then that should work for those with smaller screen res?
I normally do all my sites for about 800px wide. Yes in a higher resolution there will be gaps at both sides(left and right), but until I know that 100% of web users have a screen resolution of 1024 pixels then i will continue to use 800pixels in width.
The only time I set the width to 100% is if the header is simply a logo with some text around it. Setting an image to 100% can stretch it, especially if its a photograph for example.
As you are using an image which is one colour, setting the image to 100% seems a valid idea.