SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Jan 2005
    Location
    guntur
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Width 100% is not working

    Hi all,

    I desinged a big graphic (60X200Pixels) in photoshop and another small graphic (1 pixel width and 60 pixels height) for the background for the div tag in which i will place my big graphic.

    I am using dreamweaver 2004 and when i created a id with #banner and gave width as 100%. background the small image and repeated it in x direction. I appliled this id to a div around the big graphic that i have already placed.

    but when i applied this div tag, the layer or div tag is leaving some space at the right of the browser before scrollbar. i am not able to find out what was the problem. how can i make this layer or div tag with a neat background will go upto the edge of the browser?

    Please help me.

    With Regards,
    Vanga Sasidhar

  2. #2
    SitePoint Zealot
    Join Date
    Dec 2004
    Location
    Finland
    Posts
    103
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sounds like margin/padding of the page. Try

    html, body {margin:0; padding:0}

    If that doesn't help then send URL so we can have a look.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •