raywilk — 2013-09-20T05:11:15-04:00 — #1
I have this html line, it had one css class, but I wish to add the 2nd css class to the word Join Here!
can I do it ?
<p class="latestMembersText">Lots of new singles are joining every day...<br /> You could be one of them - </p> <p class="JoinHereTextArea"><a href="signup-stepone.php">Join Here!</a></p>
all help greatly appreciated
raywilk — 2013-09-20T06:53:36-04:00 — #2
I alos would like this image ti live link to a php file
Could any one help me by combining these codes please, I tried yet no joy
I would the like the image when clicked on to open the php page
<img class="sideAdvert" src="images/join-free-advert.png" alt="join-free-advert" width="300" height="220"/>
All help appreciated
c0dingl_fe — 2013-09-21T07:40:08-04:00 — #3
You can add as many classes to a html element as you need, you just separate the class names with a space. Let's say you have 2 classes:
You could add these to a single HTML like this:
<p class="coloring yellow_bg">This is some text</p>
To make the script run when the image is clicked you need to put your image WITHIN the <a>nchor tag.
<img class="sideAdvert" src="images/join-free-advert.png" alt="join-free-advert" width="300" height="220" />
raywilk — 2013-09-21T20:59:20-04:00 — #4
Hello c0dingL!fe, thank you for your answers, yes great I understand, and will implement those codes now,
Thank you again, and best wishes
c0dingl_fe — 2013-09-22T05:42:42-04:00 — #5
Good morning Ray,
No problem Glad to help.