Thread: CSS and FF help

    #1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2012
    Posts
    156
    Rep Power
    13

    CSS and FF help


    Hi

    I am trying to get Firefox to center the table, not having much luck so far

    The table in the coding is below

    Code:
    <table class="boxestb" border="0">
    The CSS in the FF stylesheet is below

    Code:
    table.boxestb {
    margin-left:auto;
    margin-right:auto;
    width:740px;
    margin-top:-30px;
    }
    Any ideas?

    Kind regards

    Ian
  2. #2
  3. CSS & JS/DOM Adept
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jul 2004
    Location
    USA (verifiably)
    Posts
    20,127
    Rep Power
    4304
    Your code looks fine. Please post more of your HTML and CSS.
    Spreading knowledge, one newbie at a time.

    Check out my blog. | Learn CSS. | PHP includes | X/HTML Validator | CSS validator | Common CSS Mistakes | Common JS Mistakes

    Remember people spend most of their time on other people's sites (so don't violate web design conventions).

IMN logo majestic logo threadwatch logo seochat tools logo