I'd like a search box with a button immediately butted up next to it, with both elements the same height... But I can't get them to be the same height across all browsers! It seems like a simple task, but it just won't work! This is how I'd like it to work, and I've tried all sort of different permutations...
Can anyone help me please? Am I doing something dumb?!Code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"> <head> <style type="text/css"> .searchtext { border:1px solid #000; border-right:none; padding:4px; margin:0px; } .searchbutton { border:1px solid #000; background:#fd0; vertical-align:top; padding:4px; margin:0px; } </style> </head> <body> <input type="text" class="searchtext" /><input type="submit" value="Search" class="searchbutton" /> </body> </html>
Jonathan


Reply With Quote


.


Bookmarks