Jump to content

Recommended Posts

Posted

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.

Posted

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

Posted

If it is a header be sure to encase the image tag in Header tags. The H tags are one of the most important Nav tools for blind users. Be sure to have the required alt attribute as well.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...