
February 14th, 2013, 01:25 PM
|
|
Registered User
|
|
Join Date: Feb 2013
Posts: 26
Time spent in forums: 6 h 15 m
Reputation Power: 0
|
|
Quote: | Originally Posted by tradeweb Because I AM the user! |
So you want to fool yourself because you are you?
I was just interested in what the conditions/goals were that led you to this solution, seems like it may have been interesting for us to read...
aeternus' suggestion will give the footer the same styles as the main class, but will not hide the div as you desire.
To do that:
css Code:
Original
- css Code |
|
|
|
The reason for this is that visibility: hidden;, as I believe you're using now, hides the element but still loads it in the document: ergo it still takes up space. On the other hand, display: none; does not load the element in the document, so not only is it hidden but any space it may have occupied is also negated.
- Null
|