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


LVL 9
Manikandan ThiagarajanSenior consultantAsked:
Who is Participating?
 
DreamMasterConnect With a Mentor Commented:
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
 
gops1Connect With a Mentor Commented:
Then put this line into that jsp on top

<link href="css/main.css" rel="stylesheet" type="text/css" />
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.