This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Stylesheets > December 2005 > Re: html and body size





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: html and body size
Toby Miller

2005-12-12, 10:32 pm

It does work in Firefox, but I've been unable to get it to work in
Safari. This is as far as I was able to get:

<style type="text/css">

html,
body {
height:100%;
}
body {
margin:0;
padding:0;
}
div#content {
height:100%;
min-height:100%;
background-color:pink;
}

</style>

Then put your content within:

<div id="content">Your content here</div>

If you come up with the Safari workaround I'd love to see it.

-tm

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews