View Single Post
Old 08-29-2006   #1 (permalink)
Neil_8_24_93
Intermediate User
 
Neil_8_24_93's Avatar
 
Join Date: May 2006
Posts: 96

Send a message via AIM to Neil_8_24_93 Send a message via MSN to Neil_8_24_93
CSS Help PLEASE READ!!!

OK. For some strange reason my CSS margins arent working I tried several different browsers but all of them are the same. Take my text field for example here is my code:


<div class = "username">
<form>
<input type = "text" name = "username" class = "field" value = "username" onfocus="if (this.value==this.defaultValue) this.value='';" onblur= "if(this.value=='')this.value=this.defaultValu e"/>
</form>
</div>

here is my CSS:

.username{
margin: 0px 0px 0px 0px
}

what ever i make my margin's the text box doesnt move can someone please help me? this just started recently its never done this before.
Neil_8_24_93 is offline