...

View Full Version : text boxes css help plz



bazz
05-18-2005, 03:23 PM
Hi,
Can't seem to figure out the css for this:
1. to control the text boxes without assigning each a class

what should I put instead of div#create for_input { ?

<div id="create"><form action="">
<input type="hidden" name="check_path" value="/General_Pages">
<input type="text" name="file_name" value="">
<input type="submit" name="action" value="Create">
<input type="hidden" name="check_file" value="General_Pages">
<textarea rows="25" cols="10" name="" value=""></form>
</div>

here's the css so far:

div#create {
width : 500px;
text-align : center;
margin : auto auto;
border : 1px solid #785b83;
}

div#create for_input {
background-color : #E5F9FF;
border : 1px #000040 dotted;
font-size : 12px;
height : 15px;
width : 300px;
}

div#create for_textarea {
background-color : #E5F9FF;
border : 1px solid #785b83;
font-size :12px;
height : 150px;
width : 300px;
}

Bazz

NancyJ
05-18-2005, 03:36 PM
div#create {
width : 500px;
text-align : center;
margin : auto auto;
border : 1px solid #785b83;
}

div#create input {
background-color : #E5F9FF;
border : 1px #000040 dotted;
font-size : 12px;
height : 15px;
width : 300px;
}

div#create textarea {
background-color : #E5F9FF;
border : 1px solid #785b83;
font-size :12px;
height : 150px;
width : 300px;
}

bazz
05-18-2005, 05:07 PM
NancyJ thanks for that.

I suppose that, to make sure the submit button holds the default/correct button appearance, I must place it outside the div?

Bazz



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum