Michael Mahony
Michael Mahony

Reputation: 1350

CSS missing in Firefox but not Chrome

Having a problem with this block of CSS:

#social-title
{
    float: left;
    position: absolute;
    top: 270 px;
    left: 575px;
    text-decoration: underline;
}

When this renders in Firefox the div is at the top of the page. When I render it in Chrome, it is where it should be. However, when I use Firebug to look at this, the "top: 270px;" line is missing in Firefox but not in Chrome. Any idea why?

Upvotes: 0

Views: 501

Answers (1)

Pawan Lakhara
Pawan Lakhara

Reputation: 1150

remove space you are using top: 270 px;

please use

top: 270px;

Upvotes: 4

Related Questions