Jump to content

IE6 First Field is positioned to the left of the rest of the form


DataRater

Recommended Posts

This is IK on Chrome and IE 7/8 Fiirefox. Here is the example.

 

<div id='NewsTopInsertForm'>

<form action='http://www.test.com/NewsInsert' method='post'>

<input name='Mode' type='hidden' value='INSERT' size='40' maxlength='40'/>

<table width='100%'>

<tbody>

 

<tr>

<td>

<ol>

<li><label for="url" >URL <span class='required'>required</span></label>

  <textarea class="One" id="url" name="url" rows="2" cols="60 ">http://</textarea>

  <font style="color:#DCDCDC;"></font>

</li>

<li><label for="title" >Title <span class='required'>required</span></label>

  <textarea class="One" id="title" name="title" rows="2" cols="60 ">Put a friendly title here</textarea>

  <font style="color:#DCDCDC;"></font>

</li>

<li><label for="description" >Description <span class='required'>required</span></label>

  <textarea class="One" id="description" name="description" rows="7" cols="60 ">Enter your description</textarea>

  <font style="color:#DCDCDC;"></font>

</li>

</ol>

</td>

</tr>

 

<tr>

<td>

<div id='NewsTopInsertFormSubmit'><input type='submit' class='submit' value='Add news'/>

</div>

</td>

</tr>

</tbody>

</table>

</form>

</div>

 

 

#NewsTopInsertForm {

clear            : both;

margin          : 0px 0px 0px 0px;

padding          : 20px 0px 20px 0px;

display          : block;

width            : 100%;

background-color : #6D97B3;

}

#NewsTopInsertForm ol{

border          : 1px solid #FF0000;

padding          : 5px 5px 0px 5px;

list-style      : none;

}

#NewsTopInsertForm li{

margin          : 0px 0px 0px 100px;

border          : 1px solid #00FF00;

width            : 90%;

list-style      : none;

}

#NewsTopInsertForm label{

float            : left;

border          : 1px solid #0000FF;

width            : 150px;

margin-right    : 10px;

text-align      : right;

}

#NewsTopInsertFormSubmit{

display          : block;

width            : 96%;

padding          : 5px;

text-align      : center;

}

 

 

Thanks for looking,

 

Stephen

 

 

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.