On 27/10/05, Luca Tebaldi <[EMAIL PROTECTED]> wrote:
> Hi at all
> i have a little proble in ie whit this layout
> http://utenti.unife.it/luca.tebaldi/prove/test/
>
> in the top have a margin between a float div and a centra div... why??
> thank's a lot
>   Luca
>
> PS i hate IE!!!


Ciao Luca,

Two things:

1. add a DOCTYPE to the very top of your HTML document, like this:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>

2. use absolute positioning for the edge graphics rather than floats:

#portal-top
{
    position: relative;
    height: 115px;
}

#angolo-alto-sx
{
        background: 
url(http://utenti.unife.it/luca.tebaldi/prove/test/style/portal-top-left3.JPG)
top no-repeat;
        width: 18px;
        height: 105px;
        position: absolute;
        left: 0;
        top:0;
}

#angolo-alto-dx
{
        background: 
url(http://utenti.unife.it/luca.tebaldi/prove/test/style/portal-top-right3.JPG)
top no-repeat;
        width: 18px;
        height: 105px;
        position: absolute;
        right: 0;
        top:0;
}

#centro-alto
{
        background: 
url(http://utenti.unife.it/luca.tebaldi/prove/test/style/portal-top-center3.JPG)
top repeat-x;
        height: 115px;
}

Buona fortuna!
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to