a {
font-size: 8pt;
text-align: left !important;
text-decoration: none;
}
.main {
text-align: center;
}
<div class="main">
<a href="#new_york_city">New York City</a><br />
<a href="#long_island">Long Island</a><br />
<a href="#upstate">Upstate New York</a><br />
</div>
This is a compact version of what I have, and for me, using Firefox 5, links have STILL with centering, although I use! important for "text-align: left". This is confusing and annoying because I thought that the highest specificity was important and overruled all other rules.
What is wrong here?
source
share