Not signed in (Sign In)

SkillShare - A place to discuss Web Standards and Web Design topics

Categories

Vanilla 1.1.9 is a product of Lussumo. More Information: Documentation, Community Support.

  1.  permalink
    Hi All! First time in a long time I've been unsuccessful in troubleshooting an issue but after 4 hours of banging my head I realize I'm just not going to see (although I'll probably feel silly when I find out what it is).

    I'm using the following CSS/XHTML
    /* List Classes */
    fieldset ol {padding: 1em 1em 0 1em; list-style: none;}
    fieldset li {float: left; clear: right; padding-bottom: 1em;}

    /* Form Classes */
    form {font-size: 100%; font: 500 1.2em "helvetica", verdana, sans-serif; text-align: left;}
    form.quote {margin: 0 auto; padding: 0 2em;}

    /* Fieldset */
    fieldset {position: relative; margin: 0 0 1.5em 0; border: 1px solid #bfbab0;}
    fieldset.hidden {display: none;}
    fieldset.submit {margin-left: 1em; border-style: none;}
    legend {position: relative; margin-left: -7px; padding: 0; color: #081a34; font: 600 1.4em "helvetica", verdana, sans-serif;}

    /* Input */
    label {display: block; width: 20em; color: #081a34; font: 600 1em "helvetica", verdana, sans-serif;}
    input,select,textarea {width: 20em; margin-right: 5em; padding: .25em 0; background: #fff; border: 1px solid #081a34;}
    select {width: 20.2em; padding: .15em 0;}
    textarea {width: 20.5em; height: 10em;}
    input.submit {width: 5em; padding: .5em;}

    XHMTL is laid out as follows:
    <fieldset><input type="hidden" name="phpMyAdmin" value="4594f30712f4fabaff6997416810f3f2" />
    <legend>About You</legend>
    <ol>
    <li><label for="name">Your Name</label><input type="text" name="name" id="name" /></li>
    <li><label for="name">Your Name</label><input type="text" name="name" id="name" /></li>
    <li><label for="name">Your Name</label><input type="text" name="name" id="name" /></li>
    <li><label for="name">Your Name</label><input type="text" name="name" id="name" /></li>
    <li><label for="name">Your Name</label><input type="text" name="name" id="name" /></li>
    <li><label for="name">Your Name</label><input type="text" name="name" id="name" /></li>
    <li><label for="name">Your Name</label><input type="text" name="name" id="name" /></li>
    <li><label for="name">Your Name</label><input type="text" name="name" id="name" /></li>
    </ol>
    </fieldset>

    In FF, this displays 2 input fields per row within the design. In IE, the input fields break through the design/containers into one long horizontal line. I'm assuming I'm missing the application of either a float somewhere on a container or possibly adding a height/width but for the life of me cannot see where it should be.

    Thank you!
  2.  permalink
    Doesn't this depend on your screen size? I don't see anything that would make the inputs group into 2 fields per row, unless you'd group them inside OLs each having two li elements inside them, and then adding clear:left; to fieldset ol.
    • CommentAuthorParthiban
    • CommentTimeOct 13th 2008
     permalink
    @ sixsixmedia

    I stand to the Kari.patila answer, but with some alter in his reply.

    1. In FF, you can see 2 input fields per row because of your screen size if you change your Display property settings of your system into 1028 * 1024 then the FF browser will display 3 input fields in a row.

    2. You should add clear:left to the following properties in your given CSS.

    fieldset li {float: left; clear: right; padding-bottom: 1em; clear:left} //Added clear:left

    This will fix in both IE as well as FF browsers.
  3.  permalink
    Hello and thank you for your responses. Unfortunately I believe I've done a poor job of explaining the issue. Everything works perfectly in FF but not in IE (surprise). I'm not certain if this is allowed, but here is a link to a side by side screen shot of the two where you can see the problem in IE.

    http://www.sixsixmedia.com/ievff.jpg

    Thank you for your help!
  4.  permalink
    You are allowed to add a link to help solve a problem.

    I am sure that if you post one to the page in question it will improve your chances of finding a solution.
  5.  permalink
    kari.patila is right, it has to do with screen size. try adjusting your padding and margin.

    just by playing with your margins/padding I was able to get multiple varying #'s of columns to display in IE when only 1 was being displayed before...so this should work for you.

    --
    matti
    • CommentAuthorchestah
    • CommentTimeOct 16th 2008
     permalink

    fieldset li { float: left; clear: right; padding-bottom: 1em }

    • CommentAuthorpaul
    • CommentTimeOct 21st 2008
     permalink
    hmm! Agree with chestah.
    but the only think you have to take care about the padding and margin.

    Paul
Add your comments
    Username Password
  • Format comments as (Help)