Search button styling [SOLVED]
Posted: Thu Apr 23, 2009 4:49 pm
Hello,
In html template I have:
{search}
This is my search template:
{$startform}
{if isset($hidden)}{$hidden}{/if}
{$endform}
This is my CSS:
.search {
float: left;
text-align: right;
padding: 1em 0 0.4em 0;
margin-top: 40px;
margin-left: 10px;
width:205px;
height:75px;
}
.search input {
color:#000000;
border:1px solid #008B8B;
}
When there is border:1px solid #008B8B; in my css I GET BORDER AROUND SUBMIT BUTTON...
Is there a way to keep border around "search input" but lose it around submit button image?
In html template I have:
{search}
This is my search template:
{$startform}
{if isset($hidden)}{$hidden}{/if}
{$endform}
This is my CSS:
.search {
float: left;
text-align: right;
padding: 1em 0 0.4em 0;
margin-top: 40px;
margin-left: 10px;
width:205px;
height:75px;
}
.search input {
color:#000000;
border:1px solid #008B8B;
}
When there is border:1px solid #008B8B; in my css I GET BORDER AROUND SUBMIT BUTTON...
Is there a way to keep border around "search input" but lose it around submit button image?