Web Analytics Made Easy -
StatCounter How to centralise container using css - CodingForum

Announcement

Collapse
No announcement yet.

How to centralise container using css

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to centralise container using css

    How do i centralise container using css??

    here is my css code so far for the container

    Code:
    #container {
    text-align:center;
    WIDTH:858PX;
    background-color:#F1F1F1;
    color:#333;
    border:1px solid black;
    line-height:130%;
    }

  • #2
    Code:
    #container {
    text-align:center;
    width:858px;
    background-color:#F1F1F1;
    color:#333;
    border:1px solid black;
    line-height:130%;
    margin:auto;
    }
    ||||If you are getting paid to do a job, don't ask for help on it!||||

    Comment


    • #3
      thanks

      Comment

      Working...
      X