Reply
Text vertically inline with image
Old 08-02-2007, 04:51 PM Text vertically inline with image
Average Talker

Posts: 15
Name: Kevin
I have a container that is for placing orders. The third line has the #3 along with the submit button image. I would like to have the #3 be vertically in line with the image that is to say I want the #3 to move up a few pixels. Right now it sits below the image. Here is a link, hope I conveyed what I am looking to do http://www.precisemessenger.com/private/orderform.html

Thanks,
Kevin
jumpink is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 08-02-2007, 05:48 PM Re: Text vertically inline with image
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,945
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
You'll never get the 3 to line up exactly in all cases, Kevin. It's not a bad thought, but plain text is resizeable and as a result, you're going to have cases where the 3 is higher or lower than you want it.

If it's that important to you to have it that way, the only sure thing is a graphic #3...but that's not the best from a usability point of view.

For a plain text #3, add this:

<input type="image" style="margin: 0.25em 0 0 0;" ...

Adjust the margin as appropriate for your image and you should be okay...not great, but okay.
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 08-02-2007, 05:59 PM Re: Text vertically inline with image
Average Talker

Posts: 15
Name: Kevin
You are right it is acceptable, I just thought there might be a quick fix. I just got it to validate so I won't screw with it. Thanks for the help!
jumpink is offline
Reply With Quote
View Public Profile
 
Old 08-03-2007, 02:53 AM Re: Text vertically inline with image
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,945
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
No probs, dude. Good luck to you!
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Reply     « Reply to Text vertically inline with image
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Webmaster Resources Marketplace:
Software Development Company | Webhosting.UK.com | Text Link Brokers 


   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.11779 seconds with 12 queries