Need to change some CSS
Posted: Sat Aug 25, 2007 8:45 am
I would like to do a little modification to my CSS. Currently it looks like this:

I want the labels and their respective fields to appear side by side. How do I get that?
My CSS:

I want the labels and their respective fields to appear side by side. How do I get that?
My CSS:
Code: Select all
/* form elements */
form {
margin: 15px;
padding: 0;
background: #000;
border: 3px solid #151515;
}
label {
display:block;
font-weight:bold;
margin:5px 0;
color: #FFFFFF;
}
table {
padding: 10px;
width: 100%;
}
input {
padding: 2px;
border: 1px solid #CCC;
font: normal 1em Verdana, sans-serif;
color:#000;
background: #CCC;
font-weight: bold;
}
textarea {
width: 250px;
padding:2px;
border: 1px solid #CCC;
font: normal 1em Verdana, sans-serif;
height:100px;
display:block;
color:#000;
background: #CCC;
}
input.button {
margin: 0;
font: bold 1em Tahoma, Sans-serif;
border: 1px solid #CCC;
padding: 2px 3px;
color: #000;
background: #CCC;
}