Solved

Link Ref in css

Posted on 2006-07-07
6
422 Views
Last Modified: 2012-08-13
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
Comment
  • 2
6 Comments
 
LVL 19

Accepted Solution

by:
DreamMaster earned 125 total points
ID: 17057147
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
 
LVL 17

Expert Comment

by:gops1
ID: 17059121
Is there any commun jsp being used by all jsp's ?
0
 
LVL 8

Author Comment

by:Manikandan Thiagarajan
ID: 17064488
yes,it contains tiles layout
0
 
LVL 17

Assisted Solution

by:gops1
gops1 earned 125 total points
ID: 17066844
Then put this line into that jsp on top

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

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question