Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-14-2013, 05:59 PM   PM User | #1
sukh48
New to the CF scene

 
Join Date: Jan 2013
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
sukh48 is an unknown quantity at this point
Question JSP button padding chrome

Hello web people,

I am fairly new to web development with JSP and java beans. Currently I am working towards fixing this slight problem in our website. The calculate button in this bean is not showing up properly in chrome but is fine in other browsers. I would appreciate if someone could guide me towards the fix.

CHROME
Click image for larger version

Name:	Chrome button.gif
Views:	28
Size:	4.7 KB
ID:	11856

IE
Click image for larger version

Name:	IE button.gif
Views:	20
Size:	4.6 KB
ID:	11857

Code:
<table style="float: right;display:block;padding: 3px 0 13px 0;width:208px;">
		                            <tr>
	                                <td style="font-size:10px; color:White; vertical-align:middle;">
										<h:outputLabel for="VolumeUnit" value="#{AppText.labelVolumeUnit}" accesskey="#{AppText.keyVolumeUnit}" />
	                                </td>             
	                                <td style="width:100px;">
										<h:selectOneMenu id="VolumeUnit" value="#{Dugout.strVolumeUnit}" styleClass="styled" style="width: 100%;">
											<f:selectItems value="#{Dugout.volumeUnits }" />
										</h:selectOneMenu> 
	                                </td>                   
	                            </tr>
	                            <tr>
	                                <td style="font-size:10px; color:White; vertical-align:middle; text-align:right;">
	                                    <label>
											<h:outputLabel for="Volume" value="#{AppText.labelVolume}" accesskey="#{AppText.keyVolume}" />
	                                    </label>
	                                </td>
	                                <td style="width:100px;">                                 
                   						<h:inputText id="Volume" value="#{Dugout.strVolume}" styleClass="styled" style="width:100px;" label="Volume" maxlength="10"/>
	                                </td>
	                            </tr>
	                            <tr>
	                                <td colspan="2" style="text-align:center;">
	                                    <h:commandButton action="#{Dugout.calculateVolume}" value="#{AppText.labelBtnVolume}" id="btnVolume" styleClass="button" />
	                                </td>
	                            </tr>
	                        </table>
sukh48 is offline   Reply With Quote
Old 01-14-2013, 07:10 PM   PM User | #2
Fou-Lu
God Emperor


 
Fou-Lu's Avatar
 
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Posts: 15,748
Thanks: 4
Thanked 2,466 Times in 2,435 Posts
Fou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to all
Despite being written in JSP, if the problem is the rendering than it will be an HTML/CSS issue, not directly related to the JSP. I'll move this to the HTML/CSS forum since the client developers will be far more help than I.
It would be best to post a link to or a string of the rendered HTML as well.
Fou-Lu is offline   Reply With Quote
Users who have thanked Fou-Lu for this post:
sukh48 (01-14-2013)
Old 01-14-2013, 08:50 PM   PM User | #3
sukh48
New to the CF scene

 
Join Date: Jan 2013
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
sukh48 is an unknown quantity at this point
Quote:
Originally Posted by Fou-Lu View Post
Despite being written in JSP, if the problem is the rendering than it will be an HTML/CSS issue, not directly related to the JSP. I'll move this to the HTML/CSS forum since the client developers will be far more help than I.
It would be best to post a link to or a string of the rendered HTML as well.
Thanks for ur response

I am not sure what do you mean by rendered HTML here? does right clicking on the page and view source give me that?
sukh48 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:45 PM.


Advertisement
Log in to turn off these ads.