Professional Web Applications Themes

centering all -aand creating layout - Macromedia Dynamic HTML

please help i was looking at various web sites and wonder how you would do smothing like these...... <ul> <a href="http://mapquest.com>map Quest</a> <a href="http://simplebits.com>Simple bits</a> </ul> please help...

  1. #1

    Default centering all -aand creating layout

    please help i was looking at various web sites and wonder how you would do
    smothing like these......
    <ul>
    <a href="http://mapquest.com>map Quest</a>
    <a href="http://simplebits.com>Simple bits</a>
    </ul>
    please help

    altarboys Guest

  2. #2

    Default Re: centering all -aand creating layout

    <ul>
    <li><a href="http://mapquest.com>map Quest</a></li>
    <li><a href="http://simplebits.com>Simple bits</a></li>
    </ul>

    Or is that not your question?


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

    "altarboys" <webforumsusermacromedia.com> wrote in message
    news:dapat7$kt9$1forums.macromedia.com...
    > please help i was looking at various web sites and wonder how you would do
    > smothing like these......
    > <ul>
    > <a href="http://mapquest.com>map Quest</a>
    > <a href="http://simplebits.com>Simple bits</a>
    > </ul>
    > please help
    >

    Murray *TMM* Guest

  3. #3

    Default Re: centering all -aand creating layout

    noo thats not my question ..... my question is how you center all the content on the page like those above and how you create a layout like those above
    altarboys Guest

  4. #4

    Default Re: centering all -aand creating layout

    Like those above? Like what above?

    Remember there are lots of us that are not posting from the webforum like
    you are.

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

    "altarboys" <webforumsusermacromedia.com> wrote in message
    news:dape2p$p1g$1forums.macromedia.com...
    > noo thats not my question ..... my question is how you center all the
    > content on the page like those above and how you create a layout like
    > those above

    Murray *TMM* Guest

  5. #5

    Default Re: centering all -aand creating layout

    sorry about that but it explains it in the message above yours <murray *TMM*>
    all i want to do is to have the whole page centered and have smothin like
    borders on the sides but not on the top like in simple bits(listed above twice)
    would it be a layout?


    altarboys Guest

  6. #6

    Default Re: centering all -aand creating layout

    Assuming you are not using positioning, you can center an entire page like
    this (inline CSS shown for simplicity and clarity) -

    <body style="text-align:center">
    <div id="wrapper" style="width:760px; margin:0 auto; text-align:left;">
    Your page markup goes here
    </div>
    </body>

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

    "altarboys" <webforumsusermacromedia.com> wrote in message
    news:dapggm$s72$1forums.macromedia.com...
    > sorry about that but it explains it in the message above yours <murray
    > *TMM*>
    > all i want to do is to have the whole page centered and have smothin like
    > borders on the sides but not on the top like in simple bits(listed above
    > twice)
    > would it be a layout?
    >
    >

    Murray *TMM* Guest

  7. #7

    Default Re: centering all -aand creating layout

    You need to put all the site's content in a container <div> tag, thus,

    <div id='container'>
    all your site's stuff
    </div>

    Then, in your style sheet, you need to create these styles,

    html
    {
    width:100%
    }

    body
    {
    width:100% /*plus any other body styling you want to do*/
    }

    #container
    {
    position:relative;
    top:0px; /*or whatever you want it to be*/
    left:50%;
    width:700px; /*or whatever you want it to be*/
    height:auto;
    margin-left:-350px; /*half of the width setting*/
    /*plus any other styling you want to do*/
    }

    I hope that makes sense. It's perfectly standard practice, is 100% standards
    compatible (including XHTML), and works in all modern standards compatible
    browsers. You need to add those styles for html and body, as your <div> is
    nested within the <body>, and the <body> is nested within the <html> tag. In
    standards compliant mode for XHTML, this matters!

    Rob


    rob::db Guest

  8. #8

    Default Re: centering all -aand creating layout

    That's really only necessary if the page is being built with absolutely
    positioned elements. If not, my earlier suggestion works fine too.

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

    "rob::db" <robdigitalburn.net> wrote in message
    news:daq9k4$4au$1forums.macromedia.com...
    > You need to put all the site's content in a container <div> tag, thus,
    >
    > <div id='container'>
    > all your site's stuff
    > </div>
    >
    > Then, in your style sheet, you need to create these styles,
    >
    > html
    > {
    > width:100%
    > }
    >
    > body
    > {
    > width:100% /*plus any other body styling you want to do*/
    > }
    >
    > #container
    > {
    > position:relative;
    > top:0px; /*or whatever you want it to be*/
    > left:50%;
    > width:700px; /*or whatever you want it to be*/
    > height:auto;
    > margin-left:-350px; /*half of the width setting*/
    > /*plus any other styling you want to do*/
    > }
    >
    > I hope that makes sense. It's perfectly standard practice, is 100%
    > standards
    > compatible (including XHTML), and works in all modern standards compatible
    > browsers. You need to add those styles for html and body, as your <div> is
    > nested within the <body>, and the <body> is nested within the <html> tag.
    > In
    > standards compliant mode for XHTML, this matters!
    >
    > Rob
    >
    >

    Murray *TMM* Guest

  9. #9

    Default Re: centering all -aand creating layout

    hey thx alot guys you helped me soo much
    altarboys Guest

  10. #10

    Default Re: centering all -aand creating layout

    You're welcome!

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

    "altarboys" <webforumsusermacromedia.com> wrote in message
    news:davfsd$m1l$1forums.macromedia.com...
    > hey thx alot guys you helped me soo much

    Murray *TMM* Guest

Similar Threads

  1. centering site using CSS
    By superdk in forum HTML & CSS
    Replies: 3
    Last Post: January 21st, 11:42 PM
  2. Creating a scalable layout
    By meeesta in forum Macromedia Dynamic HTML
    Replies: 0
    Last Post: June 21st, 05:13 PM
  3. Centering Page...Someone PLEASE help me!
    By k_camacho11 in forum Macromedia Dynamic HTML
    Replies: 6
    Last Post: April 25th, 04:40 PM
  4. Pub 2002 Web Layout - Alignment / Centering / Sizing / Adjustment
    By David Bartosik MS MVP in forum Web Design
    Replies: 1
    Last Post: July 16th, 04:42 PM
  5. Centering
    By analog@logwell.com in forum Web Design
    Replies: 4
    Last Post: June 26th, 03:12 AM

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