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

  1. #1

    Default div tag not working

    hey guys, im having a little problem with my div tags in dreamweaver 8 ive got
    4 div tags for a banner, links content and footer and each of them have a
    width limit to 760. also i have a div agline center the centering works fine
    but the width parameters dont it just streches to the width of the window any
    one know what im doing wrong?

    Martin Bean Guest

  2. Similar Questions and Discussions

    1. #38816 [Opn]: PHP code that was working perfectly recently stopped working.
      ID: 38816 User updated by: mtoohee at gmail dot com -Summary: PHP code that was working perfectly recently stopped....
    2. Macromedia Flash Player installed and working properly suddenlys stops working..
      No idea what has caused the Flash player to stop working. This is not my machine but a relatives who has asked for help over the T'giving...
    3. Data not working on Label but is working in Datagrid
      I am creating a simple website in Flex. I want to show different content from the database for home, about us, contact us, etc. I am using a CFC as...
    4. Why isn't this working?
      I'm totally confused as to why this isn't working on(release){ _root.myvar = _root.mouse._x; } 'myvar' just comes up as "undefined". I'm...
    5. Working TableStyle Not Working on a Second DataGrid
      I am having difficulty getting Tablestyles to work on a datagrid. I have 2 datasets, 1 filled and the other not. The first contains customer, stock...
  3. #2

    Default Re: div tag not working

    Not adding units to the width dimensions?

    I have tons more guesses - should I go through all of them? Most would be
    irrelevant to whatever the code on your page might be, though! 8)

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


    "Martin Bean" <webforumsuser@macromedia.com> wrote in message
    news:dlacat$7cs$1@forums.macromedia.com...
    > hey guys, im having a little problem with my div tags in dreamweaver 8 ive
    > got
    > 4 div tags for a banner, links content and footer and each of them have a
    > width limit to 760. also i have a div agline center the centering works
    > fine
    > but the width parameters dont it just streches to the width of the window
    > any
    > one know what im doing wrong?
    >

    Murray *TMM* Guest

  4. #3

    Default Re: div tag not working

    heres the code on my index page


    <body>

    <div align="center">

    <div id="Banner"><img src="Images/banner.jpg" alt="War Horse Trading Post
    banner" /></div>

    <div id="Links"><a href="">Home</a> | <a href="">FAQ</a> | <a
    href="">Catalogue</a> | <a href="">Orders</a> | <a href="">Contact</a></div>

    <div id="Content">Welcome to our new updated 2005 web site. </div>

    <div id="Footer">Copyright &copy; 2001, Warhorse trading post. All Rights
    Reserved <br>Created by: <a href="">Inspired Motive</a></div>

    </div>

    </body>

    and this is the style.css

    body{
    font-family: Arial,sans-serif;
    color: #333333;
    line-height: 1.166;
    margin: 0px;
    padding: 0px;
    }

    a:link, a:visited, a:hover {
    color: #006699;
    text-decoration: none;
    }

    a:hover {
    text-decoration: underline;#Banner {
    height: 100px;
    width: auto;
    }
    #Links {
    height: 15px;
    width: 760px;
    }
    #Content {
    width: 760px;
    }
    #Footer {
    height: 15px;
    clear: both;
    font-size: 9px;
    width: 760px;
    }
    #Banner {
    height: 100px;
    width: 760px;
    }[

    Martin Bean Guest

  5. #4

    Default Re: div tag not working

    What's with this?

    a:hover {
    text-decoration: underline;#Banner {
    height: 100px;
    width: auto;
    }

    Everything else looks fine to me in DW8. Which DW are you using? And are
    you meaning Design view or preview when you say things don't look right?

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


    "Martin Bean" <webforumsuser@macromedia.com> wrote in message
    news:dlah7m$f3g$1@forums.macromedia.com...
    > heres the code on my index page
    >
    >
    > <body>
    >
    > <div align="center">
    >
    > <div id="Banner"><img src="Images/banner.jpg" alt="War Horse Trading Post
    > banner" /></div>
    >
    > <div id="Links"><a href="">Home</a> | <a href="">FAQ</a> | <a
    > href="">Catalogue</a> | <a href="">Orders</a> | <a
    > href="">Contact</a></div>
    >
    > <div id="Content">Welcome to our new updated 2005 web site. </div>
    >
    > <div id="Footer">Copyright &copy; 2001, Warhorse trading post. All
    > Rights
    > Reserved <br>Created by: <a href="">Inspired Motive</a></div>
    >
    > </div>
    >
    > </body>
    >
    > and this is the style.css
    >
    > body{
    > font-family: Arial,sans-serif;
    > color: #333333;
    > line-height: 1.166;
    > margin: 0px;
    > padding: 0px;
    > }
    >
    > a:link, a:visited, a:hover {
    > color: #006699;
    > text-decoration: none;
    > }
    >
    > a:hover {
    > text-decoration: underline;#Banner {
    > height: 100px;
    > width: auto;
    > }
    > #Links {
    > height: 15px;
    > width: 760px;
    > }
    > #Content {
    > width: 760px;
    > }
    > #Footer {
    > height: 15px;
    > clear: both;
    > font-size: 9px;
    > width: 760px;
    > }
    > #Banner {
    > height: 100px;
    > width: 760px;
    > }[
    >

    Murray *TMM* Guest

  6. #5

    Default Re: div tag not working

    a:hover {
    text-decoration: underline;#Banner {
    height: 100px;
    width: auto;
    }

    ah cheers for pointing that out it must of some how got messed up when i was
    creating the div tags (#Banner) sopose to be this

    a:hover {
    text-decoration: underline;

    work all fine now all centered too :)

    thanks martin


    Martin Bean Guest

  7. #6

    Default Re: div tag not working

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


    "Martin Bean" <webforumsuser@macromedia.com> wrote in message
    news:dlaomk$q8t$1@forums.macromedia.com...
    > a:hover {
    > text-decoration: underline;#Banner {
    > height: 100px;
    > width: auto;
    > }
    >
    > ah cheers for pointing that out it must of some how got messed up when i
    > was
    > creating the div tags (#Banner) sopose to be this
    >
    > a:hover {
    > text-decoration: underline;
    >
    > work all fine now all centered too :)
    >
    > thanks martin
    >
    >

    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