Jake McMurchie wrote:
> Hello. I'm having a problem positioning a div using absolute positioning.
> It's fine in Firefox, Safari and IE7.
> http://www.gensurgeon.co.uk/bariatrics/
>
>
> Jake
>
>   


I don't think you need any of the absolute positioning, nor any hacks 
for Internet Explorer. Left to its own devices, the software will lay it 
out cross-browser:

Delete the entire IE conditional comment, and...

div#bmi {
    height: 500px; border: 1px solid red;float: left; /*add all*/;
    /*position: relative;delete*/
    width: 508px;
    }
div#bmiarrow {
    /*position: absolute;top: 0;left: 0; delete all*/
    width: 108px;
    height: 100px;
    }
div#bmiscale {
    /*position: absolute;top: 100px;left: 0; delete all*/
    width: 508px;
    height: 20px;
    }
   
div#bmivalue {
    /*position: absolute;top: 130px;left: 54px;delete all*/
    margin-left: 54px /*add*/;
    width: 454px;
    height: 30px;
    font-size: 1.4em;
    font-weight: bold;
    }
   
div#bmikey {
    /*position: absolute;top: 160px;left: 56px;delete all*/
    margin-left: 56px /*add*/;
    }
   


-- 

A thin red line and a salmon-color ampersand forthcoming.

http://chelseacreekstudio.com/

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
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