IE problem

Discussion in 'CSS' started by redhits, Jun 14, 2008.

  1. #1
    <style type="text/css">

    .window_vote {
    margin: 0 auto;
    text-align:center;
    background-color:#f9f9f9;
    height:100%;
    text-align:center;
    }

    .window_vote fieldset{
    margin: 0 auto;
    text-align:left;
    font-size:12px;
    color:#008CBB;
    background-color:#f9f9f9;
    border-color:white;
    color:green;
    font-family:Sans-Serif;

    }
    .window_vote label { display: block;background-color:#f9f9f9; color:red; text-align:left;}

    </style>



    Why this do not work in IE?
     
    redhits, Jun 14, 2008 IP
  2. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #2
    A> Define 'not work'

    B> CSS without the HTML is meaningless.

    C> since you aren't declaring a width on the fieldset, it shouldn't need the margin settings.... You are declaring text-align twice with the same value in .window_vote, and in general height:100% should be doing NOTHING - unless the parent element too has a fixed height and even then...

    In other words, we'd need more information to see what's ACTUALLY going on here.
     
    deathshadow, Jun 15, 2008 IP
  3. redhits

    redhits Notable Member

    Messages:
    3,023
    Likes Received:
    277
    Best Answers:
    0
    Trophy Points:
    255
    #3
    I already fixed the problem thanks anyway.
    the problem wasn't with the CSS...

    the problem was with that IE , if i load CSS via Ajax, then the new CSS won't load ... so i have to include it before loading new windows.

    This is not a problem in Firefox
     
    redhits, Jun 15, 2008 IP