一个背景图片按扭,左右两端分别显示两个链接。

<HTML> <HEAD> <TITLE> 无限策划系列建站教程之css练习题 </TITLE> <style type="text/css"> #a{background:url("http://www.baidu.com/img/baidu_logo.gif");width:270px;height:129px;float:left;} #b a{float:left;width:135px;height:113px;text-decoration: none;} #c a{float:right;width:135px;height:113px;text-decoration: none;} </style> </head> <body> <div id="a"> <div id="b"><a href="https://yyidea.com">&nbsp</a></div> <div id="c"><a href="https://yyidea.com/about">&nbsp</a></div> </div> </body> </HTML>