Solved

Cannot get this image button to display properly

Posted on 2012-03-23
5
273 Views
Last Modified: 2012-03-23
Hi

Please take a look at the following page

http://www.scfsb.com/NewLI/reservation.php

The submit button at the bottom of the page will not display properly I have checked the page in an HTML validator and there does not seem to be any errors.

Any help will be appreciated.
0
Comment
Question by:nsteele84
  • 3
  • 2
5 Comments
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 37759510
For that <input> element, in Firebug the calculated font size is 13px, line height is 16px, and the box height is 14px.  I would first try putting the correct width and height in the <input> statement.  You also have unwanted white space in that div that I would get rid of by running it all together.

<div id="SubmitDiv"><input type="image" src="images/reservations/SubmitImage.gif" id="ResSubmitButton" width="153px" height="26px" /></div>
0
 

Author Comment

by:nsteele84
ID: 37759526
Hi.

I tried removing the whitespace but that did not help. The width and height do not affect it either. It does not matter what width or height I specify or if I do not specify any at all it still stays the same size.
0
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 37759549
In your 'main.css' on line 282, you have
input 
{
height: 14px;
width: 165px;
}

Open in new window


That's probably it.  Increase the height or get rid of the statement unless you are using it elsewhere.  Or you could put it as an inline style="height: 26px;"
0
 

Author Closing Comment

by:nsteele84
ID: 37759674
Your right I forgot about that. Thanks
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 37759798
You're welcome.!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction The Google Maps API offers various ways to draw dynamic and static maps.  Using a combination of PHP and JavaScript, you can draw active JavaScript maps that allow pan-and-zoom in the client browser window.  You can also draw "static" …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now