quirks mode

Discussion in 'CSS' started by thechasboi, Jan 5, 2007.

  1. #1
    Does any one know how quirks mode really works. I really need to understand how the negative numbers come into play in the style.top values. I am going nuts. I do not need some one to tell me to not use it. I need some one to tell me why the negative numbers work and how. Thanks for the reply. I do not mean to be so insistant but I have asked this before with no luck in an answer. The post some how goes to debate mode on why quirks is bad. Thanks again.
     
    thechasboi, Jan 5, 2007 IP
  2. feeleash

    feeleash Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    www quirksmode.org/css/quirksmode.html
     
    feeleash, Jan 5, 2007 IP
  3. thechasboi

    thechasboi Guest

    Messages:
    65
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I have read this many times and it does not tell me how the negative numbers for the top value works. It just states facts about differences between the two modes and how different browsers implemented this mode. I does not say how and/or why it works. How could an element have a top value of -1500 and be on the page still. How can the another element have a value of 14 and be at the bottom of the page. This is the information I need, not why the mode is different than the standards based mode. Please advise. Thanks again for the posts.
     
    thechasboi, Jan 5, 2007 IP
  4. feeleash

    feeleash Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    that are simply facts with alignment... if you have an image 1500px and put another image under with top -1500 you will get that image over the previous one basically. That's what I learned by now. Also it depends on the browser which is interpreting this css. If you put an image with top -1500px and the image is 2000px then only 500px of the image will be shown. If that makes any sense :D... Why this happens beats me, if I knew I would be making css2 :D.
     
    feeleash, Jan 5, 2007 IP
  5. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Actually, it's a positioning issue, not an alignment issue.
     
    Dan Schulz, Jan 6, 2007 IP