Jump to content

Question


timmy0320

Recommended Posts

Let me re-phrase my question because I need some help. lol. Take a look at this test page

 

 

The left and right boxes should display next to each other not on top of each other like they code.

 

<div id="headerbox"> <!-- begin headerbox -->
  
  <div id="logo"> <!-- begin logo -->left side</div> 
  <!-- end logo -->
  
  <div id="search"> <!--begin search -->right side test</div> 
</div> 
<!-- end headerbox -->

 

#headerbox {
position: relative;
width: 1000px;
text-align: center;
margin-bottom: 0;
}

#search {
position: relative;
height: 100px;
width: 300px;
text-align: left;
margin: 0;
}

#logo {
position: relative;
height: 100px;
width: 400px;
text-align: right;
margin-bottom: 0
} 

 

 

Link to comment
Share on other sites

Alright I fixed the boxes. Now how do I make the 'headerbox' force everything to stay at the width of 1000px? It seems to not be doing it . Check out the link you will see. Here is updated CSS code:

 

#headerbox {
position: relative;
width: 1000px;
text-align: center;
margin-bottom: 0;
}

#search {
float: right;
height: 100px;
width: 300px;
text-align: center;
margin: 0;
}

#logo {
float: left;
height: 100px;
width: 400px;
text-align: center;
margin-bottom: 0
} 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.