This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Stylesheets > November 2004 > Looooong div





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 Looooong div
news.individual.net

2004-11-21, 11:18 pm

Hello!

Why happen this in Firefox?:

http://www.puntodepartida.com/css.jpg (print preview)

This is the css code:

#contenedor {
width: 100%;
margin: 0;
height: auto;
}

#contenido {
position: absolute;
left: 0px;
top: 10px;
width: 90%;
background-color: #fff;
margin: 0;
padding: 20px;
height: auto;
}

Inside the html:

<div id="contenedor"><div id="contenido">Aquí va el texto</div></div>

In IE all is OK.

Thanks!
news.individual.net

2004-11-21, 11:18 pm

> Well, I'm not sure. However I'd point out that your "contenidor" doesn't
> really contain your "contenido" as you seem to think. Using position:
> absolute takes the div out of the main flow.


Thanks! I solved the problem :D
Sponsored Links


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