Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Contained div sliding to left in IE Only 1

Status
Not open for further replies.

HeistMonkey

Technical User
Dec 14, 2005
5
US
If anyone could help me out with this...I am *trying* to do all of my layouts in CSS now, but problems like this sometimes make me want to run back to tables :D

My layout looks good in FF on both Win and Mac, Safari, but one of my divs that is nested inside of another div is sliding out of its container in IE 6 Win.
Stooopid ie...


The style sheet is at:


Can someone help?
I'd really appreciate it! Thanks in advance...
 
erm it may not extacly be that container but you get the idea.
 
Thanks for the reply - unfortunately, it didn't work. I'm confused. I've been trying to learn about the IE hack stuff, but I'm having trouble...any other ideas?
Thanks again!
 
Ok well I retook a look at your page it seems like from ie isn't fully expanding one of your div's while firefox is. Causing it to look like its off center which I first thought may have been a div centering issue. Looks like it's the div labeled "leftTile" is displaying differntly cross browsers. I would do the div center thing I told you about, remove the title divs as they have no content in them. Another option would be to specify the dimensions like the hieght so the the browsers will all display the divs the same way.
Here is a pic of what I'm referring too.
 
Thanks so much for the screen shots. They were really helpful.
I had to leave the divs b/c I need those green stripes to tile and to stretch vertically with the content - since we have an unknown amount of content in some spots.

I started by doing a bad thing ( I put a little <hr/> in the left tile div). It fixed the problem of IE not expanding that div out to its full width. Your screenshots really helped me to see what was going on.

For now, it's kinda working - it's not perfect, but at least it's on its way.

Thanks again!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top