CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 26th, 2003, 09:44 PM
hawaii5point0 hawaii5point0 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2002
Location: Honolulu
Posts: 34 hawaii5point0 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Send a message via Yahoo to hawaii5point0
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!

Reply With Quote
  #2  
Old September 26th, 2003, 10:13 PM
Hero Zzyzzx's Avatar
Hero Zzyzzx Hero Zzyzzx is offline
11
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Jul 2001
Location: Lynn, MA
Posts: 4,632 Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 4 Days 23 h 12 m 33 sec
Reputation Power: 77
Send a message via AIM to Hero Zzyzzx
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?

Reply With Quote
  #3  
Old September 26th, 2003, 10:30 PM
hawaii5point0 hawaii5point0 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2002
Location: Honolulu
Posts: 34 hawaii5point0 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Send a message via Yahoo to hawaii5point0
What code is the right one to copy? I have scanned it 12 times but can't see where it starts and ends.

Reply With Quote
  #4  
Old September 26th, 2003, 10:42 PM
Hero Zzyzzx's Avatar
Hero Zzyzzx Hero Zzyzzx is offline
11
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Jul 2001
Location: Lynn, MA
Posts: 4,632 Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level)Hero Zzyzzx User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 4 Days 23 h 12 m 33 sec
Reputation Power: 77
Send a message via AIM to Hero Zzyzzx
Sure!

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.

Quote:
recieved via PM
hawaii5point0 wrote on September 26th, 2003 11:31 PM:
I can't find the right code on www.templatemonster.com . Can you help?

Reply With Quote
  #5  
Old October 1st, 2003, 06:50 AM
sacrilege sacrilege is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2002
Location: Norwich, UK
Posts: 53 sacrilege User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 h 1 m 53 sec
Reputation Power: 6
The CSS used in that page is:
Code:
.search {
	font-family:Tahoma,Verdana,Arial;
	font-size:11px;
	color:686868;
	border-left-style: solid;
	border-left-width: 1px;
	border-left-color: 8B9A9F;

	border-bottom-style: solid;
	border-bottom-width: 1px;
	border-bottom-color: 8B9A9F;

	border-top-style: solid;
	border-top-width: 1px;
	border-top-color: 8B9A9F;

	border-right-style: solid;
	border-right-width: 1px;
	border-right-color: 8B9A9F;
}


With each input having the class 'search'. But much of that CSS is completely redundant, it could simply be written as:
Code:
.search {
	font-family: Tahoma,Verdana,Arial;
	font-size: 11px;
	color: #686868;
	border-style: solid;
	border-width: 1px;
	border-color: #8B9A9F;
}

Reply With Quote
  #6  
Old October 1st, 2003, 12:04 PM
hawaii5point0 hawaii5point0 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2002
Location: Honolulu
Posts: 34 hawaii5point0 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Send a message via Yahoo to hawaii5point0
That is perfect. Thank you so much.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > CSS for input text


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway