This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes  css changes not reflected Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark " css changes not reflected" Watch " css changes not reflected" New topic
Author

css changes not reflected

aniket prakash patil
Greenhorn

Joined: May 04, 2011
Posts: 10

i am stuck with a problem.

i am enhanching a web application that uses <div> element and css.

i have made a change in css file. i have added the following entry border-bottom:1px solid : c0007f; to the corresponding class as i want a border at the bottom of the div element but i am not able to see the change on my jsp file.

can somebody please help.
aniket prakash patil
Greenhorn

Joined: May 04, 2011
Posts: 10
correction

border-bottom:1px solid : #c0007f;
Jay Damon
Ranch Hand

Joined: Jul 31, 2001
Posts: 282
I recommend you look at the rendered page using Google Chrome or Firefox with Firebug installed. Both will readily show you how styles are applied to an element and you will be able to determine why your style is not.
aniket prakash patil
Greenhorn

Joined: May 04, 2011
Posts: 10
thanks Jay...

but i have a web application which is compitable for IE 8
Jay Damon
Ranch Hand

Joined: Jul 31, 2001
Posts: 282
Are you saying the page cannot be rendered in Firefox or Chrome? Even if your app is for IE8, it does not have to render perfectly in order for Firefox or Chrome to tell you what you need to know - which is how the styles are applied to the page. If you are not currently using Chrome or Firefox with Firebug, you seriously need to think about doing so. Using these browsers' developer tools will save you a ton of time (and aggravation)
aniket prakash patil
Greenhorn

Joined: May 04, 2011
Posts: 10
Jay

I am currently work on a VM ware session connecting to the client's machine. I dont have firefox/google chrome installed on the VM ware session neither can i do. Further my clients insists on IE 8 so i am a bit helpless.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60794
    
  65

Your syntax is wrong. Fix the syntax and the problem goes away.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
aniket prakash patil
Greenhorn

Joined: May 04, 2011
Posts: 10
Marshal

can you help me with the syntax

border-bottom:1px solid : #c0007f;

is what i am using

Thanks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60794
    
  65

Hint: colons are used to separate the selector from the style list. Take it from there...
aniket prakash patil
Greenhorn

Joined: May 04, 2011
Posts: 10
The issue is resolved. The problem was that the height of div element. it was in excess so border bottom was not seen.

I figured it out today.

Thanks all for the help
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: css changes not reflected
 
Similar Threads
Need help editing some css if possible (SOLVED)
Absolute div dynamically appended to body element
Another table border question
IE Displaying border-bottom-width
DIV and CSS Help