Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

another small CSS problem - FORMS this time...

Status
Not open for further replies.

Halcrow

Programmer
Aug 24, 2004
76
GB
My form has a border around it (by default presumably) and I want rid of it.

I've tried setting the border of the form and the border of the legend to 0px but this has no effect. How can I get rid of it, maintaining my Strict valid xhtml 1.1?

Thanks
Calum
 
Have you tried:

form {
border: none;
}

Why does it have a border around it?

*cLFlaVA
----------------------------
Lois: "Peter, you're drunk!"
Peter: "I'm not drunk, I'm just exhausted from stayin' up all night drinking!
 
sorry, I've realised why - I put a "fieldset" tag in there a while ago and didn't realise that it was there! thanks for your suggestion though.

Calum
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top