Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Oct 2006
    Posts
    34
    Thanks
    0
    Thanked 0 Times in 0 Posts

    IE 6 won't recognize spreadsheet

    What's up? Hoping I can get a little guidance on this issue. I've only been studying CSS for a week or two, so the answer may be obvious - anyway,the style element in the HTML looks like this: <style type="text/css" media="screen">@import url(floatliststyle2.css);</style>

    I have used this and every other possible variation available (linking, different media types,etc.) Firefox displays fine everytime but IE6 will never read the CSS. I think it must have something to do with encoding and the fact I'm using notepad - I read something about some notepad and encoding issue once. But it happened using Word also. And I declared the encoding on the stylesheet (utf-8) so I don't know why IE won't read it. Any help is appreciated.

  • #2
    New Coder
    Join Date
    Oct 2006
    Posts
    34
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Whoops, I said "spreadsheet"...brain was a little fried yesterday. Anyway, still stuck on this one...

  • #3
    New Coder
    Join Date
    Oct 2006
    Posts
    34
    Thanks
    0
    Thanked 0 Times in 0 Posts
    wow. I am a noob idiot. Just missing a bracket in the meta tag. Thanks to everybody for watching me make an *** of myself.

  • #4
    Senior Coder Arbitrator's Avatar
    Join Date
    Mar 2006
    Location
    Splendora, Texas, United States of America
    Posts
    3,274
    Thanks
    28
    Thanked 271 Times in 265 Posts
    The encoding issue you were referring to is the byte order mark (BOM) that Notepad inserts at the beginning of a UTF-8–encoded file. Inserting the BOM is correct behavior, though it is not required. However, some browsers will choke and ignore the CSS file when they encounter a BOM in a CSS document and unfortunately Notepad doesn’t offer a method of disabling BOM insertion.

    I first encountered this problem some time ago when a CSS file wouldn’t work and more recently when I couldn’t get PHP to work. I now use an editor (Adobe GoLive) that doesn’t insert a BOM when the document is encoded as UTF-8 (which was necessary to insert raw Japanese characters in an HTML file).
    For every complex problem, there is an answer that is clear, simple, and wrong.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •