Solved

Cannot get this image button to display properly

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

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 82

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 82

Expert Comment

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

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

758 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

14 Experts available now in Live!

Get 1:1 Help Now