HTML, CSS and anything else that deals with client side capabilities.
Moderator: General Moderators
-
Sindarin
- Forum Regular
- Posts: 521
- Joined: Tue Sep 25, 2007 8:36 am
- Location: Greece
Post
by Sindarin »
My HTML and CSS are both validate. Every browser plays nicely except...
Code: Select all
#search-field
{
position:relative;
left:300px;
top:0px;
color:#666666;
width:200px;
height:16px;
font-size:11px;
font-family:Verdana;
border-style:none;
text-indent:21px;
padding-top:3px;
background-image:url(../../files/images/searchlabel.png);
background-repeat:no-repeat;
}
-
kaszu
- Forum Regular
- Posts: 749
- Joined: Wed Jul 19, 2006 7:29 am
Post
by kaszu »
Try padding-left instead of text-indent.
-
Sindarin
- Forum Regular
- Posts: 521
- Joined: Tue Sep 25, 2007 8:36 am
- Location: Greece
Post
by Sindarin »
I had to change the textfield's position as well but it worked. Thanks.
Damn you Microsoft! Fix those CSS bugs already!