Input box issue in IE6

Discussion in 'CSS' started by ProxyEffect, Nov 20, 2007.

  1. #1
    I have this template at http://yeshide.com/yeshide/ which looks fine in FF, however when viewed in IE6, the input box gets kind of cut off, which you can see from this screenshot :


    [​IMG]

    If some one could help me fix this problem I'd be grateful.

    Thanks :)
     
    ProxyEffect, Nov 20, 2007 IP
  2. ProxyEffect

    ProxyEffect Banned

    Messages:
    962
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Can anyone please help ? :(
     
    ProxyEffect, Nov 20, 2007 IP
  3. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Start by validating your HTML code and cleaning up the errors. Then check your stylesheet for errors as well. I do not suggest using list items to lay out your form, and also suggest that you remove the blank space and the XML encoding from above your DOCTYPE, which is forcing IE 6 into quirks mode.

    You should however, use lists to mark up your site menu rather than a DIV.
     
    Dan Schulz, Nov 20, 2007 IP
  4. Crimsonc

    Crimsonc Peon

    Messages:
    616
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #4
    you defined a width via css but not a max width via html, try this:

    <input type="text" name="textfield" maxlength="A NUMBER">

    IE reads that you want it to be a certain width in pixels and just repeats the css if you go over that, Firefox doesn't.
     
    Crimsonc, Nov 21, 2007 IP