Professional Web Applications Themes

H1 to H6 Tags - Macromedia Dynamic HTML

I read somewhere that search engines key on the headline tags h1 to h6 to help categorize a page's contents. First, if that's not true, please advise and ignore the rest. Otherwise, I suppose it's wise to convert to these tags as in... div.story h1 { [etc] } ...but when I do so, I find that I cannot control spacing above and below these headings. Setting neither margin nor padding, top nor bottom, has any effect. Pages are full of unwanted air. Anyone know what I am doing wrong? Thanks in advance. Steve...

  1. #1

    Default H1 to H6 Tags

    I read somewhere that search engines key on the headline tags h1 to h6 to help
    categorize a page's contents. First, if that's not true, please advise and
    ignore the rest.
    Otherwise, I suppose it's wise to convert to these tags as in...
    div.story h1 {
    [etc]
    }
    ...but when I do so, I find that I cannot control spacing above and below
    these headings. Setting neither margin nor padding, top nor bottom, has any
    effect. Pages are full of unwanted air. Anyone know what I am doing wrong?
    Thanks in advance.
    Steve


    anabasis37 Guest

  2. #2

    Default Re: H1 to H6 Tags

    It's true.
     

    This is not 'converting' to those tags. You would have to change the HTML
    code, too.
     

    We would need to see your code, but you are on the right track. Manage the
    default margins in the <h#> tags.

    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs, Tutorials & Resources
    ==================


    "anabasis37" <com> wrote in message
    news:frui1s$73h$macromedia.com... 

    Murray Guest

  3. #3

    Default Re: H1 to H6 Tags

    Murray - Thanks for replying. I believe I've solved it. In the process of
    deconstructing a complex page along with its CSS to its essentials in order to
    send the code you requested, I discovered that, in a commented-out section of
    the CSS was this line:
    padding: 5px 5px 0px 5px; /* padding needed when no intro hed */
    In other words, a nested comment. Didn't realize that CSS doesn't support
    nested comments. The result was that its closing */ turned on the code that
    followed, and that was having side effects on the later CSS that was giving me
    the trouble I cited.
    Thanks again for looking
    Steve


    anabasis37 Guest

  4. #4

    Default Re: H1 to H6 Tags

    Good sleuthing!

    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs, Tutorials & Resources
    ==================


    "anabasis37" <com> wrote in message
    news:fs1reo$mha$macromedia.com... 

    Murray Guest

Similar Threads

  1. How to treat template tags as comment tags?
    By Bear in forum Macromedia Exchange Dreamweaver Extensions
    Replies: 0
    Last Post: October 22nd, 04:29 AM
  2. ASP.NET tags
    By ajm4961 in forum Dreamweaver AppDev
    Replies: 1
    Last Post: February 16th, 10:12 PM
  3. Replies: 2
    Last Post: July 16th, 01:09 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