[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.8

How can I move text box to the top of the box?

Asked by fialkoff in Cascading Style Sheets (CSS), WordPress, Web Languages/Standards

Tags: CSS, Internet Explorer, Firefox, Safari, http://019d900.netsolhost.com/Wordpress/

I am trying to create a contact form like the one attached.

Right now, the comment area ("Type your message here") starts below the "Phone" field.

How can I alter the CSS to get the comment form vertically aligned with the "Name" field?

Attached is the CSS for the form (which is from the cForms II plugin for WordPress).

Also, can you please tell me how to eliminate the white border on the comment box?

Thanks,
Josh
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
153:
154:
155:
156:
157:
158:
159:
160:
161:
162:
163:
164:
165:
166:
167:
168:
169:
170:
171:
172:
173:
174:
175:
176:
177:
178:
179:
180:
181:
182:
183:
184:
185:
186:
187:
188:
189:
190:
191:
192:
193:
194:
195:
196:
197:
198:
199:
200:
201:
202:
203:
204:
205:
206:
207:
208:
209:
210:
211:
212:
213:
214:
215:
216:
217:
218:
219:
220:
221:
222:
223:
224:
225:
226:
227:
228:
229:
230:
231:
232:
233:
234:
235:
236:
237:
238:
239:
240:
241:
242:
243:
244:
245:
246:
247:
248:
249:
250:
251:
252:
253:
254:
255:
256:
257:
258:
259:
260:
261:
262:
263:
264:
265:
266:
267:
268:
269:
270:
271:
272:
273:
274:
275:
276:
277:
278:
279:
280:
281:
282:
283:
284:
285:
286:
287:
288:
289:
290:
291:
292:
293:
294:
295:
296:
297:
298:
299:
300:
301:
302:
303:
304:
305:
306:
307:
308:
309:
310:
311:
312:
313:
314:
315:
316:
317:
318:
319:
320:
321:
322:
323:
324:
325:
326:
327:
328:
329:
330:
331:
332:
333:
334:
335:
336:
337:
338:
339:
340:
341:
342:
343:
344:
345:
346:
347:
348:
349:
350:
351:
352:
353:
354:
355:
356:
357:
358:
359:
360:
361:
362:
363:
364:
365:
366:
367:
368:
369:
370:
371:
372:
373:
374:
375:
376:
377:
378:
379:
380:
381:
382:
383:
384:
385:
386:
387:
388:
389:
390:
391:
392:
393:
394:
395:
396:
397:
398:
399:
400:
401:
402:
403:
404:
405:
406:
407:
408:
409:
410:
411:
412:
413:
414:
415:
416:
417:
418:
419:
420:
421:
422:
423:
424:
425:
426:
427:
428:
429:
430:
431:
432:
433:
434:
435:
436:
437:
438:
439:
440:
441:
442:
443:
444:
445:
446:
447:
448:
449:
450:
451:
452:
453:
454:
455:
456:
457:
458:
459:
460:
461:
462:
463:
464:
465:
466:
467:
468:
/*                                                    */
/*  main 'top-level' form elements                    */
/*                                                    */
@import "calendar.css";
 
.cform { 
border:1px solid #B8B9BD;
margin:50px 10px 5px -45px !important;
width:370px;
}
 
.cform fieldset	{ 
	margin-top:10px; 
	padding:5px 0 5px 0; 
}
 
.cform .cf_hidden {
	display:none; 
	border:none!important;
	background:none!important;
	padding:0!important;
	margin:0!important;
}
 
.cform legend { 
	margin:0;
	padding:0; 
	font:normal 18px Helvetica; 
	color: #aaa;
	letter-spacing:3px;
}
 
ol.cf-ol { 
margin:0 !important;
padding:0 !important;
}
ol.cf-ol li	{
	margin:5px -47px !important;
	padding:0; 
	list-style:none!important; 
	text-align:left;
	line-height:1.1em;
}
 
 
/*                                                    */
/* just for text-only fields (no input)               */
/*                                                    */
 
ol.cf-ol li.textonly {
background:#B8B9BD none repeat scroll 0 0;
color:#58585A;
font-size:1em;
letter-spacing:2px;
margin:0 !important;
padding:5px 0 5px 0;
text-align:center;
width:370px;
}
 
 
/*                                                    */
/* global definitions for field labels                */
/*                                                    */
 
.cform label {
	width:90px; 
	margin:4px 10px 0 0; 
	display:-moz-inline-box; /*for mozilla*/
	display:inline-block; /*for Opera & IE*/
	text-align:left;
	vertical-align:top;
	color: #aaa;
	font:0.9em Trebuchet MS,sans-serif;
}
.cform label span {
	width:90px; /* must be the same as above!*/
	display:block; 
}
 
label.cf-before {
	margin:4px 10px 0 0; 
}
 
label.cf-after 	{
	margin:4px 2px 0pt 6px;
	text-align:left;
	width:75px;
}
 
label.cf-after span {
	width:75px;
	display:block;
}
 
label.cf-group-after {
	margin:4px 0 0 2px;
	width:60px;
	text-align:left;
}
label.cf-group-after span {
	width:60px;
	display:block;
}
 
/*                                                    */
/*   FORM FIELDS general formatting                   */
/*                                                    */
 
.cform input,
.cform select { 
background:#98999D none repeat-x scroll left top;
border:1px solid #AAAAAA;
color:#FFFFFF;
font-family:Trebuchet MS,sans-serif;
font-size:0.9em;
font-size-adjust:none;
font-stretch:normal;
font-style:normal;
font-variant:normal;
font-weight:normal;
line-height:normal;
margin-left:-45px;
padding:3px;
vertical-align:top;
}
 
.cform input:hover, 
.cform textarea:hover,
.cform select:hover	{
	border: 1px solid #FFCC00;
	background:#fdba31 repeat-x bottom left; 
}
 
.cform input:focus,
.cform textarea:focus,
.cform select:focus	{ 
	color:#666;
	background:#fdba31 repeat-x bottom left; 
}
 
.cform input {
	width:150px; 
}
.cform select {
	width:150px; /* attempt to have equal length */
}  
 
.cform select.cfselectmulti	{ 
	height:7.5em; 
}
 
.cform textarea {
color:white;
font-family:arial;
font-size:0.9em;
margin-left:125px;
overflow:auto;
width:150px;
background-color:#98999D;
}
 
/*                                                    */
/* formatting for text:  "(required)"  & other        */
/*                                                    */
 
span.reqtxt,
span.emailreqtxt { 
	margin:0px 5px 7px 98px;
	display: block; 
	vertical-align:top;
	color: #aaa;
	font-size:0.0em;
	line-height:1.2em;
}
 
 
/*                                                    */
/*   radio button title                               */
/*                                                    */
 
ol.cf-ol li.cf-box-title {
	color:#888888;
	font-size:1em;
	letter-spacing:2px;
	margin:12px 0pt 0 !important;
	padding:0pt 0pt 0pt 100px;
}
 
/*                                                    */
/*   check boxes                                      */
/*                                                    */
 
input.cf-box-a,
input.cf-box-b 	{ 
	margin:1px 0 0 0; 
	width:16px; 
	height:22px;
	border:none!important;
	background:none!important;
}
 
input.cf-box-a 	{ 
	margin-left:100px; /* check with label 'width' incl. */
} 
 
 
/*                                                    */
/* check box groups                                   */
/*                                                    */
 
ol.cf-ol li.cf-box-group {
	padding: 0 0 5px 100px; 
 
} 
 
 
/*                                                    */
/*   FORM submit button                               */
/*                                                    */
 
p.cf-sb {
margin:0 50px 0 0;
padding:0 3px 0 0 !important;
text-align:right;
}
.cform input.sendbutton	{ 
background:#797A7E none repeat-x scroll 0 0;
border:1px solid #B8B9BD !important;
color:#FDBA31;
font-size:0.8em;
margin:0 -10px 10px 0;
padding:2px;
text-transform:uppercase;
width:100px;
}
 
/*                                                    */
/*   FORM FIELDS enhanced error display               */
/*                                                    */
ol.cf-ol li.cf_li_err {
	background:#FFDFDF url(li-err-bg.png) repeat!important;
	border-color:#DF7D7D;
	border-style:solid;
	border-width:1px 0pt;
	padding:5px 0!important;
	margin:5px 0!important;
}
 
ol.cf-ol li ul.cf_li_text_err {
	margin:0 0 0 10px;
	padding:0;
	color:#333;
}
 
ol.cf-ol ul.cf_li_text_err li {
	background:url(icon-alert.png) no-repeat left 1px!important;
	list-style:none!important;
	font-weight:bold;
	text-indent:0;
	margin:0 0 2px!important;
	padding-left:15px;
}
ol.cf-ol ul.cf_li_text_err li:before {
	content:'';
}
 
/*                                                    */
/* 'visitor verification' related styles              */
/*                                                    */
label.secq,
label.seccap {
	vertical-align:text-bottom;
	margin-bottom:4px;
}
 
input.secinput {
	vertical-align:text-bottom;
}
 
#cforms_captcha6,
#cforms_captcha5,
#cforms_captcha4,
#cforms_captcha3,
#cforms_captcha2,
#cforms_captcha {
	height:15px;
	width:100px;
	padding: 4px 4px;
	margin: 0;
	vertical-align:text-bottom;
}
 
img.captcha	{
	vertical-align:text-bottom;
	margin:0 0 0 10px!important;
	padding:0!important;
	border:none!important;
	float:none!important;
}
 
img.captcha-reset {
	vertical-align:text-bottom;
	background:	url(captcha_reset_white.gif) no-repeat;
	margin:0 0 2px 3px;
	width:21px;
	height:21px;
	border:none;
}
 
img.imgcalendar {
	border:none;
}
 
/*                                                    */
/* change formatting of response msgs here            */
/*                                                    */
 
div.cf_info {
	color:#333;
	display:none;
	padding:10px 15px!important;
	width:380px;
	line-height:1.3em;
	margin:10px auto;
}
div.cf_info ol {
	margin:0;
	padding:5px 15px 0 30px;
}
div.cf_info ol li {
	padding:1px 0;
	margin:2px 0;
}
div.cf_info a	{
	color:red!important;
	text-decoration:underline!important;
}
div.success {
	background:#F9F9F9 none repeat scroll 0%;
	color:#AAAAAA;
	display:block;
}
div.failure {
	display:block;
	background:#FFDFDF url(li-err-bg.png) repeat!important;
	border-color:#DF7D7D;
	border-style:solid;
	border-width:1px 0pt;
}
div.waiting {
	background:#F9F9F9;
	color:#AAAAAA;
	display:block;
}
/*                                                    */
/*   formatting for invalid user inputs               */
/*                                                    */
.cform .cf_error { 
	color:red; 
	border:1px solid #FF0000; 
}
div.mailerr {
	display:block;
}
.mailerr,
.cform .cf_errortxt {
	color:red; 
}
 
/*                                                    */
/* change formatting of response msgs here            */
/*                                                    */
 
p.cf_info 		{
	margin:10px 0;
	text-align:center;
}
p.success 	{
	color:green;
}
p.failure 	{
	color:red;
}
 
/*                                                    */
/* disabled fields [disabled] does not work on IE!    */
/*                                                    */
 
[disabled] {
	color:#dddddd;
	border-color:#dddddd!important;
	background:none!important;
}
.disabled {
	border-color:#dddddd!important;
}
 
/*                                                    */
/* upload box styling                                 */
/*                                                    */
 
.cform input.cf_upload  {
 
	width:220px;
 
	background: #f9f9f9;
	border:1px solid #888888;
}
 
/*                                                    */
/*  Other: link love                                  */
/*                                                    */
.linklove {
margin:6px -52px 10px !important;
padding:0 6px 0 0 !important;
text-align:right;
width:360px;
}
.linklove a,
.linklove a:visited {
	font-size: 0.8em;
	font-family: Tahoma;
	color:#aaaaaa!important;
}
 
 
/*                                                    */
/*  Other: browser hacks                              */
/*                                                    */
*+html ol.cf-ol,
*+html ol.cf-ol li	{
	display: inline-block;  /*for ie7*/
}
* html ol.cf-ol,
* html ol.cf-ol li,
* html span.reqtxt,
* html span.emailreqtxt { 
	display: inline-block;
}
* html .cform legend { 
	position:absolute; 
	left: -8px; 
	top:0;
	margin-left:0;
}
*+html .cform legend { 
	position:absolute; 
	left: -8px;
	top:0;
	margin-left:0;
}
* html .cform fieldset {
	position: relative;
	margin-top:15px;
	padding-top:25px; 
}
*+html .cform fieldset {
	position: relative;
	margin-top:15px;
	padding-top:25px; 
}
* html img.captcha	{
	margin-bottom:1px!important;
}
*+html img.captcha	{
	margin-bottom:1px!important;
}
Attachments:
 
JPEG of page
JPEG of page
 
[+][-]12/02/08 06:34 AM, ID: 23077111Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zones: Cascading Style Sheets (CSS), WordPress, Web Languages/Standards
Tags: CSS, Internet Explorer, Firefox, Safari, http://019d900.netsolhost.com/Wordpress/
Sign Up Now!
Solution Provided By: fialkoff
Participating Experts: 2
Solution Grade: A
 
[+][-]11/25/08 03:17 AM, ID: 23033691Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/25/08 07:15 AM, ID: 23035132Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/25/08 01:27 PM, ID: 23037850Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/25/08 11:32 PM, ID: 23040054Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/26/08 02:54 AM, ID: 23040960Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-92 - Hierarchy / EE_QW_2_20070628