• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 433
  • Last Modified:

Link Ref in css

What is the use of Link ref in css

I have main.css file it contains no of classes.

How could i include into all the jsp forms

I have Layout.jsp in that i have to specify link href =  something


could you specify how could i apply my main.css to all the jsp file

my main.css file is under css folder


please explain briefly


0
Manikandan Thiagarajan
Asked:
Manikandan Thiagarajan
  • 2
2 Solutions
 
DreamMasterCommented:
That's as easy as:

<link href="css/main.css" rel="stylesheet" type="text/css" />

I don't know what to explain about it, so just ask what you need to know.

Regards,
Max.
0
 
gops1Commented:
Is there any commun jsp being used by all jsp's ?
0
 
Manikandan ThiagarajanSenior consultantAuthor Commented:
yes,it contains tiles layout
0
 
gops1Commented:
Then put this line into that jsp on top

<link href="css/main.css" rel="stylesheet" type="text/css" />
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now