Solved

CSS Question, Existing Java Project

Posted on 2012-03-26
6
250 Views
Last Modified: 2012-04-09
Hello I have an existing project I am working with in Java.

I am trying to create a reset.css, global.css, and ie-only.css to go with the existing project.

I am having trouble figuring out where the CSS would normally be placed in this project explorer. Can you help me figure out where to put the CSS files?

Thanks,
M
0
Comment
Question by:Midani22
  • 4
  • 2
6 Comments
 
LVL 5

Expert Comment

by:Becky
ID: 37769259
There's no a whole lot of information to go off of in your question.  I'm going to assume you're creating a "typical" web archive application (packaged as a WAR or exploded WAR).  If so, the root of that folder is the root of your website.  Most people have sub folders where they put their CSS files in....usually called css.  Some folks put it all in the root folder.  It's not so much where you put the files, but that you reference them in your HTML or JSP files.   If that doesn't give you enough to go on, tell us what your directory structure looks like now and provide me with some of the HTML code that references .css files from one of the web pages that already exists.
0
 

Author Comment

by:Midani22
ID: 37771436
I want to put it all in the root but if you look at the attached graphic, it is hard to tell where the root is. Is this the root of the src directory?

I will answer your other questions later today, thanks,
0
 
LVL 5

Expert Comment

by:Becky
ID: 37774921
Forgive me but I don't see any attachments.  If you have one that shows the layout of your folder structure, and if you could paste the header part of one of the HTML or JSP pages in the app, I can help you.
0
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.

 

Author Comment

by:Midani22
ID: 37779382
sorry I had a sick child today and I did not remember to login.

I will send the graphic as soon as possible. Sorry about that.
0
 

Accepted Solution

by:
Midani22 earned 0 total points
ID: 37808275
I found out that it goes in the WebContent Folder.
0
 

Author Closing Comment

by:Midani22
ID: 37822764
Posted to the JavaRanch.com and the answer was given there.
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

Suggested Solutions

Title # Comments Views Activity
CSS Scroll Issue 3 93
Remove greater than sign 3 49
Error on Add method 1 38
remove background quote mark from widget 6 24
So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
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.
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …

861 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

24 Experts available now in Live!

Get 1:1 Help Now