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.

    • CommentAuthormariachi77
    • CommentTimeDec 11th 2005
     permalink
    I've completed a website recently for a Taiwanese artist and writer, Nana Chen. No major issues with the site, however selecting text in IE is very strange. When trying to select text in IE 6, it seems to select either all or nothing. Firefox has no problems. Here's an example of where this happens:

    http://www.nanachen.com/writing/cuckoo/

    Does anyone know why? HTML and CSS both validate.

    Any insight would be appreciated.

    Cheers,

    Mike
    •  
      CommentAuthornifkin
    • CommentTimeDec 11th 2005 edited
     permalink
    If memory serves (and there's plenty fo times it doesn't), if you put any sort of code before the doctype (even just <!-- -->) that will knock IE into quirks mode and the text should become selectable like normal. But I think I remember that making the box model interpretation go wonky so the sizing of stuff will be off (but only in IE).
    • CommentAuthoradmin
    • CommentTimeDec 11th 2005
     permalink
    Yep something to do with the doctype...

    Did a search on google and found this...

    http://lists.evolt.org/archive/Week-of-Mon-20020902/121759.html
    • CommentAuthormariachi77
    • CommentTimeDec 11th 2005
     permalink
    Hmm.... right, but I definitely don't want to lapse back into Quirks mode since I've been testing for standards compliance.

    I guess that's just another weird IE bug hopefully set for correction in IE 7. The thing is that AListApart doesn't have this issue and they're operating in Standards Mode.
    • CommentAuthorffreak
    • CommentTimeDec 11th 2005
     permalink
    After little play with a code it seems that the source of problem is (I know it's weird..) 'base' tag.
    Try to erase this line:
    <base href="http://www.nanachen.com/">
    or (another solution that seems to work) try this (to add closing tag):
    <base href="http://www.nanachen.com/"></base>

    both worked for me (at your site).
    • CommentAuthorMouldy
    • CommentTimeDec 11th 2005
     permalink
    Great forum, Alex!

    Mike, I just read this thread and realised I had the same problem with my examples for this Text Effects article. I put the <?xml version="1.0" encoding="iso-8859-1"?> as the first line as Peter-Paul Koch suggested and it validates to XHTML 1.1 no problem (and works).
    • CommentAuthorffreak
    • CommentTimeDec 11th 2005
     permalink
    It will be valid, but xml declaration will also trigger IE in to "quirks mode".
    • CommentAuthormariachi77
    • CommentTimeDec 13th 2005
     permalink
    ffreak! thanks a lot! I don't know if that behaviour is due to the unclosed <base> tag or if it's a browser quirk or both -- anyway, thanks again!
Add your comments
    Username Password
  • Format comments as (Help)