• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

css changes not reflected

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
correction

border-bottom:1px solid : #c0007f;
 
Ranch Hand
Posts: 282
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
We don't have time to be charming! Quick, read this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic