File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes jQuery UI styling question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "jQuery UI styling question" Watch "jQuery UI styling question" New topic
Author

jQuery UI styling question

K Mansoor
Ranch Hand

Joined: Jan 10, 2006
Posts: 52
Why doesn't JQuery UI provide support to style form elements (other than buttons, of course) out of the box?

I'm using Redmond UI scheme. The buttons on a form conform to the overall styling scheme, however select drop-downs and input boxes are not styled at all and they stick out.
I understand somebody with CSS skills (or awareness) won't find this too difficult to style, however for those who are UI challenged...

Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61241
    
  66

The amount of styling that is possible with drop downs and text boxes is very limited. There are dropdown replacement plugins that can be styles (because they're not really drop downs) but jQuery UI cannot assume that you are using them. Likewise, text boxes can be "styled" by using background images and other tricks. Most people would not want this heavy-handed approach so jQuery UI leaves it up to the page author to decide how to style these elements.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
K Mansoor
Ranch Hand

Joined: Jan 10, 2006
Posts: 52
This makes sense.
Thank you.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: jQuery UI styling question