facebook

CSS

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #216618 Reply

    Hi,
    I tested my application, it works fine when I use TOMCAT as my app server. I have a CSS file in /Webroot/css directory. I deployed the same application on WAS. Now the CSS properties are not visible in the deployed application on the WAS. I am using this statement in the head part of one of my JSPs to use the CSS.
    <LINK rel=”stylesheet” type=”text/css” href=”css/templateStyle.css”>
    Can you suggest me what is wrong with the above statement?

    Thanks in advance
    Salini

    #216632 Reply

    Scott Anderson
    Participant

    Salini,

    It’s likely that it’s because you’re using a relative path to get to your stylesheet. Try href=”/css/templateStyle.css”

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: CSS

You must be logged in to post in the forum log in