G'day

I have added a "go" image for the submit button of a search field, its
aligned"absmiddle".
This dosnt align properly in compliant browsers like ff and safari but its
fine in ie6. http://www.mcmonagle.biz/OTI/newhome.htm

You might also have a look at http://validator.w3.org/check?uri=http%3A//www.mcmonagle.biz/OTI/newhome.htm



Suggest you fix the html errors, then start playing with css. Using line-height on the parent element, equal to, or more than the image's height might align the "button" the way you want.


For what it's worth...

http://www.w3.org/TR/REC-html40/struct/objects.html#adef-align-IMG

The align attribute is deprecated and should be avoided if possible. In addition, align="absmiddle" is a Microsoft Invention/Extension, which is why it works in MSIE.

Regards
--
Bert Doorn, Better Web Design
http://www.betterwebdesign.com.au/
Fast-loading, user-friendly websites

******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************



Reply via email to