Log in

View Full Version : triangle divs



eugenedonaghy
08-27-2012, 12:18 AM
hi

can the css triangle div be applied to li elements as I want to customize a twitter feed list and the tweets are in list form


Eugene

djr33
08-27-2012, 12:40 AM
We'll need more information to be able to help you. What's a "triangle div"?

eugenedonaghy
08-29-2012, 03:39 PM
I Meant CSS triangle arrow divs as in the tutorial file in CSS section

djr33
08-29-2012, 03:56 PM
It's helpful to post the link so we know what script you're talking about. Here it is for anyone else who wants to look at that for reference:
http://www.dynamicdrive.com/style/csslibrary/item/css_triangle_arrow_divs/

It looks to me like this is done based on just setting different colors for each side of the border. I don't see why you couldn't set the CSS for another element such as <li>, assuming browsers will use it the same way. I'm not sure about that, just because I haven't personally tried this technique.

The first step would just be to change 'div' to 'li' in the CSS (along with any class names, as needed) and see if it works. Is there a problem?