Hi
I've been playing around with my online form using css. I found a site which gave me back this css (string because it is 3rd party cms) and below that the html. in their preview window it looks great, but if i put it through IE 6.0 the text boxes don't align vertically ? (works great apart from that !)
any ideas appreciated
kim
css
---
h = "<style type=""text/css"">"
h = h & "label,span.spacer {width:140px;}"
h = h & "label{"
h = h & "font-weight:normal;"
h = h & "color : #000000;"
h = h & "font-weight : normal;"
h = h & "cursor:hand;"
h = h & "}"
h = h & "fieldset{"
h = h & "padding:10px;"
h = h & "border : 1px solid #000066;"
h = h & "margin-bottom : 15px;"
h = h & "padding : 10px;"
h = h & "}"
h = h & "legend {"
h = h & "font-weight : normal;"
h = h & "}"
h = h & "</style>"
html
----
b = b & "<FORM action=""main.asp?page=618"" METHOD=""post"" name=""formRegistration"">"
b = b & "<fieldset>"
b = b & "<legend class=legend>Contact Information :</legend>"
b = b & " <div>"
b = b & " <span><label for=""Businessname"">Business Name:</label></span>"
b = b & " <span><input type=""text"" name=""Businessname"" title=""Text input: BusinessName"" tabindex=""1"" value=""" &
BusinessName & """ id=""Businessname"" size=""20"" /></span>"
b = b & " </div>"
b = b & " <div>"
b = b & " <span><label for=""Contacttitle"">Contact Title:</label></span>"
b = b & " <span><input type=""text"" name=""Contacttitle"" title=""Text input: ContactTitle"" id=""Contacttitle""
tabindex=""2"" value=""" & ContactTitle & """ size=""20"" /></span>"
b = b & " </div>"
b = b & " <div>"
b = b & " <span class=""spacer""> </span>"
b = b & " <span><input type=""submit"" value=""Submit this form"" /></span>"
b = b & " </div>"
b = b & "</fieldset>"
b = b & "</form>
I've been playing around with my online form using css. I found a site which gave me back this css (string because it is 3rd party cms) and below that the html. in their preview window it looks great, but if i put it through IE 6.0 the text boxes don't align vertically ? (works great apart from that !)
any ideas appreciated
kim
css
---
h = "<style type=""text/css"">"
h = h & "label,span.spacer {width:140px;}"
h = h & "label{"
h = h & "font-weight:normal;"
h = h & "color : #000000;"
h = h & "font-weight : normal;"
h = h & "cursor:hand;"
h = h & "}"
h = h & "fieldset{"
h = h & "padding:10px;"
h = h & "border : 1px solid #000066;"
h = h & "margin-bottom : 15px;"
h = h & "padding : 10px;"
h = h & "}"
h = h & "legend {"
h = h & "font-weight : normal;"
h = h & "}"
h = h & "</style>"
html
----
b = b & "<FORM action=""main.asp?page=618"" METHOD=""post"" name=""formRegistration"">"
b = b & "<fieldset>"
b = b & "<legend class=legend>Contact Information :</legend>"
b = b & " <div>"
b = b & " <span><label for=""Businessname"">Business Name:</label></span>"
b = b & " <span><input type=""text"" name=""Businessname"" title=""Text input: BusinessName"" tabindex=""1"" value=""" &
BusinessName & """ id=""Businessname"" size=""20"" /></span>"
b = b & " </div>"
b = b & " <div>"
b = b & " <span><label for=""Contacttitle"">Contact Title:</label></span>"
b = b & " <span><input type=""text"" name=""Contacttitle"" title=""Text input: ContactTitle"" id=""Contacttitle""
tabindex=""2"" value=""" & ContactTitle & """ size=""20"" /></span>"
b = b & " </div>"
b = b & " <div>"
b = b & " <span class=""spacer""> </span>"
b = b & " <span><input type=""submit"" value=""Submit this form"" /></span>"
b = b & " </div>"
b = b & "</fieldset>"
b = b & "</form>