The border around the contact form?!

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
Terabyte
Forum Members
Forum Members
Posts: 79
Joined: Fri Aug 18, 2006 8:57 am

The border around the contact form?!

Post by Terabyte »

Hello,

How to remove the gray border around the contact form, please??

I just can't find it!!!
Terabyte
Forum Members
Forum Members
Posts: 79
Joined: Fri Aug 18, 2006 8:57 am

Re: The border around the contact form?!

Post by Terabyte »

Common, somebody  ???

Have seen the showcases and people don't have the border .... I can't get rid of it.....
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: The border around the contact form?!

Post by tsw »

url
cyberman

Re: The border around the contact form?!

Post by cyberman »

Have your compare the sources (XHTML, CSS - yours and someone in showcase)?
Terabyte
Forum Members
Forum Members
Posts: 79
Joined: Fri Aug 18, 2006 8:57 am

Re: The border around the contact form?!

Post by Terabyte »

Yes I have look on the CSS and can't fins a thing.....

http://www.lanta.se/index.php?page=kontakta_oss
Der Rudi
Forum Members
Forum Members
Posts: 56
Joined: Wed May 17, 2006 7:42 pm

Re: The border around the contact form?!

Post by Der Rudi »

The border you see is coming from the tag. Either remove this tag completely or put something like this

Code: Select all

fieldset{
border:0;
}
in the css. Can also be done as an inline style if you prefer.
Terabyte
Forum Members
Forum Members
Posts: 79
Joined: Fri Aug 18, 2006 8:57 am

Re: The border around the contact form?!

Post by Terabyte »

I feel bad, that it was so easy. I have no experience with fieldset tag and didn't know that the border is there as default. THANKS!
afri-can

Re: The border around the contact form?!

Post by afri-can »

Where does the contact form sit, what file do I find the code to change ???
cyberman

Re: The border around the contact form?!

Post by cyberman »

/plugins/function.contact_form.php
afri-can

Re: The border around the contact form?!

Post by afri-can »

found another sollution instead of tampering with the soure
I put the contact form in a div and gave it some contra styles

Code: Select all

<style type="text/css">
<!--
div#contactform {
	font-family: Arial, Helvetica, sans-serif;
}
div#contactform legend {
	display: none;
}
div#contactform label {
	margin-bottom: 10px;
}
div#contactform fieldset{
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
}
-->
</style>
Thanks for your help
Post Reply

Return to “Layout and Design (CSS & HTML)”