i am trying out CSS, and have this:
<style type="text/css">
<!--
h2 {
font-family: Arial, Helvetica, sans-serif;
font-size: 15px;
font-style: italic;
font-weight: bold;
}
--></style>
and it's used here:
<h2>Dept:</h2>
<select name="Dept" onchange = "PostForm();" ID="Select1">
<%
response.Write ("<option selected value ='0'>No Filter </option>")
rsDept.movefirst
while not rsDept.eof
if len(Dept)>0 then
if trim(rsDept("DeptID")) = trim(Dept) then
selected = "Selected"
else
selected = ""
end if
end if
response.Write ("<option " & selected & " value = '" & rsDept("DeptID") & "'>" & rsDept("Dept") & "</option>")
rsDept.MoveNext
wend
%>
</select>
i want 'Dept.' to be on the same line as the select menu, but it puts it in a new line.
how can i fix this? i just tried putting all of this in a table with one TR, but the 'Dept' word is positioned slightly higher than the select menu (2 diff. td tags).
thanks!!!<style type="text/css">
<!--
h2 {
font-family: Arial, Helvetica, sans-serif;
font-size: 15px;
font-style: italic;
font-weight: bold;
margin: 0;
}
--></style>thanks jona!
i can always count on u!Happy to help.
<style type="text/css">
<!--
h2 {
font-family: Arial, Helvetica, sans-serif;
font-size: 15px;
font-style: italic;
font-weight: bold;
}
--></style>
and it's used here:
<h2>Dept:</h2>
<select name="Dept" onchange = "PostForm();" ID="Select1">
<%
response.Write ("<option selected value ='0'>No Filter </option>")
rsDept.movefirst
while not rsDept.eof
if len(Dept)>0 then
if trim(rsDept("DeptID")) = trim(Dept) then
selected = "Selected"
else
selected = ""
end if
end if
response.Write ("<option " & selected & " value = '" & rsDept("DeptID") & "'>" & rsDept("Dept") & "</option>")
rsDept.MoveNext
wend
%>
</select>
i want 'Dept.' to be on the same line as the select menu, but it puts it in a new line.
how can i fix this? i just tried putting all of this in a table with one TR, but the 'Dept' word is positioned slightly higher than the select menu (2 diff. td tags).
thanks!!!<style type="text/css">
<!--
h2 {
font-family: Arial, Helvetica, sans-serif;
font-size: 15px;
font-style: italic;
font-weight: bold;
margin: 0;
}
--></style>thanks jona!
i can always count on u!Happy to help.