Does anybody know where the search box border gets it colour id from?
I've searched all my templates and css cant see a reference to #7F9DB9
which is the colour it is.......
TIA
Search box border colour [SOLVED]
Search box border colour [SOLVED]
Last edited by avon_g on Tue Aug 28, 2007 5:33 pm, edited 1 time in total.
Re: Search box border colour
More info please...
Re: Search box border colour
Ive used the standard templates and style sheets and made edits for colour etc....
The search box has a 1px border around it that is made from a #7F9DB9 (Light
Blue Colour) same as on this page at top.
I cant seem to find any referance to what makes the search box border colour anywhere...
TIA
The search box has a 1px border around it that is made from a #7F9DB9 (Light
Blue Colour) same as on this page at top.
I cant seem to find any referance to what makes the search box border colour anywhere...
TIA
Re: Search box border colour
If you use this it will come out a diff. color, a little strange...
#m2searchinput{border-color:#000} I found the m2searchinput by looking at the source for the rendered page, this # means id...
Search:
If you go here you will/can learn more about CSS and border calls...
just type border in the search box...
http://www.w3schools.com/default.asp
#m2searchinput{border-color:#000} I found the m2searchinput by looking at the source for the rendered page, this # means id...
Search:
If you go here you will/can learn more about CSS and border calls...
just type border in the search box...
http://www.w3schools.com/default.asp
Re: Search box border colour
i think the search box is getting its colour from somewhere else.
I added :-
border-style: solid;
border-color: #0000ff
just to see what changes and it surrounded the whole search module placed in the page.
Im trying to change the box to the right of the "Search:"
Ill keep hunting, its got to be getting it from somewhere
I added :-
border-style: solid;
border-color: #0000ff
just to see what changes and it surrounded the whole search module placed in the page.
Im trying to change the box to the right of the "Search:"
Ill keep hunting, its got to be getting it from somewhere
Re: Search box border colour
Input boxes get a border automatically, what you have is probably in the div#search call, if you want just the input box changed you have to target the "m2searchinput" like I posted otherwise yes the whole thing will get a border...
I put this in your CSS and got a thick very blue border...
#m2searchinput{
border-style: solid;
border-color: #0000ff}
I put this in your CSS and got a thick very blue border...
#m2searchinput{
border-style: solid;
border-color: #0000ff}