Forums

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

Home Forums CSS Negative Padding and Margins

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #22996
    mshort
    Member

    Hey all,

    I know its not techically correct, but I was curious, is there any problem with using Negative Padding or margins in sites? like will it break the design in some browsers?

    #48769
    mshort
    Member
    "box" wrote:
    Negative margins are usually fine, IE6 will often throw up its usual idiosyncrasies with its box-model quirks. Negative Padding however is not allowed so don’t use it.

    There’s a decent box-model article here http://www.w3.org/TR/CSS21/box.html

    thanks for the advice, just curious though, what is so wrong with Negative padding?

    #48781
    mshort
    Member

    thanks it made sense :-)

    #48801
    mshort
    Member

    Just one other question on this topic. does anyone know if there is any way to make this work in IE6 and earlier? currently the element only shows up in its correct position in Firefox, safari and IE7

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