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

Home Forums CSS [Solved] Cannot seem to margin right side properly.

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #174825

    Hey everyone. Thank you for your time in advance.

    The site its regarding is

    And as you can see I cannot seem to margin the right side properly like the left side.
    Its sticking out.

    What am I doing wrong?

    I havent been doing CSS in years so im rusty as can be.
    Thank you again for helping a newbie. :-)

    [MOD EDIT – Codedump Removed]


    Please no codedumps.


    First thing you will hear (after the above) is…

    Don’t do page layout with tables

    Then…you are using elements like <center> which are no longer valid HTML under the 5 spec.

    As for the navigation

    #navigation {
    clear: left;
    /* float: left; */ /* not required*/
    /* width: 100%; */ /* not required */
    background: #e4e4e4 0 25% repeat;
    font-family: Trebuchet MS, Helvetica, sans-serif;
    border-bottom: 1px solid #000000;
    overflow: hidden;
    margin-left: 2px;
    margin-right: 2px;

    Finally, the cell is the right width, it just that you are using a background image as a ‘border’ making it look too narrow.


    Oh snap sorry about that.

    Guess I will have to update myself a bit though it seems, haha.

    But was hoping for a temporary fix, guess I could redo the layout afterwards when I have more time on my hands.

    Thank you for that link btw! Looks very informative.


    I tried removing Width: but that removed the centering and style.
    But removing both Width and Float helped it seems.

    I didnt copy paste the source, which would’ve helped since both where skipped out, but I noticed you wrote Float was required so tried with that first.

    But everything seems to look better now. Thank you so much for your time and informative suggestions! I will be sure to read that link. Looks very interesting. Problem is I dont have that much time to study as I did. Thanks again! :-)


    but I noticed you wrote Float was required so tried with that first.

    Sorry that was my was of course, NOT required.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.