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

  1. #1

    Default center a layout

    how would i be able to center this? is setting the tables aligment to center
    the only way?
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"><head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Untitled Document</title>
    <link href="css.css" rel="stylesheet" type="text/css" />
    </head>

    <body>
    <table width="689" border="0" cellpadding="0" cellspacing="0">

    <tr>
    <td width="689" height="27" valign="top" class="links" id="main"><a
    href="http://ccsd.net/schools/liberty/">LIBERTY</a> <img
    src="images/spacerd.png" width="15" height="14" /><a
    href="http://ccsd.net/schools/liberty/prinNotes.htm">ADMINISTRATION</a> <img
    src="images/spacerd.png" width="15" height="14" />SCHOOL INFO <img
    src="images/spacerd.png" width="15" height="14" />INTOUCH <img
    src="images/spacerd.png" width="15" height="14" />ACTIVITIES </td>
    </tr>
    </table>
    <table width="689" border="0" cellpadding="0" cellspacing="0">

    <tr>
    <td width="689" height="14"
    valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
    </tr>
    </table>
    <table width="200" border="0" cellpadding="0" cellspacing="0" class="sheading">

    <tr>
    <td width="200" height="242" valign="top" class="sections">WELCOME TO LHS
    <br />
    <p class="stext">Mrs. Kelly Bucherie, Principal<br />
    <br />
    3700 Liberty Heights Avenue<br />
    Henderson, NV 89052<br />
    702-799-2270 </p></td>
    </tr>
    </table>
    </body>
    </html>

    #main {
    background-color: #990000;
    }
    .links {
    font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-style: normal;
    font-weight: normal;
    color: #FFCCCC;
    padding-top: 4px;
    padding-left: 5.5px;
    }
    a:link {
    color: #FFCCCC;
    font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
    text-decoration: none;
    }
    a:hover {
    font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
    text-decoration: underline;
    }
    a:active {
    font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
    color: #666666;
    text-decoration: none;
    }

    .space {
    background-color: #FFFFFF;
    }
    .sections {
    background-image: url(images/Untitled-4.png);
    background-repeat: no-repeat;
    }
    a {
    text-decoration: none;
    }

    .sheading .sections {
    color: #FFFFFF;
    padding-top: 8px;
    padding-left: 8px;
    font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-style: normal;
    font-weight: normal;
    text-decoration: none;
    }
    .stext {
    font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-style: normal;
    font-weight: normal;
    color: #666666;
    text-decoration: none;
    }


    i would also like to move everything down so i would be able to a heading.
    thanks in advance

    evropa Guest

  2. Similar Questions and Discussions

    1. How to center a layer ?
      Hello friends.. I have created a pop up menu with a tool that creates de code in Javascript. The I have setted it on a layer (if I do not do it, the...
    2. How to get the center of an object?
      I want to let some objects in my scene rotate with its center. These objects maybe be far from the origin. I can not use the 'model.worldposition',...
    3. <center>
      Is there a way to use the html code fragment to insert <center> </center> to center the page. It's a pain to redo it every time you update all the...
    4. Center a div tag
      Hi The following div tag displays with a border. However, I want it to display center on the page. Any ideas welcome thanks jim <div...
    5. How is KEH Repair center !!
      "Steve Merrick" <steve@keh.com> wrote in message news:3f1eba74.0306251424.4f80088f@posting.google.com......
  3. #2

    Default Re: center a layout

    Try this -

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"><head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Untitled Document</title>
    <link href="css.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    body {
    width:689px;
    margin:0 auto;
    font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
    }
    #main {
    background-color: #990000;
    }
    .links {
    font-size: 11px;
    color: #FCC;
    padding-top: 4px;
    padding-left: 5px;
    }
    a {
    text-decoration: none;
    }
    #main a {
    color: #FFCCCC;
    }
    #main a:hover {
    text-decoration: underline;
    }
    #main a:active {
    color: #666666;
    }

    .space {
    background-color: #FFFFFF;
    }
    .sections {
    background-image: url(images/Untitled-4.png);
    background-repeat: no-repeat;
    }

    .sheading .sections {
    color: #FFFFFF;
    padding-top: 8px;
    padding-left: 8px;
    font-size: 11px;
    }
    .stext {
    font-size: 11px;
    color: #666666;
    }

    -->
    </style></head>

    <body>
    <table width="689" border="0" cellpadding="0" cellspacing="0">

    <tr>
    <td width="689" height="27" valign="top" class="links" id="main"><a
    href="http://ccsd.net/schools/liberty/">LIBERTY</a> <img
    src="images/spacerd.png" width="15" height="14" /><a
    href="http://ccsd.net/schools/liberty/prinNotes.htm">ADMINISTRATION</a> <img
    src="images/spacerd.png" width="15" height="14" />SCHOOL INFO <img
    src="images/spacerd.png" width="15" height="14" />INTOUCH <img
    src="images/spacerd.png" width="15" height="14" />ACTIVITIES </td>
    </tr>
    </table>
    <table width="689" border="0" cellpadding="0" cellspacing="0">

    <tr>
    <td width="689" height="14"
    valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
    </tr>
    </table>
    <table width="200" border="0" cellpadding="0" cellspacing="0"
    class="sheading">

    <tr>
    <td width="200" height="242" valign="top" class="sections">WELCOME TO
    LHS
    <br />
    <p class="stext">Mrs. Kelly Bucherie, Principal<br />
    <br />
    3700 Liberty Heights Avenue<br />
    Henderson, NV 89052<br />
    702-799-2270 </p></td>
    </tr>
    </table>
    </body>
    </html>


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


    "evropa" <webforumsuser@macromedia.com> wrote in message
    news:dk1p9i$43i$1@forums.macromedia.com...
    > how would i be able to center this? is setting the tables aligment to
    > center
    > the only way?
    > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    > <html xmlns="http://www.w3.org/1999/xhtml"><head>
    > <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    > <title>Untitled Document</title>
    > <link href="css.css" rel="stylesheet" type="text/css" />
    > </head>
    >
    > <body>
    > <table width="689" border="0" cellpadding="0" cellspacing="0">
    >
    > <tr>
    > <td width="689" height="27" valign="top" class="links" id="main"><a
    > href="http://ccsd.net/schools/liberty/">LIBERTY</a> <img
    > src="images/spacerd.png" width="15" height="14" /><a
    > href="http://ccsd.net/schools/liberty/prinNotes.htm">ADMINISTRATION</a>
    > <img
    > src="images/spacerd.png" width="15" height="14" />SCHOOL INFO <img
    > src="images/spacerd.png" width="15" height="14" />INTOUCH <img
    > src="images/spacerd.png" width="15" height="14" />ACTIVITIES </td>
    > </tr>
    > </table>
    > <table width="689" border="0" cellpadding="0" cellspacing="0">
    >
    > <tr>
    > <td width="689" height="14"
    > valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
    > </tr>
    > </table>
    > <table width="200" border="0" cellpadding="0" cellspacing="0"
    > class="sheading">
    >
    > <tr>
    > <td width="200" height="242" valign="top" class="sections">WELCOME TO
    > LHS
    > <br />
    > <p class="stext">Mrs. Kelly Bucherie, Principal<br />
    > <br />
    > 3700 Liberty Heights Avenue<br />
    > Henderson, NV 89052<br />
    > 702-799-2270 </p></td>
    > </tr>
    > </table>
    > </body>
    > </html>
    >
    > #main {
    > background-color: #990000;
    > }
    > .links {
    > font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
    > font-size: 11px;
    > font-style: normal;
    > font-weight: normal;
    > color: #FFCCCC;
    > padding-top: 4px;
    > padding-left: 5.5px;
    > }
    > a:link {
    > color: #FFCCCC;
    > font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
    > text-decoration: none;
    > }
    > a:hover {
    > font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
    > text-decoration: underline;
    > }
    > a:active {
    > font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
    > color: #666666;
    > text-decoration: none;
    > }
    >
    > .space {
    > background-color: #FFFFFF;
    > }
    > .sections {
    > background-image: url(images/Untitled-4.png);
    > background-repeat: no-repeat;
    > }
    > a {
    > text-decoration: none;
    > }
    >
    > .sheading .sections {
    > color: #FFFFFF;
    > padding-top: 8px;
    > padding-left: 8px;
    > font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
    > font-size: 11px;
    > font-style: normal;
    > font-weight: normal;
    > text-decoration: none;
    > }
    > .stext {
    > font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
    > font-size: 11px;
    > font-style: normal;
    > font-weight: normal;
    > color: #666666;
    > text-decoration: none;
    > }
    >
    >
    > i would also like to move everything down so i would be able to a heading.
    > thanks in advance
    >

    Murray *TMM* Guest

  4. #3

    Default Re: center a layout

    works perfectly, thank you.

    should i open new threads for my other questions or will you be able to help
    me out?

    i would also like to move everything down so i would be able to add a heading.

    i would like a bigger space between my links, ive added a image to do that.
    ive also just put random text and set its color to whatever its background
    color is,but im sure theres a better way;/



    evropa Guest

  5. #4

    Default Re: center a layout

    You can leave those questions here.
    > i would also like to move everything down so i would be able to add a
    > heading.
    Just add it above the table. It will push the table down (although not if
    you use a layer for it).
    > i would like a bigger space between my links
    Just add a bottom margin to your a tag style rule.

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


    "evropa" <webforumsuser@macromedia.com> wrote in message
    news:dk2tnk$imq$1@forums.macromedia.com...
    > works perfectly, thank you.
    >
    > should i open new threads for my other questions or will you be able to
    > help
    > me out?
    >
    > i would also like to move everything down so i would be able to add a
    > heading.
    >
    > i would like a bigger space between my links, ive added a image to do
    > that.
    > ive also just put random text and set its color to whatever its background
    > color is,but im sure theres a better way;/
    >
    >
    >

    Murray *TMM* 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