http://www.91yhg.com/index.jsp
I took out the code in the "Friendly Links" section at the bottom of this site, but the display looks different
Please give me some pointers. I missed it. Which codes... (I just changed the height)
HTML:
<div class="links"> <fieldset> <legend>友情链接</legend> </fieldset></div>
.links{ width:960px; height:50px; line-height:50px; margin-top:5px; margin-bottom:15px;} .links fieldset{ border:2px #A50B0D solid; width:946px; height:auto; vertical-align:middle;}.links legend{ color:#A50B0D; font-weight:600;} .links a{ margin-left:10px; margin-right:10px;}
I watched it on IE 9 and there was no problem. .
There is no problem when viewing it on 360, but when viewing it on Firefox, why is the site like that? Is there some missing code...
<!DOCTYPE HTML><html> <head> <meta charset="gb2312" /> <style>.links{ width:960px; height:50px; line-height:50px; margin-top:5px; margin-bottom:15px;} .links fieldset{ border:2px #A50B0D solid; width:946px; height:auto; vertical-align:middle;}.links legend{ color:#A50B0D; font-weight:600;} .links a{ margin-left:10px; margin-right:10px;} </style> </head> <body> <div class="links"> <fieldset> <legend>友情链接</legend> </fieldset> </div> </body></html>
I tested it for you, no problem
Thank you, my original CSS file was
*{margin:0;
padding:0;}
It was causing trouble. So I added margin-left to lgend