Jump to content



Recommended Posts

I'm using Dreamweaver to design my site. I have an image that I'm using as my header. First, I can't get the entire image displayed. Second, when I view it on larger monitors, the image doesn't fill the entire header. Thanks for any help on this.

Link to comment
Share on other sites

We need to see your complete code, preferably an online page so that we can download it all, including the image.


However, some general info: An image has a fixed size in pixels and browser viewports can have varying sizes in pixels, so your image may be too large for some or too small for others.


A background-image cannot be made to stretch (you can only position it sy at the viewport center or repeat it), but a normal image can stretch to fit a viewport if you use % sizes:-


image description

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...