Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

css changes not reflected

 
aniket prakash patil
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
correction

border-bottom:1px solid : #c0007f;
 
Jay Damon
Ranch Hand
Posts: 282
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks Jay...

but i have a web application which is compitable for IE 8
 
Jay Damon
Ranch Hand
Posts: 282
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64843
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your syntax is wrong. Fix the syntax and the problem goes away.
 
aniket prakash patil
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64843
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hint: colons are used to separate the selector from the style list. Take it from there...
 
aniket prakash patil
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic