Professional Web Applications Themes

CSS Style For One Tag ? - Macromedia Dreamweaver

Chet: So you would like for DMX to create some unknown or random classname to apply to the currently selected tag? If you think about how CSS styles get applied to page content, you would realize there would not be an easy or satisfactory way to do this. Just create a custom class and apply it yourself. You can always submit such ideas to com. -- Murray --- ICQ 71997575 Team Macromedia Volunteer for Dreamweaver MX (If you *MUST* email me, don't LAUGH when you do so!) ================== news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET ANSWERS ================== http://www.dreamweavermx-templates.com - Template ...

  1. #1

    Default Re: CSS Style For One Tag ?

    Chet:

    So you would like for DMX to create some unknown or random classname to
    apply to the currently selected tag? If you think about how CSS styles get
    applied to page content, you would realize there would not be an easy or
    satisfactory way to do this. Just create a custom class and apply it
    yourself.

    You can always submit such ideas to com.

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver MX
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
    ANSWERS
    ==================
    http://www.dreamweavermx-templates.com - Template Triage!
    http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
    http://www.DreamweaverFAQ.com - DW FAQs, Tutorials & Resources
    http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
    ==================

    "Chester Harold" <com> wrote in message
    news:bgtusu$bg$macromedia.com... 
    the 


    Murray Guest

  2. #2

    Default Re: CSS Style For One Tag ?

    "Murray *TMM*" <com> wrote in message
    news:bgtvec$1fr$macromedia.com... 
    get 

    I'm not sure what you mean or why you ask the initial question. It seems to
    me you are thinking too much "within the box", meaning present
    functionality. In other words, right now the CSS panel has section for both
    linked style sheets and styles defined on the doent. It would not be
    programmatically difficult to add a new sction for the style of the current
    tag or tags (nested). It's not that farfetched an idea, builds on the
    current doent functionality, and doesn't require "some unknown or random
    classname". Another alternative would be to make it available on the
    properties panel for the current tag or tags. Right-click accessibility
    would be fine as well. I guess there are many good options. These inline
    styles, or whatever they are called when stored in the style attribute, are
    more streamlined and handy and it would be nice to see support for them.
    I'll send the mail off as you suggest.

    Thanks,
    Chet
     
    > the [/ref]
    the 
    >
    >[/ref]


    Chester Guest

  3. #3

    Default Re: CSS Style For One Tag ?

    Chester Harold wrote:
     

    That would be a bad idea, IMHO. With such feature many authors would
    probably think much less about what they're doing than they do today
    already. Just point and click, throw in some generic elements ('layers')
    and style it. Fine. In the end there would be no more structural markup,
    just meaningless div-soup styled entirely with inline CSS only.

    * * *

    "CSS gives so much power to the "class" attribute, that authors could
    conceivably design their own "doent language" based on elements with
    almost no associated presentation (such as DIV and SPAN in HTML) and
    assigning style information through the "class" attribute. Authors
    should avoid this practice since the structural elements of a doent
    language often have recognized and accepted meanings and author-defined
    classes may not." http://www.w3.org/TR/REC-CSS2/selector.html#class-html

    * * *
     

    No they aren't.
    They might be handy at the first look, but you run into big trouble when
    you wanna change something. The advantage of external stylesheets is the
    separation of content and presentation which makes maintenance much
    easier (you can't really do this with inline CSS):

    * You can change the entire look and feel of _all_ your sites by just
    editing _one_ file.

    * You can provide more than one stylesheet for different media types,
    e.g. screens, beamers (projection), printers, handhels etc.

    * By using external CSS and reasonable markup you can keep your sites as
    small as possible and decrease the download time of each single page
    drastically. It's possible to style a site with nearly no IDs or
    classes by just using all the different kinds of selectors (e.g.
    attribute selectors, child, adjacent sibling, pattern matching, ...)

    Inline CSS is ok for quick 'n dirty testing or some very special cases,
    but not for usable and easy maintainable websites in general.

    Just my 2 cents

    Micha
    Michael Guest

Similar Threads

  1. Trouble with Next Style in a paragraph style
    By Clark in forum Adobe Indesign Windows
    Replies: 4
    Last Post: August 7th, 01:22 PM
  2. Replies: 0
    Last Post: April 26th, 07:06 PM
  3. Replies: 2
    Last Post: August 29th, 05:56 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