Jump to content

Div - Stay in one spot


Lostvoices

Recommended Posts

 

why is it then if i make my browser smaller the stupid form in my div will go down to the next line instead of keeping the page the same and just not showing it.. it wants to make sure the form is shown

<html>
  
  <head>
    
<style type='text/css'>

   body{
     color:white;
     background-color: black;
   }
   #title{
     margin-left: 370px
	 }
  
    
   
   #left{
        float: left;
        margin-left:300px;
        width:330px;
       }

   #right{
     
     float:left;
     
     margin-top: 80px;
	   }

 </style>
  
  </head>
    
  <body>
  <div id="holder"  >
    <div id="title"><img src="title.jpg" width="446" height="97">
  <br/>
      <br/>
      <br/>
    </div>


    <div id="left" >
  <img src="spooky.jpg" width="400" height="400">
    </div>


  <div id="right">
        <form >
          <br>
	  <label>UserName:</label><br />
          <input name="user" type="text" size="0" maxlength="30" />
          <br>
	  <br>
          <label>Password:</label><br />
          <input name="pass" type="password" size="0" maxlength="30" />
	  <br>
	  <br>
	  <input type="image" src="login.gif" name="submit">
        </form>
	Stay Tuned as soon something exciting and 
	<br>scary will be in this spot 
      </div>
</div>
  </body>

</html>

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.