Forum Moderators: not2easy

Message Too Old, No Replies

How to show 2 DIV adjacent to each other ?

         

jawaidgadiwala

8:31 am on Feb 23, 2010 (gmt 0)

10+ Year Member



Hey guys i am trying to create a site with this sort of layout <snip> . Now i have two div left and right adjacent to each other and there is a separator line. I tried to do some thing with setting "left" to float:left; and setting its width to 50% and right to float:right; with width:40% but now the problem is that in firefox it is looking cool but in IE6 what i am getting is that "left " div is floated left with some content in it and "right" div is floated right but not adjacent to "left" div but below the left div... Let me know how can i resolve this issue. Moreover also please tell me that how can i draw a separator line between two div "left" and "right"... thanks...

[edited by: bill at 8:59 am (utc) on Feb 23, 2010]
[edit reason] No links to examples please [/edit]

tangor

8:39 am on Feb 23, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



We need to see the css, stripped down to just the elements, to give you an answer. Off the top of my head is check all your margins and padding.

jawaidgadiwala

9:17 am on Feb 23, 2010 (gmt 0)

10+ Year Member



issue resolved...