SitePoint Sponsor |
|
User Tag List
Results 1 to 2 of 2
Thread: Width 100% is not working
-
Jan 3, 2005, 20:19 #1
- 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
-
Jan 4, 2005, 02:55 #2
- 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