No replies
jrleo
Offline
newbie
Last seen: 13 years 17 weeks ago
Joined: 2009-03-06
Posts: 1
Points: 0

Hi,
I am a real newbie to CSS and while I've figured quite a lot with online help, I am stuck at something not very significant but that keeps nagging at me. I have a list of 10 items that I need to enter. I want the list to be like 1, 2 3.. 10 one under the other. I have created the list but the number 10 is larger than the number one so that last textbox is not aligned with the other. Could you tell me how I could remedy to that? I'd like the bels to take up 2 positions for everyone so all the boxes are aligned.

Thank you kindly for any help. My complete code is below. You can copy paste it in an html file to see what I get.

Thanks in advance,
J-R

form
{
position:absolute;
top:7em;
left:15em;
}

form fieldset {
border:1px solid green;
width: 20em;
top:10em;
left:26em;
margin: 0;
}

fieldset legend
{
color: black;
background: #F8F8F8;
}

form label {
display: inline;
float: none;
padding: 1em;
width:5em;
}

form input, form textarea, form select {
padding: 0;
float: none;
}

1
2
10