Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default Table alignment...

    Hi. I have a left-aligned table which, when I view it in Design View, is
    immediately below my page heading, exactly where I want it. But when I save it
    and view it in my browser, there's a huge gap between table and the heading.
    There is no coding whatsoever between the heading and the table. I can't figure
    out how to get rid of that extra space and vertically align my
    table to remain just beneath the heading.

    Thanks for any help.

    silas


    smpro Guest

  2. Similar Questions and Discussions

    1. Alignment problem with table
      Hello, I am trying to make some pages in PHP on Dreamweaver. I am using tables to make the main pages, and making Include files for things like the...
    2. Vertical alignment in table cells
      If I create a table and then merge several cells vertically, I can enter some text and can set the vertical alignment of the new 'spanned' cell to...
    3. table alignment
      Anyone know how to put plain text on an image which is not a background? Thanks
    4. SWF alignment in HTML Table
      i've created a "seamless" HTML template using tables. i want to replace an img element with a flash element. img size is 10 x 10. <td> width is...
    5. Table Alignment in Mozilla
      Hello! I can't figure out if this is a standards thing or if I am missing some Moz-knowledge, but I have my table set with align="center" and IE...
  3. #2

    Default Re: Table alignment...

    Yes, If you give page headings like <h1> < h2>... etc, you will find a big gap like that btw that Heading and other element

    To get rid of that please use CSS .
    laksinu Guest

  4. #3

    Default Re: Table alignment...

    Post a link to the page. While laksinu's guess is a resonable one, it
    wouldn't necessarily be the correct one. The only way to know is to look at
    the code on the page.

    --
    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
    ==================


    "smpro" <webforumsuser@macromedia.com> wrote in message
    news:dm5u7r$rjj$1@forums.macromedia.com...
    > Hi. I have a left-aligned table which, when I view it in Design View, is
    > immediately below my page heading, exactly where I want it. But when I
    > save it
    > and view it in my browser, there's a huge gap between table and the
    > heading.
    > There is no coding whatsoever between the heading and the table. I can't
    > figure
    > out how to get rid of that extra space and vertically align my
    > table to remain just beneath the heading.
    >
    > Thanks for any help.
    >
    > silas
    >
    >

    Murray *TMM* Guest

  5. #4

    Default Re: Table alignment...

    Here is the coding:

    <html>
    <head>
    <style type="text/css">
    p {
    color: #000080;
    font-family: verdana;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    }

    p.second {
    color: #B22222;
    font-family: verdana;
    font-size: 14px;
    text-align: left;
    left: auto;
    top: auto;
    }


    body
    {
    background-image:
    url('ltmauvelace.jpg')
    }

    </style>

    </head>

    <center>
    <table width=100% border=0>
    <!--DWLayoutTable-->
    <tr>
    <td align=center> <img src="mccweblogo2.jpg" alt="McCWeb logo"> </td>
    </tr>
    </table>
    </center>

    <br>
    <p>News, photos and a little bit of history of the McCain Family</p>
    <table align=left width=250 border=2 cellpadding=10 bordercolor=black
    bgcolor="#FFFFFF">
    <tr>
    <td>
    <p class="second">
    <a href="mccainfamilyoutline.html">The McCain Family Outline</a>
    <br>

    <p class="second"> Pictures:

    <p class="second">
    <a href="grandparents.html">Benjamin and Marie McCain</a>
    <br>
    <p class="second"> <a href="timmyspartypics/timmyparty.html">Timmy's Birthday
    Party</a>
    </td>

    <br><br><br><br><br><br>

    </tr>
    </table>



    </html>

    smpro Guest

  6. #5

    Default Re: Table alignment...

    No <body> tags? Tsk, tsk....

    It's hard to know exactly which huge gap you might be referring to with this
    code. Can you tell me more?

    --
    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
    ==================


    "smpro" <silas.prophet@gmail.com> wrote in message
    news:dm8ifp$jm2$1@forums.macromedia.com...
    > Here is the coding:
    >
    > <html>
    > <head>
    > <style type="text/css">
    > p {
    > color: #000080;
    > font-family: verdana;
    > font-size: 14px;
    > font-weight: bold;
    > text-align: center;
    > }
    >
    > p.second {
    > color: #B22222;
    > font-family: verdana;
    > font-size: 14px;
    > text-align: left;
    > left: auto;
    > top: auto;
    > }
    >
    >
    > body
    > {
    > background-image:
    > url('ltmauvelace.jpg')
    > }
    >
    > </style>
    >
    > </head>
    >
    > <center>
    > <table width=100% border=0>
    > <!--DWLayoutTable-->
    > <tr>
    > <td align=center> <img src="mccweblogo2.jpg" alt="McCWeb logo">
    > </td>
    > </tr>
    > </table>
    > </center>
    >
    > <br>
    > <p>News, photos and a little bit of history of the McCain Family</p>
    > <table align=left width=250 border=2 cellpadding=10 bordercolor=black
    > bgcolor="#FFFFFF">
    > <tr>
    > <td>
    > <p class="second">
    > <a href="mccainfamilyoutline.html">The McCain Family Outline</a>
    > <br>
    >
    > <p class="second"> Pictures:
    >
    > <p class="second">
    > <a href="grandparents.html">Benjamin and Marie McCain</a>
    > <br>
    > <p class="second"> <a href="timmyspartypics/timmyparty.html">Timmy's
    > Birthday
    > Party</a>
    > </td>
    >
    > <br><br><br><br><br><br>
    >
    > </tr>
    > </table>
    >
    >
    >
    > </html>
    >

    Murray *TMM* Guest

  7. #6

    Default Re: Table alignment...

    Remove
    <br><br><br><br><br><br> before </tr> from your code it should work ! you will not see any space :)

    laksinu Guest

  8. #7

    Default Re: Table alignment...

    Originally posted by: laksinu
    Remove
    <br><br><br><br><br><br> before </tr> from your code it should work ! you
    will not see any space :)



    laksinu, thanks, that did it. But I don't understand why line breaks at the
    end of the table data (td) code should effect the vertical alignment of the top
    of the table. I was using the br's to extend the height of the table. Bad idea,
    I guess.

    silas


    smpro Guest

  9. #8

    Default Re: Table alignment...

    HTML between </td> and </tr> is illegal. It will be rendered
    unpredictably....

    --
    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
    ==================


    "smpro" <silas.prophet@gmail.com> wrote in message
    news:dmajgr$6mh$1@forums.macromedia.com...
    > Originally posted by: laksinu
    > Remove
    > <br><br><br><br><br><br> before </tr> from your code it should work ! you
    > will not see any space :)
    >
    >
    >
    > laksinu, thanks, that did it. But I don't understand why line breaks at
    > the
    > end of the table data (td) code should effect the vertical alignment of
    > the top
    > of the table. I was using the br's to extend the height of the table. Bad
    > idea,
    > I guess.
    >
    > silas
    >
    >

    Murray *TMM* Guest

  10. #9

    Default Re: Table alignment...

    Thank you much. I have a lot to learn ;)

    silas
    smpro Guest

  11. #10

    Default Re: Table alignment...

    Good luck.

    --
    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
    ==================


    "smpro" <silas.prophet@gmail.com> wrote in message
    news:dmb65h$r43$1@forums.macromedia.com...
    > Thank you much. I have a lot to learn ;)
    >
    > silas

    Murray *TMM* Guest

  12. #11

    Default Re: Table alignment...

    You're welcome smpro, may be to define height for a <td> i suggest you use height="x" instead of <br> :)

    best of luck,
    laksinu Guest

Posting Permissions

  • You may not post new threads
  • You may 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