This is a discussion on "div "covering" other areas in FF" within the Web Page Design section. This forum, and the thread "div "covering" other areas in FF are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
div "covering" other areas in FF
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
div "covering" other areas in FF
I'm having problems with a div that I move using position:relative. For some reason it "blocks" areas straight over it on the page, diabling mouseover there, and making buttons unclickable. The problems only appear vertically aligned to the div in question.
http://www.virtualfeed.com/index.php The div in question is the "Hjälp pussa..."-comment box. It's tagged #kommentar. Here is the css-file: http://www.virtualfeed.com/mall.css Rembember, only in FF. IE is fine. Any help greatly appreciated. Thanks! |
|
|
|
#2
|
|||
|
|||
|
Re: div "covering" other areas in FF
Did you try adding clear: both;
to the div
|
|
#3
|
|||
|
|||
|
Re: div "covering" other areas in FF
That worked wonderfully, thanks!
Do you know why it was needed? |
|
#4
|
|||
|
|||
|
Re: div "covering" other areas in FF
I actually do know why it worked. Shocking!
Your div above is floated. The clear prevents the div below it from wrapping around the div above. The cleared element drops below the bottom of the floated element. Since that element above is floated left, you probably could have used clear: left; (clear left prevents a following element from wrapping around a left floated element.)(Clear right prevents an element from wrapping around a right floated element) But in my limited experience, I don't take a chance, I just clear both! Glad it worked! |
|
#5
|
||||
|
||||
|
Re: div "covering" other areas in FF
Haha, left and right for clears are very useful once in a while, but I usually do a clear: both; even if I'm only clearing one side.
|
|
#6
|
|||
|
|||
|
Re: div "covering" other areas in FF
Ok, I understand. Thanks for all help and explanation!
|
![]() |
| Tags |
| css, div, firefox |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Creating a "tag" system to find relevant "related" pages | MrQuestions | PHP Forum | 3 | Mar 20th, 2008 23:06 |
| [SOLVED] Show "Image" Depends On User "Status"? | Monie | Classic ASP | 6 | Oct 16th, 2007 01:22 |
| ? IS "meta name="robots" content="?" necessary in pages ? | Love2Java | Starting Out | 6 | Aug 8th, 2007 13:48 |
| window.opener.document["nameForm"].getElementById("someid").value; doesnt work | drpompeii | JavaScript Forum | 0 | Feb 17th, 2007 23:09 |
| Need to build a "Trip" or "Journey Planner" | jswebdev | PHP Forum | 4 | Dec 5th, 2005 23:22 |