0

I have a problem with LABEL followed by P tag.

form#two p {
	display: inline;
	margin-bottom: 10px;
	width:200px;
}
form#two label {
	display: block;
	float: left;
	width: 100px;
	margin-bottom: 10px;
	width: 12em;
	padding-right: 5px;
	font-weight: bold;
	text-align: right;
	color: #AB0101;
}

My goal is to get LABEL and P contents displayed on the same line. It works fine in firefox but doesnt in IE6. Can some1 pls help me out? and make it work in IE6? Cheers

1
Contributor
1
Reply
2
Views
7 Years
Discussion Span
Last Post by ablitz
0

I have a problem with LABEL followed by P tag.

form#two p {
	display: inline;
	margin-bottom: 10px;
	width:200px;
}
form#two label {
	display: block;
	float: left;
	width: 100px;
	margin-bottom: 10px;
	width: 12em;
	padding-right: 5px;
	font-weight: bold;
	text-align: right;
	color: #AB0101;
}

My goal is to get LABEL and P contents displayed on the same line. It works fine in firefox but doesnt in IE6. Can some1 pls help me out? and make it work in IE6? Cheers

my problem was i had an extra clear:left under P;)

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.