wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes html link not visible as table header in jsp 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 "html link not visible as table header in jsp" Watch "html link not visible as table header in jsp" New topic
Author

html link not visible as table header in jsp

Ankur Sharma
Greenhorn

Joined: Nov 30, 2007
Posts: 21
Hi,

I am not sure if this question belongs to JSP forum, since it's happening in JSP page I am posting it here.

I am seeing this strange problem, in my JSP page all the link are looking fine except some links in Table header. Here is the code snippet:

<th align="left" width="30%"><html:link action="/myAction.do?sortBy=org&all=${param.all}">Organization Name</html:link></th>

ENV is struts, jstl, html.

Now the problem is the text Organization Name is not visible, although it's there and I can click it. If I click and drag mouse over it I can see it.

Also if I put this link anywhere else e.g. <TD> I can see it.

I am not sure why it's happening.

Please help me.

Ankur
Herman Schelti
Ranch Hand

Joined: Jul 17, 2006
Posts: 387
hi Ankur,

can you post the html that gets generated?

Herman
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61305
    
  66

So the text is white on white? Sounds like a CSS issue.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Ankur Sharma
Greenhorn

Joined: Nov 30, 2007
Posts: 21
Hi Herman,

Here is the generated HTML Code:

<th align="left" width="30%"><a href="/oe/organizations.do?sortBy=org&all=">Organization Name</a></th>

Thanks,

Ankur
Ankur Sharma
Greenhorn

Joined: Nov 30, 2007
Posts: 21
Thanks you friends for giving me insight.
it was CSS issue. just changed the color and it worked.
 
GeeCON Prague 2014
 
subject: html link not visible as table header in jsp