> Jackie Reid wrote:
> Firstly the site centers just fine in ie but is aligned left in
firefox
> why is this so?
> Secondly and more confusing, I have the site contained in a wrapper
> but in firefox the wrapper doesnt wrap,�it doesnt seem to contain any
> of the elements that I have put in there.
> site: http://www.mockorange.com.au/mocksites/test/jugernaut/index.html
> css:
http://www.mockorange.com.au/mocksites/test/jugernaut/css/juganaut.css
It is centering here ok on Firefox and Mozilla
The wrapper needs to be cleared to accommodate floats, IE does this, but
it is wrong.
Create a clearing class, font-size and line-height are added so it will
not take up any space
.clear {
clear:both;
font-size:0;
line-height:0;
}
Add it to a html element such as
<hr class="clear" /> or <br class="clear" />
Put this in just before the wrapper ends
Hope this helps
Jason Turnbull
*****************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
*****************************************************