View Full Version : CSS Question - How do you 'kill'....

04-30-2007, 06:35 PM
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:


Commodore 128D
(Built in hard drive!)

04-30-2007, 06:54 PM
this goes on the last list item

<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

/* ID - 1 occurance per page */
li#no_bg{background-image: none}


/*Class - multiple occurances per page*/
li.no_bg{background-image: none}

04-30-2007, 07:04 PM
As per the example html (as per above link), I followed your instruction...

<div id="slantedmenu">
<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>

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

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

04-30-2007, 07:35 PM
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

<li><a href="whatever.html" style="background-image:none">whatever</a></li>

04-30-2007, 07:45 PM

Thanks much for the quick response!

Worked out.

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

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,
(Built in hard drive!)

04-30-2007, 08:34 PM
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 :)