joonstar
08-18-2005, 09:19 AM
<style type="text/css">
a:link {font-size:50px}
a:visited {font-size:50px}
</style>
<a href='1111.htm' onfocus='blur()'>1111</a>
<a href='2222.htm' onfocus='blur()'>2222</a>
<a href='3333.htm' onfocus='blur()'>3333</a>
<a href='4444.htm' onfocus='blur()'>4444</a>
The font size of the all above four links is 50px because I give it in style.
I like to remove onfocus='blur()' which is in each link but give it in style, and has the same effect.
The following trial code doesn't work correctly, but it will show what I want.
trial code
<style type="text/css">
a:link {font-size:50px; onfocus:blur}
a:visited {font-size:50px; onfocus:blur}
</style>
<a href='1111.htm'>1111</a>
<a href='2222.htm'>2222</a>
<a href='3333.htm'>3333</a>
<a href='4444.htm'>4444</a>
Can I make the trial code work with your help?
a:link {font-size:50px}
a:visited {font-size:50px}
</style>
<a href='1111.htm' onfocus='blur()'>1111</a>
<a href='2222.htm' onfocus='blur()'>2222</a>
<a href='3333.htm' onfocus='blur()'>3333</a>
<a href='4444.htm' onfocus='blur()'>4444</a>
The font size of the all above four links is 50px because I give it in style.
I like to remove onfocus='blur()' which is in each link but give it in style, and has the same effect.
The following trial code doesn't work correctly, but it will show what I want.
trial code
<style type="text/css">
a:link {font-size:50px; onfocus:blur}
a:visited {font-size:50px; onfocus:blur}
</style>
<a href='1111.htm'>1111</a>
<a href='2222.htm'>2222</a>
<a href='3333.htm'>3333</a>
<a href='4444.htm'>4444</a>
Can I make the trial code work with your help?