Home >Web Front-end >HTML Tutorial >帮我做一个相框效果, 谢谢_html/css_WEB-ITnose
<!DOCTYPE html><html><head> <title></title> <style type="text/css"> </style></head><body> <table border="1" cellpadding="1" cellspacing="1" > <tr> <td> <img class="imgInner lazy" src="/static/imghwm/default1.png" data-src="http://drmcmm.baidu.com/media/id=nHD1nWcdrHfd&gp=403&time=nHndrHT3n1TYPs.gif" border="0" alt="帮我做一个相框效果, 谢谢_html/css_WEB-ITnose" > <img src="/static/imghwm/default1.png" data-src="http://www.photophoto.cn/m64/024/062/0240620078.jpg" class="lazy" / alt="帮我做一个相框效果, 谢谢_html/css_WEB-ITnose" > </td> </tr> </table></body></html>
希望兼容ie8, ie10, chrome和firefox
nbsp;html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
![]() | ![]() |
nbsp;html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
![]() | ![]() |
<!DOCTYPE html><html><head> <title></title> <style type="text/css"> </style></head><body> <div style="max-width:90%"> <image src="http://www.photophoto.cn/m64/024/062/0240620078.jpg"> </div> <div style="position:absolute; margin-left:150px;margin-top:120px " > <image src="http://drmcmm.baidu.com/media/id=nHD1nWcdrHfd&gp=403&time=nHndrHT3n1TYPs.gif" border="0"> </div></body></html>
<!DOCTYPE html><html><head> <title></title> <style type="text/css"> </style></head><body> <div style="position:absolute; "> <image src="http://www.photophoto.cn/m64/024/062/0240620078.jpg"> </div> <div style="position:absolute; margin-left:150px;margin-top:120px " > <image src="http://drmcmm.baidu.com/media/id=nHD1nWcdrHfd&gp=403&time=nHndrHT3n1TYPs.gif" border="0"> </div></body></html>