Complete DIV info from Syle Sheet?

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

  1. #1

    Default Complete DIV info from Syle Sheet?

    I have the style info for <div id="About"> on an external style sheet
    (#About {position: absolute; left: 0px; top: 83px; width: 102px;
    z-index: 2;} . )

    Is there any way to link the dev content, <img
    src="images/interface/About_on.jpg" alt="About Us" name="AboutUs"
    width="102" height="43" id="AboutUs" title="&quot;&quot;" > </div>, as
    well?
    Thanks


    rlwillis Guest

  2. Similar Questions and Discussions

    1. Using Syle Function to colorize the backgorund of cellsin an AdvancedDataGrid
      I would like to use a Style Function to colorize cells in an AdvancedDataGrid. I can get the foreground color set sucessfully with {color :...
    2. cheat sheet
      :frown; does anyone know where i can find a list of the coldfusion tags that i can use as a referance guide while i work?
    3. How to get the name of an Excel sheet?
      It's a COM call via CFObject but be warned - if there are External Links in the spreadsheet or VBA code, you could have issues. I'll post some code...
    4. Print 8.5 x 11 sheet
      I have a projector that is 800 x 600 so it will play on any computer screen. I am trying to add a print button that will print an 8.5 x 11 sheet of...
    5. alert sheet after NSOpenPanel sheet
      I'm a Cocoa newbie trying to write a system preference panel. In response to a certain button, I show an NSOpenPanel with beginSheetForDirectory. ...
  3. #2

    Default Re: Complete DIV info from Syle Sheet?

    Huh? I'm not sure what you are asking?

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver MX
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]news://forums.macromedia.com/macromedia.dreamweaver[/url] - THE BEST WAY TO GET
    ANSWERS
    ==================
    [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
    ==================

    "rlwillis" <robert@3180web.com> wrote in message
    news:buh1gg$6tu$1@forums.macromedia.com...
    > I have the style info for <div id="About"> on an external style sheet
    > (#About {position: absolute; left: 0px; top: 83px; width: 102px;
    > z-index: 2;} . )
    >
    > Is there any way to link the dev content, <img
    > src="images/interface/About_on.jpg" alt="About Us" name="AboutUs"
    > width="102" height="43" id="AboutUs" title="&quot;&quot;" > </div>, as
    > well?
    > Thanks
    >
    >

    Murray *TMM* Guest

  4. #3

    Default Re: Complete DIV info from Syle Sheet?

    Sorry, I wasn't sure how to ask the question.
    Can I control the picture in the div with all of it's properties from the
    external style sheet or must that information stay on the html page?
    Thanks.

    "Murray *TMM*" <forums@HAHAgreat-web-sights.com> wrote in message
    news:buh4gt$bku$1@forums.macromedia.com...
    > Huh? I'm not sure what you are asking?
    >
    > --
    > Murray --- ICQ 71997575
    > Team Macromedia Volunteer for Dreamweaver MX
    > (If you *MUST* email me, don't LAUGH when you do so!)
    > ==================
    > [url]news://forums.macromedia.com/macromedia.dreamweaver[/url] - THE BEST WAY TO GET
    > ANSWERS
    > ==================
    > [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
    > ==================
    >
    > "rlwillis" <robert@3180web.com> wrote in message
    > news:buh1gg$6tu$1@forums.macromedia.com...
    > > I have the style info for <div id="About"> on an external style sheet
    > > (#About {position: absolute; left: 0px; top: 83px; width:
    102px;
    > > z-index: 2;} . )
    > >
    > > Is there any way to link the dev content, <img
    > > src="images/interface/About_on.jpg" alt="About Us" name="AboutUs"
    > > width="102" height="43" id="AboutUs" title="&quot;&quot;" > </div>, as
    > > well?
    > > Thanks
    > >
    > >
    >
    >

    rlwillis Guest

  5. #4

    Default Re: Complete DIV info from Syle Sheet?

    What kind of control are you looking for? You can certainly define a CSS
    style that has an effect on that image, adding borders, margins, padding,
    alignment, etc.

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver MX
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]news://forums.macromedia.com/macromedia.dreamweaver[/url] - THE BEST WAY TO GET
    ANSWERS
    ==================
    [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
    ==================

    "rlwillis" <robert@3180web.com> wrote in message
    news:buh6bh$eb3$1@forums.macromedia.com...
    > Sorry, I wasn't sure how to ask the question.
    > Can I control the picture in the div with all of it's properties from the
    > external style sheet or must that information stay on the html page?
    > Thanks.
    >
    > "Murray *TMM*" <forums@HAHAgreat-web-sights.com> wrote in message
    > news:buh4gt$bku$1@forums.macromedia.com...
    > > Huh? I'm not sure what you are asking?
    > >
    > > --
    > > Murray --- ICQ 71997575
    > > Team Macromedia Volunteer for Dreamweaver MX
    > > (If you *MUST* email me, don't LAUGH when you do so!)
    > > ==================
    > > [url]news://forums.macromedia.com/macromedia.dreamweaver[/url] - THE BEST WAY TO
    GET
    > > ANSWERS
    > > ==================
    > > [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
    > > ==================
    > >
    > > "rlwillis" <robert@3180web.com> wrote in message
    > > news:buh1gg$6tu$1@forums.macromedia.com...
    > > > I have the style info for <div id="About"> on an external style sheet
    > > > (#About {position: absolute; left: 0px; top: 83px; width:
    > 102px;
    > > > z-index: 2;} . )
    > > >
    > > > Is there any way to link the dev content, <img
    > > > src="images/interface/About_on.jpg" alt="About Us" name="AboutUs"
    > > > width="102" height="43" id="AboutUs" title="&quot;&quot;" > </div>,
    as
    > > > well?
    > > > Thanks
    > > >
    > > >
    > >
    > >
    >
    >

    Murray *TMM* Guest

  6. #5

    Default Re: Complete DIV info from Syle Sheet?

    I was hoping to control the image source, height, width and linking. Is
    there a good info source that gives the syntax of CSS controls? Thanks.


    "Murray *TMM*" <forums@HAHAgreat-web-sights.com> wrote in message
    news:buh7q8$gde$1@forums.macromedia.com...
    > What kind of control are you looking for? You can certainly define a CSS
    > style that has an effect on that image, adding borders, margins, padding,
    > alignment, etc.
    >
    > --
    > Murray --- ICQ 71997575
    > Team Macromedia Volunteer for Dreamweaver MX
    > (If you *MUST* email me, don't LAUGH when you do so!)
    > ==================
    > [url]news://forums.macromedia.com/macromedia.dreamweaver[/url] - THE BEST WAY TO GET
    > ANSWERS
    > ==================
    > [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
    > ==================
    >
    > "rlwillis" <robert@3180web.com> wrote in message
    > news:buh6bh$eb3$1@forums.macromedia.com...
    > > Sorry, I wasn't sure how to ask the question.
    > > Can I control the picture in the div with all of it's properties from
    the
    > > external style sheet or must that information stay on the html page?
    > > Thanks.
    > >
    > > "Murray *TMM*" <forums@HAHAgreat-web-sights.com> wrote in message
    > > news:buh4gt$bku$1@forums.macromedia.com...
    > > > Huh? I'm not sure what you are asking?
    > > >
    > > > --
    > > > Murray --- ICQ 71997575
    > > > Team Macromedia Volunteer for Dreamweaver MX
    > > > (If you *MUST* email me, don't LAUGH when you do so!)
    > > > ==================
    > > > [url]news://forums.macromedia.com/macromedia.dreamweaver[/url] - THE BEST WAY TO
    > GET
    > > > ANSWERS
    > > > ==================
    > > > [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
    > > > ==================
    > > >
    > > > "rlwillis" <robert@3180web.com> wrote in message
    > > > news:buh1gg$6tu$1@forums.macromedia.com...
    > > > > I have the style info for <div id="About"> on an external style
    sheet
    > > > > (#About {position: absolute; left: 0px; top: 83px; width:
    > > 102px;
    > > > > z-index: 2;} . )
    > > > >
    > > > > Is there any way to link the dev content, <img
    > > > > src="images/interface/About_on.jpg" alt="About Us" name="AboutUs"
    > > > > width="102" height="43" id="AboutUs" title="&quot;&quot;" > </div>,
    > as
    > > > > well?
    > > > > Thanks
    > > > >
    > > > >
    > > >
    > > >
    > >
    > >
    >
    >

    rlwillis Guest

  7. #6

    Default Re: Complete DIV info from Syle Sheet?

    Thanks Rob!

    "rob :: digitalburn" <rob@digitalburn.net> wrote in message
    news:buh88m$h3e$1@forums.macromedia.com...
    > You can control just about everything belonging to the <img> that you can
    > with the <div>. In fact, if the <div>s there just to position the image,
    you
    > don't even need it. The only things you need to keep in the HTML are the
    id,
    > src, and alt, I think.
    >
    > So yo can replace everything with:
    >
    > <img id="stuff" src="stuff.jpg" alt="stuff" class="mystuffedimageclass">
    >
    > .mystuffedimageclass{
    > position:absolute; top: .... et cetera...
    > }
    >
    >

    rlwillis Guest

  8. #7

    Default Re: Complete DIV info from Syle Sheet?

    You can control just about everything belonging to the <img> that you can
    with the <div>. In fact, if the <div>s there just to position the image, you
    don't even need it. The only things you need to keep in the HTML are the id,
    src, and alt, I think.

    So yo can replace everything with:

    <img id="stuff" src="stuff.jpg" alt="stuff" class="mystuffedimageclass">

    ..mystuffedimageclass{
    position:absolute; top: .... et cetera...
    }


    rob :: digitalburn Guest

  9. #8

    Default Re: Complete DIV info from Syle Sheet?

    Any time... the thing to remember about those CSS positioning values is that
    they can be applied to any positional elements, and <div>s and <img>s are
    both positionable :)


    rob :: digitalburn Guest

  10. #9

    Default Re: Complete DIV info from Syle Sheet?

    However, you will not be able to control the src attribute or its
    dimensions....

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver MX
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]news://forums.macromedia.com/macromedia.dreamweaver[/url] - THE BEST WAY TO GET
    ANSWERS
    ==================
    [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 :: digitalburn" <rob@digitalburn.net> wrote in message
    news:buha61$jmb$1@forums.macromedia.com...
    > Any time... the thing to remember about those CSS positioning values is
    that
    > they can be applied to any positional elements, and <div>s and <img>s are
    > both positionable :)
    >
    >

    Murray *TMM* Guest

  11. #10

    Default Re: Complete DIV info from Syle Sheet?

    I already mentioned the src factor, but you can control the dimensions...
    works fine for me anyway.

    Murray *TMM* wrote:
    > However, you will not be able to control the src attribute or its
    > dimensions....

    rob :: digitalburn 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