Image next to text css

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

  1. #1

    Default Image next to text css

    Can soemone help me, I'm trying to add an image next to each body of text. Any
    ideas

    <style type="text/css">
    #right {
    border-left: 2px solid red;
    padding-left: 3px;
    }

    .section {
    padding-left: 100px
    }

    .section h3 {
    margin: 0;
    padding: 3px 0;
    font-size: 100%;
    font-weight: bold;
    border-bottom: 2px solid red;
    width: 200px;
    }

    .section p {
    margin-top: 0.5em;
    }

    #flexibility {
    background: url(images/flexibility.jpg) no-repeat;
    }

    #security {
    background: url(images/security.jpg) no-repeat;
    }
    </style>
    </head>

    <body>

    <div id='right'>
    <div id='flexibility' class='section'>
    <h3>Flexibility</h3>
    <p>Flexible temporary and ...</p>
    </div>
    <div id='security' class='section'>
    <h3>Security</h3>
    <p>Individual rooms and ...</p>
    </div>

    csa Guest

  2. Similar Questions and Discussions

    1. Identifying image-only vs. image+text PDF files
      I have a large collection of PDFs in a large directory/subdirectory structure, we are talking 366K PDFs. I need to find some way of identifying...
    2. Text Wrap around an image pasted into a text box
      This is an imperfect workaround, but I use it quite a bit. Paste your graphic in-line, followed by a hair-space or thin-space. Then format your...
    3. Getting dir text to appear as good as text image
      Okay, I'm slightly embarrased that I have to ask this, but hopefully this question will also help someone else. Up until now, whenever I've created...
    4. Exporting text as text (not an image)
      Amit Shamis wrote: Yes. Select the slice you want to export as HTML text and change the slice type from Image to Text in the Property...
    5. image to text
      I would like to know how to morph an image into text along a path. I am using a net (like a fishing net) heavy contrast rope net. I want to...
  3. #2

    Default Re: Image next to text css

    <body>

    <div id='right'>
    <div id='flexibility' class='section'>
    <h3>Flexibility</h3>
    <img src="whatever.gif" style="float:right"><p>Flexible temporary and
    ....</p>
    </div>
    <div id='security' class='section'>
    <h3>Security</h3>
    <img src="whatever2.gif" style="float:right"><p>Individual rooms and
    ....</p>
    </div>


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


    "csa" <webforumsuser@macromedia.com> wrote in message
    news:dkt70p$k35$1@forums.macromedia.com...
    > Can soemone help me, I'm trying to add an image next to each body of text.
    > Any
    > ideas
    >
    > <style type="text/css">
    > #right {
    > border-left: 2px solid red;
    > padding-left: 3px;
    > }
    >
    > .section {
    > padding-left: 100px
    > }
    >
    > .section h3 {
    > margin: 0;
    > padding: 3px 0;
    > font-size: 100%;
    > font-weight: bold;
    > border-bottom: 2px solid red;
    > width: 200px;
    > }
    >
    > .section p {
    > margin-top: 0.5em;
    > }
    >
    > #flexibility {
    > background: url(images/flexibility.jpg) no-repeat;
    > }
    >
    > #security {
    > background: url(images/security.jpg) no-repeat;
    > }
    > </style>
    > </head>
    >
    > <body>
    >
    > <div id='right'>
    > <div id='flexibility' class='section'>
    > <h3>Flexibility</h3>
    > <p>Flexible temporary and ...</p>
    > </div>
    > <div id='security' class='section'>
    > <h3>Security</h3>
    > <p>Individual rooms and ...</p>
    > </div>
    >

    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