0

i have a new class for my footer texts in style.css and my page is www.ariahost.net/index2.htm . now in firefox my text align "left" is working fine but in IE it's on center . what should i do ?


example : <li><a href="http://www.ariahost.net/linuxhosting.htm" class="footer">هاست لینوکس معمولی</a></li>
<li><a href="http://www.ariahost.net/windows.htm" class="footer">هاست ویندوز معمولی</a></li>
<li><a href="http://www.ariahost.net/highlinux.htm" class="footer">هاست لینوکس پر حجم</a></li>
<li><a href="http://www.ariahost.net/highwindows.htm" class="footer">هاست ویندوز پرحجم</a></li>
<li><a href="http://www.ariahost.net/ssl.htm" class="footer">SSL گواهینامه</a></li>

my footer class on style.css is :
a.footer {
color: black;
text-align:left;
}

a:hover.footer {
color: black;
text-align:left;

2
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by drfarzad
0

for the footer CSS you have "a.footer." That should instead be "a .footer." However, why not just get rid of the "a.footer" and the "a:hover.footer" and combine them into one style: ".footer" since the styles do not change and are not anchor specific

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.