Results 1 to 6 of 6

Thread: CSS Question - How do you 'kill'....

  1. #1
    Join Date
    Apr 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question CSS Question - How do you 'kill'....

    Hey Folks,

    CSS Question - How would one 'kill'/remove the last slash at the far right of the 'slant sivider' menu as per Dynamic Drive example:

    http://www.dynamicdrive.com/style/cs...d-divider-menu

    Thanks,
    Commodore 128D
    (Built in hard drive!)

  2. #2
    Join Date
    Jul 2006
    Location
    just north of Boston, MA
    Posts
    1,806
    Thanks
    13
    Thanked 72 Times in 72 Posts

    Default

    this goes on the last list item

    Code:
    <li style="background-image: none">

    either that or create a class if you have multiple points on page / id if you have multiple pages, the u can put it in the css file
    Code:
    /* ID - 1 occurance per page */
    li#no_bg{background-image: none}
    
    OR
    
    /*Class - multiple occurances per page*/
    li.no_bg{background-image: none}

  3. #3
    Join Date
    Apr 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Hmmm...

    As per the example html (as per above link), I followed your instruction...

    <div id="slantedmenu">
    <ul>
    <li><a href="http://www.dynamicdrive.com/">Dynamic Drive</a></li>
    <li><a href="http://www.dynamicdrive.com/style/">CSS Library</a></li>
    <li><a href="http://www.cssdrive.com/">CSS Drive</a></li>
    <li><a href="http://www.javascriptkit.com/">JavaScript Kit</a></li>
    <li><a href="http://www.codingforums.com">Coding Forums</a></li>
    <li style="background-image: none"><a href="http://tools.dynamicdrive.com/button/">Button Maker</a></li>
    </ul>
    </div>

    Still seeing that last .gif slant divider...?

    Thanks again...
    Commodore128D
    (Built in hard drive!)

  4. #4
    Join Date
    Jul 2006
    Location
    just north of Boston, MA
    Posts
    1,806
    Thanks
    13
    Thanked 72 Times in 72 Posts

    Default

    i am not sure but its only getting rid of it when you put it in the tag itself, it wont let me use a reference in the css file sorry, but here is the code
    Code:
    <li><a href="whatever.html" style="background-image:none">whatever</a></li>

  5. #5
    Join Date
    Apr 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    B-man,

    Thanks much for the quick response!

    Worked out.

    How do you benefit from assisting all us code-backward folks??

    I noticed a 'thank you' system on these boards... do you receive a recognition from that system? if so, i wouldd be glad to give you 'propers'.

    Much Obliged,
    Commodore128D
    (Built in hard drive!)

  6. #6
    Join Date
    Jul 2006
    Location
    just north of Boston, MA
    Posts
    1,806
    Thanks
    13
    Thanked 72 Times in 72 Posts

    Default


    click on that image under my post and it will add a "thanks" to my count if you want to. Thats about all the recognition we get, and really I dont even care about those. My satisfaction comes with you getting what ya need

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
  •