下划线为什么不是连续的
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>文本样式</title> <style type="text/css"> div{background-color:#eee; font-size:2em; line-height:10em; text-align:center; } .one{font-size:2em;vertical-align:middle;} img{vertical-align:middle;} .two{vertical-align:middle;color:red;text-decoration:underline;} </style> </head> <body> <div><p><img src=" http://img1.sycdn.imooc.com/climg//59c21bae000157fa01000059.jpg"/> <span class="one">CSS层叠样式表</span> <span class="two"> (Cascading Style Sheets)</span></p> </div> </body> </html>
6
收起
恭喜解决一个难题,获得1积分~
来为老师/同学的回答评分吧
0 星