0

Here is my problem:
I have a checkbox and text input elements inside the same ID.
I need checkbox to be 20px wide and textbox - 200px wide.
I have this:

#check input {
	float:left;
	border:solid 1px #afd45a;
	width:20px;
	margin:2px 10px 10px 6px;
}

What's my solution should be for the textbox?

Here is my HTML

<div id = "check">
		<input type="checkbox" id="patent" name="patent" value="Y" /> 
		<label for="patent">US Patent (patent number):</label>
		<input type="text" id="patentnum" name="patentnum" />
            </div>

Edited by levsha: n/a

2
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by levsha
0
#check #patentnum { width: 200px; }

So simple and never occurred to me!
Thank you! It worked.

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.