<hr?> and stlye cc wont show up n code??

Discussing Html . Code , Software , other

Moderators: egami, macek, gesf

Post Reply
iam4423
New php-forum User
New php-forum User
Posts: 50
Joined: Fri Jan 20, 2012 8:00 am

Thu Feb 23, 2012 6:52 am

firstly change your < hr /> tags to <hr> (make sure there are no spaces)

and in your css when defining colors you need to put '#' at the start (black is #000000)

Code: Select all

hr{
    color:000000;
    background-color:000000;
    border: 12px;
    height: 6px;
    width: 100%;
 }
becomes

Code: Select all

hr{
    color:#000000;
    background-color:#000000;
    border: 12px;
    height: 6px;
    width: 100%;
 }
hope this helps

there are a few other colors in your css that also need the '#' adding to the beginning

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest