重庆合众犬舍官网:询问两条简单的网页代码

来源:百度文库 编辑:高考问答 时间:2024/05/16 17:31:49
记得有一条代码可以使点击过的超链接不变色,
还有一条代码可以使网页根据屏幕区域(600*800或720*1024)的变化而变化
从而适应各种屏幕区域.
都是什么来着.那位好心帮个忙.谢了

连接不变色可以用css来设定,比如:
<style type="text/css">
A:link{text-decoration:none; color:000050}
A:visited{text-decoration:none; color:000050}
A:active{text-decoration:none;color:000050}
A:hover{text-decoration:underline;color:000050}
</style>

根据屏幕变化的确有个代码,你直接去搜索一下吧