Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 05-01-2011, 08:51 PM   PM User | #1
Kevin_M_Schafer
Regular Coder

 
Kevin_M_Schafer's Avatar
 
Join Date: Apr 2011
Location: Fairfax, Minnesota, U.S.A.
Posts: 482
Thanks: 97
Thanked 17 Times in 17 Posts
Kevin_M_Schafer is an unknown quantity at this point
Search query box won't be told were to go horizontally

Yesterday I received help on converting my search query box into a css border box. It works great. The problem I'm having it positioning it on the page. I have used "position:absolute;" I can use "top:110px;", but as soon as I use "left:400px;", it takes on a "fixed"?? attitude. What I mean is it won't obey my wrapper and it stays in the same position as the browser window is moved narrower and wider.

How do I position this box horizontally?

Any help will be greatly appreciated.
Kevin_M_Schafer is offline   Reply With Quote
Old 05-01-2011, 09:25 PM   PM User | #2
Kevin_M_Schafer
Regular Coder

 
Kevin_M_Schafer's Avatar
 
Join Date: Apr 2011
Location: Fairfax, Minnesota, U.S.A.
Posts: 482
Thanks: 97
Thanked 17 Times in 17 Posts
Kevin_M_Schafer is an unknown quantity at this point
I think I got it! I inserted "margin" before the word "left"

So now I have margin-left:400px;

It seems to be working.
Kevin_M_Schafer is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:16 AM.


Advertisement
Log in to turn off these ads.