• Resolved dgraves

    (@dgraves)


    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?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Try using firebug to have a look at your <td> they maybe inheriting CSS

    getfirebug.com

    Thread Starter dgraves

    (@dgraves)

    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

    Thread Starter dgraves

    (@dgraves)

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Making a custom form fit correctly’ is closed to new replies.