[UPHPU] CSS and IE

Brandon Stout hplsbyufan at imapmail.org
Mon Jun 5 13:56:01 MDT 2006


Wade Preston Shearer wrote:
>> Any suggestions on how I can make it look the same in IE without using
>> proprietary attributes or non-compliant xhtml strict/CSS code?
>
> I don't have time to dig through your code and don't have a copy of
> MSIE to bring it up on… can you tell us what isn't working
> specifically so we don't have to hunt?
Good point Wade.  This should center the page, give it a specific width,
and position a java-scripted background-image:

body {
    background-position : 50% 95%;
    background-repeat : no-repeat;
    margin-left : auto;
    margin-right : auto;
    max-width : 740px;
  }

However, the outline, obviously inside the <body> tag, get's
left-aligned.  I tried putting <ul style="margin-left : auto;
margin-right : auto"> on the outline, but outline remains left-aligned
in IE.  I use this to make room for the background image below the
outline (instead of through it since it's a background image):

 <ul style="margin-bottom : 500px;">

However, IE does not seem to measure 500px the same as the other
browsers, and the images overlap with the outline.

Thank you,

Brandon Stout
http://mscis.org


More information about the UPHPU mailing list