Results 1 to 3 of 3

Thread: HTML 5 decided to change my tag?

  1. #1
    Join Date
    Jun 2012
    Location
    On a volcano
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default HTML 5 decided to change my tag?

    1) Script Title:
    css_shadow_block_menu
    2) Script URL (on DD):
    http://www.dynamicdrive.com/style/cs...ow_block_menu/
    3) Describe problem:
    I have put a copy of your css into my external style sheet (with attribution) and
    used the html to bring it in using copy paste.
    the issue is not with the script, but how html5 browsers (I have checked on safari, chrome and firefox) render it on the page. When I check chrome's tools, it reports that it this is a menu tag rather than a div tag.

    I don't know where they are getting that from, as I did not use a menu tag.

    Does anyone know what the html 5 browsers are doing that they cause this issue?
    screen shots of what chrome does with this script..


    and the application resides at
    http://uncletoby.net/library

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    The element inspector image from your post is from either Chrome or Safari. It shows that the tag is in fact a ul tag. It also shows that there is a user agent stylesheet that applies to ul with those styles as listed. The fact that this user agent stylesheet also applies to menu and dir tags is immaterial to the situation.

    And it's pretty much immaterial to anything. User agent stylesheets are simply files that browsers use to render elements as the programmers interpret that they should be rendered according to the standards. They rarely interfere with styles that you apply to a page.

    And as far as the menu goes, that's the real problem with that page. It doesn't have the CSS3 Shadow Block Menu styles on or associated with it.

    I see in your post that you say you added them to your stylesheet, but they're not there. Perhaps you forgot to upload it, uploaded it to the wrong folder or under a different name. Or perhaps your server renamed it. Or, who knows . . . the styles are not in http://uncletoby.net/library/waterfall.css, nor are they on the page, and there's no other stylesheet associated with the page.
    Last edited by jscheuer1; 06-24-2012 at 06:30 PM. Reason: add detail
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Jun 2012
    Location
    On a volcano
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default thank you!

    Sometimes the solution is too obvious to see. Can't see the forest for all those blasted trees in the way...

    It helps to save your file before you complain that it won't work......


    thanks for the help on this one....

    (Also thanks for the really cool script. I need to make a couple adjustments and it is going to look so cool)

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
  •