Welcome to our Graphic Design Forums! Your Design Forums has active graphic design forums where community members discuss graphic design related topics.
The Best of WordPress Freelance Folder Sub-Studio Design Blog Go Web Admin UPrinting.com Design Hide




Go Back   Graphic Design Forums > Web Design Forums > General Web Design Discussion > Front End Web Development

Reply
 
Thread Tools Display Modes
Old 05-18-2008, 01:05 AM   #1
Cash88
Intern
 
Join Date: Jan 2008
Posts: 13
Default Border outside of Form!

Hello Everyone,

I am trying to have a border around my input text field box

Here is the site http://kevinkashou.com/test.html where I am having trouble with. I have a picture of what I am trying to do and the html portion is right after that. YOu can see what I am getting instead.

HTML Code:
<span class="border"><input type="text" class="margin" value="Type Here. . ." /></span>
Code:
		.border {
			width: 146px;
			height: auto;
			margin: 0px;
			padding: 2px;
			border: 1px solid #FFCC33;
		}
		
		.margin {
			width: 150px;
			height: auto;
			margin: 0px;
			padding: 0px;
			font-size: 10px;
			color: #999999;
		}
Any Idea?

Thanks
Cash88 is offline   Reply With Quote
Old 05-18-2008, 02:56 PM   #2
leftover_color
Senior Designer
 
leftover_color's Avatar
 
Join Date: Apr 2008
Posts: 360
Default

I would try 2 things. One, look at the original's source, and spot any differences. Two, try making a background for the frame in photohsop and attributing it to the frame. Good luck!
leftover_color is offline   Reply With Quote
Old 05-18-2008, 03:44 PM   #3
Cash88
Intern
 
Join Date: Jan 2008
Posts: 13
Default

All i had to do was put display: block in the border class and it worked fine.
Cash88 is offline   Reply With Quote
Old 06-12-2008, 10:10 AM   #4
MediaMisfit
Designer
 
MediaMisfit's Avatar
 
Join Date: Jan 2008
Posts: 78
Default

I wouldn't use <span> at all. Just deffine it in your CSS form class.
MediaMisfit is offline   Reply With Quote
Reply


Thread Tools
Display Modes

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
Forum Jump


All times are GMT -5. The time now is 09:03 AM.

 

Contact Us | Advertise | Archive | Resources |

My Other Websites

Graphic Design Resources | T Shirt Blog | How to Start a Clothing Line | Design Gallery| PSD to HTML Reviews

Our Friends

3DS Max and Photoshop Tutorials | Vandelay Design | Urban Art and Design | Online Printing | Blog.SpoonGraphics | Free Vectors

| Digg for Designers | Web Design Blog

Design by: vBulletin Skins Zone Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0