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.
  • Chances are you're discovering that IE implements the CSS box model incorrectly. You can work around this using the voice-family hack []. I reccomend the Bad Hat [] book for more discussion...


    • If only! In this case it's a float bug. I have the DTD set correctly so IE6 should be using the correct box model, and at this stage I don't care about IE5's totally broken implementation.

      The man in the scary hat is a jolly clever chap, and I read his book while stuck in hospital last year - a very useful read indeed. I keep trying to get people to read it. I've not rad it yet, but Eric Meyer On CSS [] may also be a goo read.

      My problem is that IE5 and IE6 do odd things with floats. Mozilla and Opera do wha

      -- "It's not magic, it's work..."
    • I tend to prefer to exploit the CSS-BE support in IE to spoon-feed it special instructions: .class
          width: 300px;
          width: expression( '400px' );
  • Perhaps HTML Tidy [] can help? The last version I tried (I haven't upgraded in a while) did do basic conversion from presentational markup, FONT tags and friends, into CSS — even though somewhat buggy.

    I really ought to look into the upgrades.

    • Tidy [] is pretty good at fixing bad HTML, as is libxml2 [], however they are no good at at de DreamMangling a page, for that you have to do it by hand. However, that job is now done!

      Both tidylib and libxml2 can be used from within Perl, so they are also great for on the fly HTML cleaning too. If only it was possible to on the fly upgrade IE users to Firefox or Opera.....

      -- "It's not magic, it's work..."
  • I absolutely refuse to pander to IE any longer. HTML 4.0 is SEVEN years old (and 4.01 is FIVE), and CSS1/2 is from around the same time.

    How many of us have COMPUTERS that old? (yeah ok there's still lots of them out there, but they all have to be replaced eventually, as they die off from hardware failure or desire to upgrade)

    well, let me just sum up my feelings from an html comment I embedded in some client-side code recently. Evil aren't I? :)


    A mixture of original hand-coded HTML 4.01, Casc
    • I had forgotten how old HTML4.0 is. What is even worse is that MS co-wrote the damn thing, and you would think that in seven years they would have enough time to actually adhere to the specification they helped to write!

      As I said previously, this is ignoring all the other things wrong with IE!

      -- "It's not magic, it's work..."
  • 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..."
  • The IE Factor [], money paragraphs quoted here.

    Such is often the case when designing with CSS. When working with semi-complex layouts, I frequently encounter challenges that end up slowing me down. I’m getting familiar with these road blocks, and can often predict where I’ll find them. Having patience, or knowing what to try to get around them prevents head from going through monitor.

    Without a doubt, the biggest challenge I encounter each time is in wrangling Microsoft’s Internet Expl

    • I know the feeling totally. IE is so variably buggy, yet so dominant in the market place. IE is probably the biggest impediment to clean modern web design. As Microsoft has officially stated that there will be no major change to IE until Longhorn, it looks like web design will be held back in the 1990s for another few years, or everyone will try a better browser - there are plenty to choose from...

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