wood burning stoves 2.0*
The moose likes JSF and the fly likes JSF and CSS issues Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF and CSS issues" Watch "JSF and CSS issues" New topic
Author

JSF and CSS issues

Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

I've been working today on moving all style attributes into CSS styles. I am specifically having issues with tables and css. I have the following JSF page.



This produces the following output



If you notice the 2 TD tags from the outer parent table both have the correct class= value. But the inner table (menu) TD tags, only the first one has the value. The others are all left blank. Now, if I change:



to



I get the correct results. Anyone have any idea why this might be happening?


GenRocket - Experts at Building Test Data
Naresh Chaurasia
Ranch Hand

Joined: May 18, 2005
Posts: 356
Hi i have following jsp code

Login.jsp




css code




when the Login.jsp loads for the first time, the back ground color is not changed as in style sheet. But if i hit submit the color changes.....

can some one pls tell what mistake i am doing......I am making use of Tomcat 5.x


SCJP 1.4, SCWCD1.4, OCA(1Z0-007)
Naresh Chaurasia
Ranch Hand

Joined: May 18, 2005
Posts: 356
sorry greg, by mistake i posted that question
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSF and CSS issues
 
Similar Threads
Ajax status doesn't stop in IE8
Horizontal scrollbar problem
JSTL and bean data
HTML does not print properly - table width exceeding 100%?
Foreign key field population from datatable to textbox?