Brian M. Curran wrote:
> Hello All,
> I'm dealing with my footer right now for my site www brianmcurran com. I've 
> tinkered with my settings since my last post, and they now are:
>
> #footer {
>  clear: both;
>  margin: 0;  padding: 0;
>  height: 1%;
>  background: #222;
>  color: #fff;
>  }
>
> #footer p {
>  margin: 0;  padding: 10px 0 10px  10px;
>  }
>
> Everything looks nice now, but question: Do I want to be using height:1%; ?
> 1. I thought it was a necessary hack for IE6, but I couldn't get any clarity 
> on the hack from a Google search.
>   



Umm, yes except, as previously mentioned, the nav walks out of the 
header with font-scaling.
(hold the ctrl key down and press the + key 3 times).



> 2. Can't I just leave it out and let the #footer height be defined by the 
> contents?
>   




Yes, leave it out for IE/7 and compliant browsers. However, it is a has 
layout trigger that is needed by IE/6.0. So re-write it like this:

#footer {
 clear: both;
 margin: 0;  padding: 0;
 height: 1%;<----- :: delete
 background: #222;
 color: #fff;
 }
And add this the star html hack that only is seen by IE/6.
* html #footer {
 height: 1%;
 }

Reference:
<http://www.satzansatz.de/cssd/onhavinglayout.html>



> Sincerely,
> Brian
>
>   

~d

-- 
http://chelseacreekstudio.com/






















______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to