Solved

Link Ref in css

Posted on 2006-07-07
6
420 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
Question by:stmani2005
  • 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:stmani2005
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Someone recently asked me about how to display a progress indicator on a page while an iframe is loading. And I remember when I first came across this myself. It was a bit tricky to get my head around, but really, it's very simple. The most impor…
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

932 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now