Solved

Link Ref in css

Posted on 2006-07-07
6
421 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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …

809 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