Hey all, I love to program but this CSS stuff is hard for me. I want to make a table less form and I also want to learn what is happening. I have 3 elements, and I want them all next to each other. Again I am learning.
I want it to look like this;
not to that scale but all on the same line. How can I do this...
Thanks,
-T
-How important does a person have to be before they are considered assassinated instead of just murdered?
-Need more cow bell!!!
Code:
<html>
<head>
<style type="text/css">
#container {
width:600px;
height:30px;
border:dotted;
}
label{
float: left;
width: 120px;
font-weight: bold;
}
input {
width: 80px;
font-weight: bold;
color:red;
}
#left {
font-weight: bold;
color:blue;
}
</style>
</head>
<body>
<div id="container">
<label>Left</label>
<input type="button" value="middle">
<div id="left">This is a test</div>
</div>
</body>
</html>
Code:
Left A Button This is a test
Thanks,
-T
-How important does a person have to be before they are considered assassinated instead of just murdered?
-Need more cow bell!!!