Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Header image

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #30847
    Hardballa
    Member

    Hi everyone, I’m trying to create my design from photoshop to html/css. I have a header image that takes up the full width of my design page that has a total of 963px. The header image dimension is therefore 963px by 331px in height. The image is a custom design and cannot be repeated with a sliced image but rather appear as is. I’d like for the image to show in the full width of any browser without being bound to its 963px width causing it to show up in the top center of the page if the screen resolution doesn’t fit my design’s. I also do not wish to see any stretching effect. I use the following code:

    #header {
    margin-top:-12px;
    display:block;
    width:100%;
    height:331px;
    background:url(../images/top_background.gif) no-repeat center top;
    }

    #71699
    Saket
    Member

    will you post the link of that page please?

    #71707
    Hardballa
    Member

    I have found the answer to my question. Need to redo my background image though.

    http://www.webdesignerwall.com/tutorials/how-to-css-large-background/

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.