Ask a Question related to Macromedia Fireworks, Design and Development.

  1. #1

    Default <SPAN> Tag


    I know this is not FW related, it's just a quicky anyway:

    I noticed that Dreamweaver sometimes applies the <SPAN> tag to my text.
    But at other times it does not. Does this have anything to do with the
    fact that my text is inside another element such as a Div or a
    Table(Cell)? I was just updating my freestyler site locally and it added
    the same <SPAN> tag again. I must add that I have a seperate CSS style
    applied to my Div. So if i'm right - according to my theory - the <SPAN>
    tag is only applied when the element in which the <SPAN> text is
    contained already has a style applied to it.

    I remember reading about this in the Dreamweaver 4 Bible which I read
    from beginning to end and backwards... Two ways to apply a style 1)
    Normal style; 2) Spanning the tag. I DO know that whenever I select a
    portion of text from a sentence or a continuous block of text (meaning
    no <p> tags inbetween continuous lines of text) - that a <SPAN> tag is
    applied. I understand this HAS to be done in this way otherwise the
    browser would never know that this part of the sentence or block of text
    has to be rendered in another style than the style applied to the rest
    of the sentence or block of text.

    If i'm asking too much, let me know.

    --

    Coen

    "The only place where success comes before work is in the dictionary."
    _______________________________
    Please, don't E-mail me about Fireworks questions. Post them on the Forum.

    E-mail : ccnk at home.nl
    ================================
    Enhance Fireworks with these Productivity Resources

    *** DevNet ***
    [url]http://www.macromedia.com/devnet/mx/fireworks/[/url]
    *** Styles ***
    [url]http://www.macromedia.com/devnet/mx/fireworks/articles/style_samples.html[/url]
    [url]http://wetworks.nl/freestyler[/url]
    [url]http://richiebee.ca/fireworks.htm[/url]
    *** Flash Panels ***
    [url]http://www.macromedia.com/devnet/mx/studio/articles/fw_command_in_flash.html[/url]

    ccnk Guest

  2. Similar Questions and Discussions

    1. Span and Div names
      Hi, I've been getting used to Dreamweaver - I'm not much of a coder any more, so I am using the basics. I downloaded the CourseBuilder extension...
    2. Annoying span
      Hi, Ive a annoying problem when creating Custom WebControl. When i create this sample control in codebehind. It renders as: <span...
    3. DataGrid (body only) contained in <span>...</span> tags
      Hi, I have a DataGrid control that displays many records. As such, I have been given a requirement to contain only the body of my DataGrid...
    4. <span>'s
      Hi, I have a link on an asp page. When the user clicks on this link I make a <span> visible. Within my span I have a series of textboxes. ...
    5. DIV vs SPAN
      In my quest to get my page working I'm noticing I have a choice of either <DIV> or <SPAN> tags. I'd like to use nested layers and am wondering will...
  3. #2

    Default Re: <SPAN> Tag

    The SPAN tag is used when the selection is less than the whole block level
    element. If you select one word within a <P>, it will use a span. If you
    select the entire <P>, it should add the class to the <P> tag.


    "ccnk" <ccnkHAHA@home.nl> wrote in message news:3F889F76.2030708@home.nl...
    >
    > I know this is not FW related, it's just a quicky anyway:
    >
    > I noticed that Dreamweaver sometimes applies the <SPAN> tag to my text.
    > But at other times it does not. Does this have anything to do with the
    > fact that my text is inside another element such as a Div or a
    > Table(Cell)? I was just updating my freestyler site locally and it added
    > the same <SPAN> tag again. I must add that I have a seperate CSS style
    > applied to my Div. So if i'm right - according to my theory - the <SPAN>
    > tag is only applied when the element in which the <SPAN> text is
    > contained already has a style applied to it.
    >
    > I remember reading about this in the Dreamweaver 4 Bible which I read
    > from beginning to end and backwards... Two ways to apply a style 1)
    > Normal style; 2) Spanning the tag. I DO know that whenever I select a
    > portion of text from a sentence or a continuous block of text (meaning
    > no <p> tags inbetween continuous lines of text) - that a <SPAN> tag is
    > applied. I understand this HAS to be done in this way otherwise the
    > browser would never know that this part of the sentence or block of text
    > has to be rendered in another style than the style applied to the rest
    > of the sentence or block of text.
    >
    > If i'm asking too much, let me know.
    >
    > --
    >
    > Coen
    >
    > "The only place where success comes before work is in the dictionary."
    > _______________________________
    > Please, don't E-mail me about Fireworks questions. Post them on the Forum.
    >
    > E-mail : ccnk at home.nl
    > ================================
    > Enhance Fireworks with these Productivity Resources
    >
    > *** DevNet ***
    > [url]http://www.macromedia.com/devnet/mx/fireworks/[/url]
    > *** Styles ***
    > [url]http://www.macromedia.com/devnet/mx/fireworks/articles/style_samples.html[/url]
    > [url]http://wetworks.nl/freestyler[/url]
    > [url]http://richiebee.ca/fireworks.htm[/url]
    > *** Flash Panels ***
    >
    [url]http://www.macromedia.com/devnet/mx/studio/articles/fw_command_in_flash.html[/url]
    >

    Donald Booth Guest

  4. #3

    Default Re: <SPAN> Tag

    Thank you!

    Donald Booth wrote:
    >The SPAN tag is used when the selection is less than the whole block level
    >element. If you select one word within a <P>, it will use a span. If you
    >select the entire <P>, it should add the class to the <P> tag.
    >
    >
    >"ccnk" <ccnkHAHA@home.nl> wrote in message news:3F889F76.2030708@home.nl...
    >
    >
    >>I know this is not FW related, it's just a quicky anyway:
    >>
    >>I noticed that Dreamweaver sometimes applies the <SPAN> tag to my text.
    >>But at other times it does not. Does this have anything to do with the
    >>fact that my text is inside another element such as a Div or a
    >>Table(Cell)? I was just updating my freestyler site locally and it added
    >>the same <SPAN> tag again. I must add that I have a seperate CSS style
    >>applied to my Div. So if i'm right - according to my theory - the <SPAN>
    >>tag is only applied when the element in which the <SPAN> text is
    >>contained already has a style applied to it.
    >>
    >>I remember reading about this in the Dreamweaver 4 Bible which I read
    >>from beginning to end and backwards... Two ways to apply a style 1)
    >>Normal style; 2) Spanning the tag. I DO know that whenever I select a
    >>portion of text from a sentence or a continuous block of text (meaning
    >>no <p> tags inbetween continuous lines of text) - that a <SPAN> tag is
    >>applied. I understand this HAS to be done in this way otherwise the
    >>browser would never know that this part of the sentence or block of text
    >>has to be rendered in another style than the style applied to the rest
    >>of the sentence or block of text.
    >>
    >>If i'm asking too much, let me know.
    >>
    >>--
    >>
    >>Coen
    >>
    >>"The only place where success comes before work is in the dictionary."
    >>_______________________________
    >>Please, don't E-mail me about Fireworks questions. Post them on the Forum.
    >>
    >>E-mail : ccnk at home.nl
    >>================================
    >>Enhance Fireworks with these Productivity Resources
    >>
    >>*** DevNet ***
    >>[url]http://www.macromedia.com/devnet/mx/fireworks/[/url]
    >>*** Styles ***
    >>[url]http://www.macromedia.com/devnet/mx/fireworks/articles/style_samples.html[/url]
    >>[url]http://wetworks.nl/freestyler[/url]
    >>[url]http://richiebee.ca/fireworks.htm[/url]
    >>*** Flash Panels ***
    >>
    >>
    >>
    >[url]http://www.macromedia.com/devnet/mx/studio/articles/fw_command_in_flash.html[/url]
    >
    >
    >
    >
    >
    >
    --

    Coen

    "The only place where success comes before work is in the dictionary."
    _______________________________
    Please, don't E-mail me about Fireworks questions. Post them on the Forum.

    E-mail : ccnk at home.nl
    ================================
    Enhance Fireworks with these Productivity Resources

    *** DevNet ***
    [url]http://www.macromedia.com/devnet/mx/fireworks/[/url]
    *** Styles ***
    [url]http://www.macromedia.com/devnet/mx/fireworks/articles/style_samples.html[/url]
    [url]http://wetworks.nl/freestyler[/url]
    [url]http://richiebee.ca/fireworks.htm[/url]
    *** Flash Panels ***
    [url]http://www.macromedia.com/devnet/mx/studio/articles/fw_command_in_flash.html[/url]


    ccnk 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