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 Other Java Products and Servers and the fly likes setting styles in Display tags 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 » Products » Other Java Products and Servers
Bookmark "setting styles in Display tags" Watch "setting styles in Display tags" New topic
Author

setting styles in Display tags

Srini Nivas
Greenhorn

Joined: Aug 25, 2005
Posts: 21
Hi...I am using display tags to display a table of sortable columns..I am able to set the style for the header etc using the style sheet but I am unable to set the color of the sortable links. If we use href we can set the color using style sheets but I am not sure how to do the same when we use display tags.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60785
    
  65

Moved to the Other Java Products and Servers forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60785
    
  65

I'd suggest taking a look at the generated HTML (using View Source from the browser) to see if the generated markup has the hooks necessary for you to define style rules to suit your needs. If not, you may be out of luck since you may not have a lot of control over waht the tags generate.
Srini Nivas
Greenhorn

Joined: Aug 25, 2005
Posts: 21
is there any way we can set the pseudo-class properties in class properties of a css?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: setting styles in Display tags
 
Similar Threads
Internationalization of display tag
How to show asc/desc images in headers through display tag
css,images,fonts gets dissappeared after submitting the form.
Mainitaining State Between Requests - Struts
How to hide a display column tag in struts 2