Mind blowing SEO improving and Google rank increasing Signature Rotator SEO Tool.

Add css style to image and link?

make money online
destroyer Offline referral

Posts: 429
Joined: Jul 2013
Reputation: 3

Senior Member
I have a div that contains my content mostly text with only a few images and maybe on or two links so I need to learn css trick to apply css style only to link and image not to the whole content any idea how can I do it?
victor Offline referral

Posts: 636
Joined: Jun 2013
Reputation: 34

Senior Member

PHP Code:
<div class="testing">
// my HTML content
<a href="#">text link</a>
img src="#" border="0" height="16" width="16" />

.testing a {here goes you link css style}
.testing img {here goes you image css style}

Google this topic

User(s) browsing this thread: 1 Guest(s)