Jump to content

Nth-Child


mariuseide

Recommended Posts

Hi i need to get every second row with bg color #000000. How is that possible with this code and nth-child?unfortunately i cant do anything to the code since its a include from a rssprovider.

<div id="rssincl-box-id">				   <div class="rssincl-content">				    <div class="rssincl-entry">					    <p class="rssincl-itemtitle">ITEM-TITEL</p>				    </div>			    </div>		    </div>

Link to comment
Share on other sites

Here's a good link to a tutorial that includes the "ever-other" child CSS3 element.http://net.tutsplus.com/tutorials/html-css-techniques/html-5-and-css-3-the-techniques-youll-soon-be-usingLook for the section entitled Zebra-striping. You could apply the CSS to the tags that nest the RSS input.Hope this was helpful. Sorry if it doesn't fix your issue, as it's a robust answer.-Grahamalluringmedia.net

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...