Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other What are some "CSS Myths"?

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #22548
    Chris Coyier
    Keymaster

    I am co-authoring a new post coming up that is going to highlight some of the major "CSS myths" that are out there and then set the record straight. You know, things like "You should never use tables!", when of course, tables are still useful and appropriate in some situations.

    So what you think folks? Can you think of any "CSS Myths" that need debunking?

    #46889
    David R
    Member

    What kept me from throwing away the whole "table-based" website design and adopting the CSS model was the numerous comments I read on the internet about how the most used browser (IE6 at the time) was just so bad at handling CSS that people shouldn’t bother learning CSS at all! I read that you’ll need to use "hacks" and other tricks just to get your CSS designs to appear somewhat normal.

    After getting my hands dirty with CSS, I’ve learned that there really aren’t that many bug fixes one needs to get a good looking CSS design in IE6. Sure, you may not be able to do everything that you want, but the amount of bug fixing that one needs to do really isn’t that much. It’s just a little bit of a learning curve.

    But as comedian Dennis Miller once said:
    "But that’s just my opinion, I could be wrong."

    David

    #46906
    Flavia
    Member
    "David R" wrote:
    […]
    After getting my hands dirty with CSS, I’ve learned that there really aren’t that many bug fixes one needs to get a good looking CSS design in IE6. Sure, you may not be able to do everything that you want, but the amount of bug fixing that one needs to do really isn’t that much. It’s just a little bit of a learning curve.
    […]
    David

    Absolutely agree.
    In fact, it is quite possible that a design with sensible css and markup will display the same (save some pixels maybe, but often this isn’t a problem) in IE, Gecko and Webkit browsers right from the start, without hacks.

    Another myth I often find is the so-called "DIVitis", the habit of wrapping almost every element in divs, while best practice suggest (although obviously it depends on lots of factors) it would be better to style the sematically fitting elements, and not the wrapping div, to behave as we want them to.
    Could this come from coders not being used to exploit the "display" values accordingly?

    A good day to you all :)

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Other’ is closed to new topics and replies.