WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Making a custom form fit correctly (4 posts)

  1. dgraves
    Member
    Posted 2 years ago #

    Hey,

    I'm trying to create an orderform on my WP-site. I've tried the different plugins but none of them seems to be able to complete this task.

    This is the form I'm trying to add:
    18 input-fields (25-40px) divided into 2 rows, so 9 per row.
    Then name, email, subject and message.

    For the first two rows (which is the important part) I'm trying to use <td> for the different inputs, but it makes every <td> 217px wide automatically. I tried putting them into a <div> called "orderform" and then put .orderform td {width: 40px;} but it doesn't work. So the form is ridiculously large and won't fit into my design.

    Any ideas on how to make this work?

  2. webdevsonline
    Member
    Posted 2 years ago #

    Try using firebug to have a look at your <td> they maybe inheriting CSS

    getfirebug.com

  3. dgraves
    Member
    Posted 2 years ago #

    Thanks webdevsonline,

    I will check it out. It's just that I don't want to change the global settings for <td> <tr> and <table>.

    Maybe it won't be a problem, I'll try it out :) Thanks

  4. dgraves
    Member
    Posted 2 years ago #

    I solved it through changing the td-settings in style.css. Nothing else was built with td's so the design is maintained :) Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags