我开发了一个jsp页面,现在我得到了这个页面的新UI,所以我想将我的旧UI更改为新的UI,但经过许多努力,即使使用了新的css,UI也没有改变。
下面是css的旧代码
<link rel="shortcut icon" type="image/x-icon" href="img/favicon.ico" />
<link rel="stylesheet" href="css/reset.css" />
<link rel="stylesheet" href="css/fonts.css" />
<link rel="stylesheet" href="css/main.css" />
<link type="text/css" href="css/custom-theme/jquery-ui-1.8.9.custom.css" rel="stylesheet" />
<link rel="stylesheet" media="screen" type="text/css" href="css/spacegallery.css" /> -->
<!-- <link href=" css/dropdown/dropdown.css" rel="stylesheet" type="text/css"/>
<link href=" css/dropdown/themes/default.advanced.css" rel="stylesheet" type="text/css" /> 新代码
<link href="intra_style.css" rel="stylesheet" type="text/css" />请帮帮我。谢谢
发布于 2011-04-26 18:07:15
首先,如果你可以在Firefox中使用Firebug或者在Google Chrome中使用Developer Tools查看代码,请检查CSS。
第二:你的intra_style.css是你的jsp所在的dame文件夹吗?正如我在你的旧CSS上看到的,它有一个文件夹css/。像这样在href中试用:
<link href="css/intra_style.css" rel="stylesheet" type="text/css" />第三:尝试删除浏览器上的cookies/ineternet历史记录。我的意思是缓存。
https://stackoverflow.com/questions/5787869
复制相似问题