Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • I just kick MSIE out of the game altogether by using this idiom to import a stylesheet:

    <style type="text/css" title="whatever">@import "full_sheet_url" all;</style>

    That "all" there is legal CSS 2, implemented in Firefox, but unimplemented in IE, so IE just ignores the whole statement as far as I can tell. Folks, let me know if this idiom doesn't quite work for you -- I just stumbled on it the other day.

    • Another new trick. I suppose it's a generation on from the original @import hack to protect Netscape 4 and IE 4 from their own failings. Obviously I'd have to check that with recent Opera and khtml based browsers too, but it's another weapon in the armoury.

      In my case I still have to find out why IE is breaking (float bug I think) and do things to the style sheet to workaround the defect.

      -- "It's not magic, it's work..."