Firefox + MySpace + CSS = HELP!

Discussion in 'OT Technology' started by haargerman, Nov 2, 2005.

  1. haargerman

    haargerman ayuh.

    Joined:
    Oct 23, 2005
    Messages:
    4,748
    Likes Received:
    0
    Location:
    Boston
    Alright so Im using Firefox, which I've liked a lot until I recently found out it doesnt display CSS properly when I'm editing my MySpace layout (http://www.myspace.com/10632142)

    If you are using Firefox you will notice my tables are un-naturally HUGE! However if you switch to Internet Explorer everything seems to look nice and in place.

    What could cause this?
    How can I fix this?
    I can post the code if I need to..

    Thanks in advance!
     
  2. Penguin Man

    Penguin Man Protect Your Digital Liberties

    Joined:
    Apr 27, 2002
    Messages:
    21,696
    Likes Received:
    0
    Location:
    Edmonton, AB
    Probably a problem with your CSS code, relating to how spacing and borders are measured.

    According to the CSS standard, the size of a box should be calculated by:
    margin + border + padding + size + padding + border + margin
    However, IE likes to think that it's just the size, and that everything else cuts into that.

    So, say you have a box that you want to take up 500px total, with 5px on each side of it, a 5px border on each side and 5px of padding inside the box. The size of the box in your CSS code should be 470px.
     
  3. Frequency

    Frequency New Member

    Joined:
    Dec 30, 2004
    Messages:
    7,504
    Likes Received:
    0
    Location:
    PA
    ahh the box problem, i really wish they would get on the same page with this, annoys the hell out of me
     
  4. kingtoad

    kingtoad OT Supporter

    Joined:
    Sep 2, 2003
    Messages:
    55,924
    Likes Received:
    11
    Location:
    Los Angeles
    For the record, FireFox parses CSS very accurately and is a far more superior browser than IE.

    Although as Penguin said, it is very specific. FireFox is practically a godsend for CSS developers.

    However, there will be problems parsing both HTML and CSS in every browser.

    I'm still waiting for Opera to fix their damn margin bug. :run:
     

Share This Page