943,645 Members | Top Members by Rank

Ad:
Sep 8th, 2009
0

Float Drop - floated elements drop below their expected position

Expand Post »
Hello!

I'm having trouble with the CSS of this liquid (flixible ) layout. The problem occurs only in IE7.
Whenever I decrease the size of the browser the #eventsListing (6 images) drops under #content (text/copy).
I tried all kinds of hacks and freestyle solutions but nothing have worked so far.
Let me know if you think of something that might solve it.

Thank you in advance!

Happy coding.


[code]
/*CONTENT AREA*/

a {overflow:hidden;}
.clearLeft {clear:both;}

#contentArea {color:#000; font-family:Arial, Helvetica, sans-serif; max-width:100%; min-width:665px; padding-top:0px;}

#content {width:30%; float:left;}
#content h1 {padding:14px 13px 2px;}
#content p {padding:0 13px;}

#eventsListing {border-left: #a6aaad; float:left; width:450px;}

* html #eventsListing {width:450px;}
* html #content {width:30%; float:left;}
#eventsListing ul {margin:3px; padding:5px; list-style:none !important;}
#eventsListing li {float:left; padding:0;}
#eventsListing li h2 {margin:0px;}

#eventsListing .sector1 {}
#eventsListing .sector1 a {background:url(/image.jpg) no-repeat; text-indent:-9999px;}
#eventsListing .sector1 a:hover {background:url(/image.jpg) no-repeat;}
#eventsListing .sector1 a:active {background:url(/image.jpg) no-repeat;}
#eventsListing li a {display:block; width:200px; height:88px;}

#eventsListing .sector2 {}
#eventsListing .sector2 a {background:url(/image.jpg) no-repeat; text-indent:-9999px;}
#eventsListing .sector2 a:hover {background:url(/image.jpg) no-repeat;}
#eventsListing .sector2 a:active {background:url(/image.jpg) no-repeat;}
#eventsListing li a {display:block; width:200px; height:88px;}

#eventsListing .sector3 {}
#eventsListing .sector3 a {background:url(/image.jpg) no-repeat; text-indent:-9999px;}
#eventsListing .sector3 a:hover {background:url(/image.jpg) no-repeat;}
#eventsListing .sector3 a:active {background:url(/image.jpg) no-repeat;}
#eventsListing li a {display:block; width:200px; height:88px;}

#eventsListing .sector4 {}
#eventsListing .sector4 a {background:url(/image.jpg) no-repeat; text-indent:-9999px;}
#eventsListing .sector4 a:hover {background:url(/image.jpg) no-repeat;}
#eventsListing .sector4 a:active {background:url(/image.jpg) no-repeat;}
#eventsListing li a {display:block; width:200px; height:88px;}


#eventsListing .sector5 {}
#eventsListing .sector5 a {background:url(/image.jpg) no-repeat; text-indent:-9999px;}
#eventsListing .sector5 a:hover {background:url(/image.jpg) no-repeat;}
#eventsListing .sector5 a:active {background:url(/image.jpg) no-repeat;}
#eventsListing li a {display:block; width:200px; height:88px;}

#eventsListing .sector6 {}
#eventsListing .sector6 a {background:url(/image.jpg) no-repeat; text-indent:-9999px;}
#eventsListing .sector6 a:hover {background:url(/image.jpg) no-repeat;}
#eventsListing .sector6 a:active {background:url(/image.jpg) no-repeat;}
#eventsListing li a {display:block; width:200px; height:88px;}
[/icode]
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
geryzone is offline Offline
1 posts
since Aug 2008
Sep 9th, 2009
0

Re: Float Drop - floated elements drop below their expected position

Pleas post your HTML codes.
Reputation Points: 120
Solved Threads: 133
Practically a Master Poster
Zero13 is offline Offline
620 posts
since Jan 2009
Sep 9th, 2009
0

Re: Float Drop - floated elements drop below their expected position

Click to Expand / Collapse  Quote originally posted by geryzone ...
Hello!

I'm having trouble with the CSS of this liquid (flixible ) layout. The problem occurs only in IE7.
Whenever I decrease the size of the browser the #eventsListing (6 images) drops under #content (text/copy).
That's exactly what the content should do when there isn't enough space to fit, so what is your problem exactly. Can we see the page?
Reputation Points: 120
Solved Threads: 61
Posting Pro
Troy III is offline Offline
505 posts
since Jun 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in HTML and CSS Forum Timeline: IE8 Render Bug
Next Thread in HTML and CSS Forum Timeline: a very basic question...





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC