Forum Right Margin Blowout and Code Tag

Discussion in 'General Topics' started by vasa1, Oct 2, 2011.

Thread Status:
Not open for further replies.
  1. vasa1

    vasa1 Registered Member

    Joined:
    May 1, 2010
    Posts:
    4,152
    JR fixed a post of mine that was causing right margin blowout and thanks to JR for that.

    I really didn't see the blowout effect when I revisited the thread a few times (before JR fixed it) in hopes of getting a response otherwise I would have done something.

    On reflection, I think I didn't see the blowout possibly because of a line that I have in my content CSS for both Chrome and Firefox:
    Code:
    div.post_body { max-width: 800px !important; overflow: auto !important}
    Any css guru care to comment?
     
  2. JRViejo

    JRViejo Global Moderator

    Joined:
    Jul 9, 2008
    Posts:
    20,956
    Location:
    U.S.A.
    vasa1, first, you're welcome!

    I believe the !important rule in your CSS overrode the Forum's Default Style (found at the bottom of the page), thus your inability to see it.

    See W3C !important rules.
     
  3. vasa1

    vasa1 Registered Member

    Joined:
    May 1, 2010
    Posts:
    4,152
    Thanks, JR. !important is the OCD patient's lethal weapon. I use it a lot to get my way.
     
  4. JRViejo

    JRViejo Global Moderator

    Joined:
    Jul 9, 2008
    Posts:
    20,956
    Location:
    U.S.A.
    To the chagrin of a Web site's author ;) but then... C'est La Vie! :D
     
  5. vasa1

    vasa1 Registered Member

    Joined:
    May 1, 2010
    Posts:
    4,152
    Not to worry. There aren't enough of us to make a difference although we do make a noise, especially on issues of accessibility and pages that aren't browser- and OS-agnostic.
     
  6. Dude111

    Dude111 Registered Member

    Joined:
    Sep 30, 2008
    Posts:
    212
    Thats interesting...... I can set a file to alter CSS also with IE but i havent ever tried it..... (I guess i dont know how to write such files)
     
Thread Status:
Not open for further replies.