September 26th, 2003, 09:44 PM
CSS for input text
I want to create input text boxes like www.templatemonster.com . I have found a css but it doesn't work. I have search tutorials, but it just doesn't display right. Help!
September 26th, 2003, 10:13 PM
Steal it from them. You've got the source sitting there right in front of you when you're viewing the page, what more do you need?
September 26th, 2003, 10:30 PM
What code is the right one to copy? I have scanned it 12 times but can't see where it starts and ends.
September 26th, 2003, 10:42 PM
View source. Look for the form you like. If the style is in a class,(it probably will be, if they didn't just redefine the default for an input element in the CSS stuff), trace back the classes until you find either the style definitions in the head of the document OR an externally linked CSS file. Rip those off.
If you're unable to figure this out or have no clue what I'm talking about, you should probably read through some CSS/HTML tutorials or wait for someone do tell you exactly what to do and where to put your code. We all learn through experimentation!
And please keep replies in the threads they belong in. I think it's rude to PM to bring attention to threads OR to ask for replies off-forum. Part of being in a forum is building knowledge for everyone.
October 1st, 2003, 06:50 AM
The CSS used in that page is:
With each input having the class 'search'. But much of that CSS is completely redundant, it could simply be written as:
October 1st, 2003, 12:04 PM
That is perfect. Thank you so much.