[web] CSS wont work on Firefox

Started by
2 comments, last by Bahlor 15 years, 9 months ago
This aligns right in IE but it doesnt work in Firefox div.main { position = absolute; top: 100px; right: 50px; border: 1px solid #009; margin: auto; }
Advertisement
Quote:Original post by Jazonxyz
This aligns right in IE but it doesnt work in Firefox

div.main
{
position = absolute;
top: 100px;
right: 50px;
border: 1px solid #009;
margin: auto;
}

Typo. Replace the equal sign by a colon, just like the rest of the style properties:
position: absolute;
Yep, that there is your problem [smile]
Not the only problem, IE is an problem too^^ Sry a bit sarcasm in the morning^^
Vini,Vidi,Vici (Gaius Iulius Caesar)

This topic is closed to new replies.

Advertisement