Works great, thanks. Any chance you have time for a quick explanation. thanks
Main Topics
Browse All TopicsHere is my page;
http://clientlink.aiwmedia
The problem i have is that in IE the content doesn't sit inside the lighter colored content container. How can i fix this. Also the title doesn't appear in IE either.
If you view this page in Firefox it renders correctly.
Thanks
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
The 'wise' people at Microsoft included a property called 'hasLayout' in IE and this is the cause of many rendering problems, such as disappearing text/backgrounds and elements appearing in seemingly inexplicable positions. There are certain properties and values that will return 'hasLayout' as true (see the link) and one of those is 'display:inline-block'. '* html' will target IE and give an element the necessary dimensions so that IE doesn't start crying like a baby. So, by doing this :
* html #contenr {
display:inline-block;
}
...we can make IE start acting like a real browser (kind of).
A great article all about 'hasLayout' -> http://www.satzansatz.de/c
Martin,
I'm not sure what other kinds of hacks you're looking for... If we're still talking about 'hasLayout', you can do this to fix the problem with no side-effects :
<!--[if IE 6]>
<style type="text/css">#content {zoom:1;}</style>
<![endif]-->
'zoom' is IE proprietary and doesn't really do anything besides give the element 'hasLayout'. As it's non-standard, it might be best to hide it in IE conditional comments like in the example here - that way it'll pass the W3C validation.
I had thought that you could force 'hasLayout' on everything in this way to make IE behave, but then I found I had problems and I was pointed to the link I posted above which explains that sometimes having 'hasLayout' makes elements - such as lists - behave in strange ways. You have to be careful about what does and what doesn't have 'hasLayout'.
If there are any particular hacks you're looking for, for any particular purpose, let me know, because I might just know where to find them.
Hmm, I'd say I would rather just have a long discussion to pick your brain on what you know about hasLayout. I've had my share of misery and so far have been getting around by trial and error, throwing in mixes of hacks to get IE to behave. If you have enough knowledge on the subject to predict the effects of elements when adding, or removing hasLayout you're clearly way ahead of me on the subject :)
Just thought I'd come back and add something for Martin...
Not sure if you're aware of when you know you'll need to force hasLayout, but here's one very common situation :
You have 3 columns - one is floated left, another is floated right and the width of the third is set with left and right margins to avoid the floats. In this situation you need to force hasLayout.
I hope this helps.
Business Accounts
Answer for Membership
by: BonRougePosted on 2005-08-29 at 18:23:39ID: 14780774
* html #content {
display:inline-block;
}