aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Dialog Jquery : Changing the color of the close button in titlebar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Dialog Jquery : Changing the color of the close button in titlebar" Watch "Dialog Jquery : Changing the color of the close button in titlebar" New topic
Author

Dialog Jquery : Changing the color of the close button in titlebar

ankita sarma
Greenhorn

Joined: Nov 13, 2012
Posts: 25
Hi Fellow Programmers,

I am using jQuery Dialog and change the color of the title-bar to black

Due to this the close button on the extreme right corner has become invisible.
Anybody has a idea how to change the color of that X button.


As of now I am using

.


Thanks in Advance


Rob Crowther
author
Ranch Hand

Joined: Nov 06, 2012
Posts: 297
    
    5

Replace the image being used for the close button with one of a different colour. If you want different colours in jQuery UI it's easier just to modify the theme than it is to go hacking in the CSS files.


Read my books: Hello! HTML5 & CSS3 | HTML5 in Action | Read my blog
ankita sarma
Greenhorn

Joined: Nov 13, 2012
Posts: 25
Hay Thank you for your reply.

I achieved it by using


this is the jsfiddle its very helpful jsfiddle for changing image of close button

hope it helps somebody who needs it later on
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dialog Jquery : Changing the color of the close button in titlebar