I developed one jsp page ,now I get new UI for this page s开发者_运维问答o I want to change my old UI to new one but after lots of efforts ,even after use of new css,UI is not changing.
Here is old code for 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" />
new code
<link href="intra_style.css" rel="stylesheet" type="text/css" />
please Help me. Thanks
Get Firefox and Firebug then you can inspect your page completely rendered. Did you take out your old css includes? Like css/main.css and so on? If not then the first declaration of an CSS-Object is applied.
1)make sure that intra_style.css should be in same folder where your jsp exist. 2)Remove all previous CSS includes. 3)Check out Class names of your style sheet are matching Ur HTML Style Class names.
First check the CSS if you can view the code using Firebug in Firefox or Developer Tools in Google Chrome.
Second: is your intra_style.css
is the dame folder with your jsp? As I can see on your old CSS it has a folder css/
. Try it the href
like this:
<link href="css/intra_style.css" rel="stylesheet" type="text/css" />
Third: Try to delete the cookies/ineternet history on your browser. What I mean is the cache.
精彩评论