Solved

Cannot get this image button to display properly

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

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
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…

707 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