PDA

View Full Version : How can i get my search box in the same line with navbar


shfaya
Dec-15-2008, 03:52 AM
Hi.
Is there any way to put the small search box just next to the navbar. I can figureout how to make it lower and stuff like that but the idea would be to attach it somehow to the navbar so when i move and resize the navbar the search box moves with it.
Thanks

Allen
Dec-15-2008, 05:33 AM
Hi.
Is there any way to put the small search box just next to the navbar. I can figureout how to make it lower and stuff like that but the idea would be to attach it somehow to the navbar so when i move and resize the navbar the search box moves with it.
Thanks
Try this, locks the width to center and pushes it right.

#mysearch {
position: relative;
margin: 0 auto;
width: 200px;
left: 340px;
/* text-align: right; */
/* margin-right:50px; */
top: 30px;
}