SitePoint Sponsor |
|
User Tag List
Results 1 to 3 of 3
Thread: Div width in IE
-
Dec 27, 2002, 10:19 #1
Div width in IE
http://www.passionsm.com/new/contact/index.html
In Opera, the labels "Address", "Telephone" and so forth are aligned to the right, as planned, but in IE this is not so.
The reason is that the width of the div (class "qns") is collapsed to the width of the text in IE, instead of being 80px wide as defined in CSS.
How can i fix this?
Thanks.Last edited by boredboi; Dec 27, 2002 at 12:23.
-
Dec 27, 2002, 18:08 #2
- Join Date
- Oct 2002
- Location
- Cincinnati, Ohio, USA
- Posts
- 390
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
You didn't specify the units. You have "width: 80;". It should be "width: 80px;".
-
Dec 28, 2002, 00:50 #3
Oh i can't believe i made such a silly mistake. Thanks!
Bookmarks