Copy link to clipboard
Copied
I'm largely a beginner with Dreamweaver CS4 on my Mac.
Today I began to use Spry, and I have created text fields for "First name", "Last name" and "email".
My challenge is that I would like the left most boundaries to line up, under each other, BUT I cannot for the life of my figure out how to do this.
How is this done?
Copy link to clipboard
Copied
CSS is the best way.
I am currently making a site completely using CSS as layout.
I would normally create forms with tables, but have used CSS to do certain things.
I have a fieldset with legend and within that the inputs:
My CSS:
fieldset {
border-style:solid;
border-width:2px;
border-color:#bcbb00;
padding:5px 5px 5px 5px;
}
legend {
color:#4d485c;
padding-left:3px;
font-weight:bold;
}
#sprytextfield1 {
display: block;
width: 120px;
float: left;
margin-bottom: 10px;
}
#sprytextfield2 {
display: block;
width: 120px;
float: left;
margin-bottom: 10px;
}
br {
clear: left;
}
This give me a two column look to my form
Find more inspiration, events, and resources on the new Adobe Community
Explore Now