PDA

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



Commodore128D
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:

http://www.dynamicdrive.com/style/csslibrary/item/slanted-divider-menu

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

boogyman
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}

OR

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

Commodore128D
04-30-2007, 07:04 PM
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!)

boogyman
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>

Commodore128D
04-30-2007, 07:45 PM
B-man,

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

boogyman
04-30-2007, 08:34 PM
http://www.dynamicdrive.com/forums/images/buttons/post_thanks.gif
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 :)