[jboss-user] [JBoss Seam] - h:messages renderer or firefox bug?

tony.herstell@gmail.com do-not-reply at jboss.com
Sat Aug 25 20:21:25 EDT 2007


When using markup as such:

  | 		<div id="template_global_messages_area">
  | 			<center>
  | 				<h:messages errorClass="error" warnClass="warn" infoClass="info" globalOnly="true" layout="table" />
  | 			</center>
  | 		</div>
  | 


with css as such:

  | 
  | /* GLOBAL MESSAGES */
  | #template_global_messages_area {
  | 	margin-top: -5px;
  | 	text-align: center;
  | 	width: 100%;
  | 	background-color: rgb(81, 81, 81);
  | 	padding-top: 2px;
  | 	padding-bottom: 2px;
  | }
  | 
  | 
  | .info {
  |     text-align: left;
  |     color: rgb(135 206 250);
  | }
  | 


I get markup delivered as such:


  | <div id="template_global_messages_area">
  | 			<center><table><tr class="info"><td>	You have the following Role(s):Administrator. </td></tr><tr class="info"><td>	Login Successful </td></tr></table>
  | 
  | 			</center>
  | 		</div>
  | 
  |   | 
  |   | 
  |   | It appears that Firefox doesn't like the class="info" on the tr wheras IE is tolerent...
  |   | 
  |   | Is this a bug with the h:messages renderer? Should it put the style on the td?
  |   | Or is firefox buggy? 
  |   | 
  |   | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078084#4078084

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078084



More information about the jboss-user mailing list