The #rightsidebar id in the index page in http://www.nyhungry.com is not aligning well with container4 div. Some how when i move the #rightsiderbar it would move together with the container4 div.
Hi, “#rightsidebar” is falling to the double float margin bug. You set a left margin and a left float on it. So the margin is doubled :). Set display:inline; on it to fix it.
“#wrapper” also has that bug
As Ray says in the other thread you need a restructure…you have absolute/floated/inline-blcoked elements…
Ryan I have follow your advice and it is a little bit better now.
Now, IE6 is displaying the #citycontainer id to left of the screen. Now I can just simply add some -em to the left marging and it will comeback to position.
But my question is why is the #container outside the box? I don’t find any marmgins taking it outside the box so why is it outside the box. I would like an explanation thank you.
Ok sometimes I have seen that when you don’t set certain properties then it will not reset the way you want then as you said the browsers will do it’s own.
I have removed the 50.8 left margin on #cityconatiner and it put in in place and gave a left value of 50.8. I have also rearranged the left of #rightsidebar to 50em but #rightsider seems not to be affected by it. Will I have to use margin-left? I am afraid it will move #citycontainer div as well to the left.
Generally, as a rule of thumb, all absolute positioned elements should have coordinates, unless what you need to do requires no coordinates set. Otherwise hte browser gets their way with it :).
I have a question in IE7 the mouse won’t change it’s state from an error to a hand when hovering over #sidebar div. It seem like it is not picking up the link or if something is above and avoiding the mouse to really hover over the sidebar.
in others words the hand does not activate when hover over the #sidebar div, that only happens in IE7 and IE6.
You start out with a ul, then make a span a direct child (illegal), then open another ul… I think you only meant one ul, not two.
IE7 might be seeing the span as covering the whole inner ul, making the links unclickable.
One of those instances where IE7 is the only one right : )
Remove the span (whatever style it’s doing, move to the ul itself) and remove one of the ul tag sets. You only need one. An inline like a span can’t surround a block like a ul, even if you make it a block with CSS.