aspose file tools
The moose likes JSF and the fly likes JSF and CSS issues Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "JSF and CSS issues" Watch "JSF and CSS issues" New topic
Author

JSF and CSS issues

Gregg Bolinger
Ranch Hand

Joined: Jul 11, 2001
Posts: 15230

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?
Naresh Chaurasia
Ranch Hand

Joined: May 18, 2005
Posts: 309
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: 309
sorry greg, by mistake i posted that question
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: JSF and CSS issues
 
Similar Threads
Horizontal scrollbar problem
Ajax status doesn't stop in IE8
Foreign key field population from datatable to textbox?
JSTL and bean data
HTML does not print properly - table width exceeding 100%?