brown2005 Posted September 24, 2008 Share Posted September 24, 2008 hi, i am having problems aligning a search bar i am doing, http://www.allinthissite.co.uk/ , is what my problem is. any help please? Quote Link to comment https://forums.phpfreaks.com/topic/125582-aligning-the-attached/ Share on other sites More sharing options...
dropfaith Posted September 24, 2008 Share Posted September 24, 2008 how are you trying to align it? left center right? i need more details to fix this Quote Link to comment https://forums.phpfreaks.com/topic/125582-aligning-the-attached/#findComment-649318 Share on other sites More sharing options...
dropfaith Posted September 24, 2008 Share Posted September 24, 2008 how are you trying to align it? left center right? i need more details to fix this put a id on the div its empty is all the advise i can give you unless i know where you want it aligned Quote Link to comment https://forums.phpfreaks.com/topic/125582-aligning-the-attached/#findComment-649320 Share on other sites More sharing options...
vikramjeet.singla Posted September 24, 2008 Share Posted September 24, 2008 please try this: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> </head> <style type="text/css"> form{ margin:0px; padding:0px; } .lft{ position:relative; float:left; } #changeForm p { color: #999; font-size: .9em; padding: 0 0 8px 12px; } #search { background:transparent url(changesearch.gif) repeat-x scroll 0 0; border:0 none; font-family:Arial,Helvetica,sans-serif; font-weight:bolder; height:30px; width:400px; padding-top:4px; font-size:1.0em; } </style> </head> <body> <form action='#' id='changeForm' method='post'> <input alt='left' border='0' src='left.gif' type='image' id="left" class="lft" /><input id='search' name='name' size='65' type='text' value='' class="lft" /><input alt='Go' border='0' src='right.gif' type='image' id="right" class="lft" /> <p>Type a change in the search bar above or browse others below</p> </form> </body> </html> Quote Link to comment https://forums.phpfreaks.com/topic/125582-aligning-the-attached/#findComment-649357 Share on other sites More sharing options...
brown2005 Posted September 24, 2008 Author Share Posted September 24, 2008 yeah that works fine vikramjeet.singla thanks very much Quote Link to comment https://forums.phpfreaks.com/topic/125582-aligning-the-attached/#findComment-649462 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.