I'm using the contact form for my contact page

http://poweredby.icopyright.com/contact

Notice it's breaking my design. I'd like to edit the code it's spitting out. I was able to change the width of the columns in contact.module (thanks to some help on the forums). But I can't find where it's it spitting out those useless div tags, also , I've set the width of the textarea to 30, but that resize bar beneath it is pushing it out. Any help would be great!

Comments

markdingemanse’s picture

Yes, this is a problem for me too. Ideally, the contact form should be fully themeable like any page, but I have not yet found an easy solution to do that. In particular, I would like to have the possibility to place the form in an arbitrary block on any arbitrary page, without hacking away at the contact.module itself. Currently, I know of no elegant way to have a page listing, say, general contact information (phone numbers, bank numbers) on the left, and having the site-wide contact form on the right.

markdingemanse’s picture

In reply to myself: I came across an extremely useful technique to do this in a comment by nevets. Basically, you can load the content of any valid Drupal URI into any page. I use it to load the contact form in a field of a custom CCK content type. This probably does not solve the problem of the original poster, but it makes it possible to get the form where you want it; and if you're that far it's quite easy to put it into a div with id="contactform" and style it using your theme's style.css.