I have this div:
#edj{
width:50%;
border-style: solid;
border-width: 5px;
}
</style>
</head>
<body>
<div id = "edj">
<p><label>Faculty <input type="text" class = "k"> </label></p>
<p><label >Departmet <input type="text" class = "k"> </label>
</div>
I want to make textboxes width 30 percent of the div width.
How can I implement this using css code?
<input>
anid
and each<label>
afor
. I am confused as to why the<label>
is itself wrapped in a paragraph, though; that seems unnecessary.