CSS - Is This Possible, Append Character With Css/js??
Is it possible to put double quotes before and after a sting which has a specific class assigned to it? Either with CSS or JS?
Example: Lets say i have this code: PHP Code: Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Integer quis nibh. Etiam nibh neque, mollis vel, consectetuer id, viverra nec, diam. Phasellus lectus neque, suscipit vitae, cursus id, pellentesque nec, lacus. Donec augue libero, scelerisque at, pulvinar eu, egestas et, sem. Praesent venenatis ipsum at risus. Proin vel erat. Fusce pretium justo elementum nibh ultricies lacinia. Nam adipiscing magna eu neque. Maecenas dictum lectus nec nisl. Mauris eu odio. <div class="blogquote"> Nunc convallis lobortis arcu. Pellentesque purus mi, commodo eget, faucibus quis, elementum sit amet, lacus. Sed scelerisque nulla vitae felis. </div> Phasellus lectus libero, faucibus quis, elementum ac, nonummy ut, purus. Curabitur sit amet velit. Donec interdum semper quam. Phasellus dui. Nulla elementum nisl. Is it possible to put a doublequote before and after the text within the div with class blogquote without using a serverside language like php? Similar Tutorialsi have a link which has some parenthesis within the anchor tags, now what i was wondering was whether i could change the style (colour to be exact) of the parenthesis without adding extra tags into the html. Thanks for any assisstance eg: Order By (DESC) to become Order By ( DESC ) very simple. this may sound strange, but i figured css would be the easiest solution. i simply have one of 2 characters that will display in each TD of a table. either Y or N. is there anyway to specify the color of the background, or TD, depending on the character within? if its Y, make it red, and if its N, make it blue. that all. any ideas??? |