Solved

Cannot get this image button to display properly

Posted on 2012-03-23
5
289 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
html border input line 7 26
Wordpress Hacked 1 71
Compute age Html 2 27
html form layout 4 36
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.
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
The viewer will learn the basics of jQuery including how to code hide show and toggles. 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…

733 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