|
| |
|
|
GolfMad
Posts: 190 Joined: 3/20/2002 From: UK Status: offline
|
Overlapping divs and alternative to height value - 11/8/2008 4:19:53
http://www.sitesoon.co.uk/steel2/index.php Could someone please explain an alternative to having to specify a height value in a surrounding div to stop FF3 covering it up with the div below. Specifying the height means that the text enlarged would break the page, or even if you wanted more text added later you would have to remember to increase the height size. In this site under development, IE7 renders both content boxes <div class="centerbox">
one under the other but FF3 covers up the top box unless I give a height value of 230px to the wrapping div <div class="contact230">
I have removed the height value from that div to show the problem because I really want to understand the principle behind a proper fix for it - if someone is kind enough to explain of course. Thanks
|
|
|
|
GolfMad
Posts: 190 Joined: 3/20/2002 From: UK Status: offline
|
RE: Overlapping divs and alternative to height value - 11/9/2008 13:35:14
Thanks Tailslide. I have done this; it appears to have worked in FF3 in respect of forcing the lower box down but it has moved the content to underneath the top box controlled by: <div class="centerbox">
<div class="out wide600">
<div class="in ltin tpin">
<div class="contact230">
|
|
|
|
GolfMad
Posts: 190 Joined: 3/20/2002 From: UK Status: offline
|
RE: Overlapping divs and alternative to height value - 11/9/2008 14:40:33
Thanks again Tailslide, yes it worked. Sorry about all the divs, the dropshadow classes are from some example I picked up on the web and then I have added a 3 div content area in it and surrounded that with a div which seemed to hold it in structure as I was floating those divs. One thing I am confused about though, if you could explain please, is why if we tell the div to hide the conent it does the reverse and actually shows it? - It would seem logical to be adding overflow: visible
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|