Solved

Cannot get this image button to display properly

Posted on 2012-03-23
5
277 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Someone recently asked me about how to display a progress indicator on a page while an iframe is loading. And I remember when I first came across this myself. It was a bit tricky to get my head around, but really, it's very simple. The most impor…
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

777 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