Professional Web Applications Themes

How do I set table row hight when 1 <TD> contains aform? - Dreamweaver AppDev

I have dynamic table in which one <TD> contains on each row has an add-to-cart button. The contents of that particular <TD> cell with this button contains a <form>, and the button on the form is the add-to-cart button. I am using WebAssist.com eCart software. When the add-to-cart button is added to the table, each row doubles in height. The button image jpeg is 20 pixels high, yet the row looks to be 40 pixels high, making the product catalog page double the length it needs to be. Half of the product catalog is wasted empty white space forcing far ...

  1. #1

    Default How do I set table row hight when 1 <TD> contains aform?

    I have dynamic table in which one <TD> contains on each row has an add-to-cart
    button. The contents of that particular <TD> cell with this button contains a
    <form>, and the button on the form is the add-to-cart button. I am using
    WebAssist.com eCart software. When the add-to-cart button is added to the
    table, each row doubles in height. The button image jpeg is 20 pixels high,
    yet the row looks to be 40 pixels high, making the product catalog page double
    the length it needs to be. Half of the product catalog is wasted empty white
    space forcing far too much scrolling. I need the table rows to be only as
    tall as the Add-to-cart image button, which is 20 pixels. I tried setting the
    height on the <TD> tag to 20, but it ignored it and remained twice as high.

    Thanks in advance.

    harrillj Guest

  2. #2

    Default Re: How do I set table row hight when 1 <TD> contains a form?

    Use CSS to control the margins on the form tag, e.g.,

    form { margin:0; }

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================

    "harrillj" <webforumsusermacromedia.com> wrote in message
    news:d0vfdj$ltk$1forums.macromedia.com...
    >I have dynamic table in which one <TD> contains on each row has an
    >add-to-cart
    > button. The contents of that particular <TD> cell with this button
    > contains a
    > <form>, and the button on the form is the add-to-cart button. I am using
    > WebAssist.com eCart software. When the add-to-cart button is added to the
    > table, each row doubles in height. The button image jpeg is 20 pixels
    > high,
    > yet the row looks to be 40 pixels high, making the product catalog page
    > double
    > the length it needs to be. Half of the product catalog is wasted empty
    > white
    > space forcing far too much scrolling. I need the table rows to be only
    > as
    > tall as the Add-to-cart image button, which is 20 pixels. I tried setting
    > the
    > height on the <TD> tag to 20, but it ignored it and remained twice as
    > high.
    >
    > Thanks in advance.
    >

    Murray *TMM* Guest

Similar Threads

  1. CSS 100% table hight...
    By Brian in forum Macromedia Dynamic HTML
    Replies: 0
    Last Post: June 1st, 11:23 PM
  2. Frameset Hight
    By einish in forum Dreamweaver AppDev
    Replies: 1
    Last Post: May 16th, 04:43 PM
  3. hight resolution with flash
    By stanley in forum Macromedia Flash
    Replies: 3
    Last Post: October 29th, 11:12 PM
  4. stapel with different hight
    By hetta webforumsuser@macromedia.com in forum Macromedia Director Lingo
    Replies: 1
    Last Post: October 11th, 02:25 PM
  5. Are you able to hight light leters
    By Joe {RoastHorse} in forum Macromedia Dreamweaver
    Replies: 1
    Last Post: July 16th, 12:58 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139