How an I insert a textbox search field on my website? CSS HELP?
Hi,
How do I use CSS and insert a textbox search field on top of my website’s green space? I know I can use absolute positioning. Look at my website here:
http://sbuguide.com/index-developing.php
I’m trying to put a text box search field on the green bar on top but I dont want to use CSS position absolute because the website is being centered. The search bar would be in different positions if I made the search box’s position absolute.
How do I make it stay in the same area in all screen resolutions?
Thanks
One Response
jaxicle
17 Sep 2009





<form id="searchform" action="" method="post">
<p><input type="text" id="searchfield" name="searchfield" value="" />
<button type="submit">Go</button></p>
</form>
Place this in a div that the area you want it is in. make sure the container is fluid if you want to have it flow with browser resize and style it to your liking.
#div formcontainer form {
float: left;
}
for instance.
good luck!