CSS nightmare with positioning

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

  1. #1

    Default CSS nightmare with positioning

    Hi,
    I have a simple, but maddening problem, that I need help with ---before I
    shoot myself! I have created 3-.jpegs, for use as a a top-side-bottom graphic.
    I have created an external style sheet and tried numerous variations
    (box-positioning-margin etc.) to try and get the CSS pseudo-ids to render on a
    web browser correctly.....usually I get the "top" graphic to display as a thin
    line...not 150px..as expected...So, looking at the code below could someoine
    give me some general hints, to get my top-side-bottom graphics to render
    correctly (the full graphics at the top-side-bottom) in my web
    browser....????please help??

    #side_graphic {
    position:relative;
    width:110px;
    height:auto;
    z-index:2;
    left: 10px;
    top: 183px;
    visibility: visible;
    background-image: url(../images/side_graphic.jpg);
    background-repeat: no-repeat;
    margin-top: 0px;
    margin-right: auto;
    margin-bottom: 0px;
    margin-left: auto;
    }
    #top_graphic {
    position:relative;
    width:1150;
    z-index:1;
    left: 10px;
    top: 33px;
    visibility: visible;
    background-image: url(../images/top_graphic_title.jpg);
    background-repeat: no-repeat;
    margin-top: 0px;
    margin-right: auto;
    margin-bottom: 0px;
    margin-left: auto;
    height: 150px;
    }
    #footer_graphic {
    position:relative;
    width:1150px;
    height:27;
    z-index:3;
    left: 10px;
    top: 593px;
    visibility: visible;
    background-image: url(../images/bottom_graphic.jpg);
    background-repeat: no-repeat;
    margin-top: 0px;
    margin-right: auto;
    margin-bottom: 0px;
    margin-left: auto;
    }

    Jim Elander Guest

  2. Similar Questions and Discussions

    1. Is IE7 an end to the nightmare?
      I've been considering installing Internet Explorer 7 in hopes that it might solve the Flash installation bug. Generally, I'm reluctant to go with...
    2. SQL Nightmare
      Everytime I try to add a record to my database, I get the following error: Error Diagnostic Information ODBC Error Code = 37000 (Syntax error...
    3. the nightmare that is loadfile()
      I've been struggling all day with trying to load linked members into my project. I've finally go to the stage where I'm using...
    4. eps nightmare
      hi, hope you all can help me. I'm having problems with exporting .eps from illu 10 on the pc. Basically Im placing images which are linked....
    5. apt-get nightmare
      I'm trying to upgrade a laptop and I get the following error. Removing gnome-control-center dpkg: error processing gnome-control-center...
  3. #2

    Default Re: CSS nightmare with positioning

    Just off the top of my head -
    > width:1150;
    Need units on this value.
    > height:27;
    Ditto.

    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (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
    ==================


    "Jim Elander" <webforumsuser@macromedia.com> wrote in message
    news:e4ffej$cu9$1@forums.macromedia.com...
    > Hi,
    > I have a simple, but maddening problem, that I need help with ---before I
    > shoot myself! I have created 3-.jpegs, for use as a a top-side-bottom
    > graphic.
    > I have created an external style sheet and tried numerous variations
    > (box-positioning-margin etc.) to try and get the CSS pseudo-ids to render
    > on a
    > web browser correctly.....usually I get the "top" graphic to display as a
    > thin
    > line...not 150px..as expected...So, looking at the code below could
    > someoine
    > give me some general hints, to get my top-side-bottom graphics to render
    > correctly (the full graphics at the top-side-bottom) in my web
    > browser....????please help??
    >
    > #side_graphic {
    > position:relative;
    > width:110px;
    > height:auto;
    > z-index:2;
    > left: 10px;
    > top: 183px;
    > visibility: visible;
    > background-image: url(../images/side_graphic.jpg);
    > background-repeat: no-repeat;
    > margin-top: 0px;
    > margin-right: auto;
    > margin-bottom: 0px;
    > margin-left: auto;
    > }
    > #top_graphic {
    > position:relative;
    > width:1150;
    > z-index:1;
    > left: 10px;
    > top: 33px;
    > visibility: visible;
    > background-image: url(../images/top_graphic_title.jpg);
    > background-repeat: no-repeat;
    > margin-top: 0px;
    > margin-right: auto;
    > margin-bottom: 0px;
    > margin-left: auto;
    > height: 150px;
    > }
    > #footer_graphic {
    > position:relative;
    > width:1150px;
    > height:27;
    > z-index:3;
    > left: 10px;
    > top: 593px;
    > visibility: visible;
    > background-image: url(../images/bottom_graphic.jpg);
    > background-repeat: no-repeat;
    > margin-top: 0px;
    > margin-right: auto;
    > margin-bottom: 0px;
    > margin-left: auto;
    > }
    >

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