| | |
Float Drop - floated elements drop below their expected position
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Aug 2008
Posts: 1
Reputation:
Solved Threads: 0
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]
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
- More than one Html page. (HTML and CSS)
- Extra Space at top of Div (HTML and CSS)
- My page won't load on Macs (HTML and CSS)
- Drop down Issue (HTML and CSS)
- PHP / CSS incompatibility? (PHP)
- LogicWeb Review (Website Reviews)
- LogicWeb / CSS Question (HTML and CSS)
Other Threads in the HTML and CSS Forum
- Previous Thread: IE8 Render Bug
- Next Thread: a very basic question...
| Thread Tools | Search this Thread |
@param acid2 ajax ant antivirus apple archive avg background beta box browser bug bugs code codebox crash css daniweb design developer doctype dreamweaver explorer firefox format funny glitch google gridview hover html ide ie7 ie8 internet internetexplorer internetexplorer8 iphone ipod javadoc jquery layout microsoft mosaic navigationbars news opacity operatingsystem os parameter phishing photoshop poll positioning post preview problem retweet search security site studio texas twitter ui usenet visual web website windows xhtml xp






