Affiliate Programs
 
Search affiliate programs for: 
Affiliate Categories
» Affiliate Networks
» Ad Networks
» 2 Tier Programs
» Pay Per Sale
» Pay Per Lead
» Residual Income
» Datafeeds
» Multi Tier Programs
» Business Opps
» Other Programs

Newsletter
Get newly added affiliate programs by email. Enter your email here:
Article Categories
» Affiliate Marketing
» Business
» Ecommerce
» Hosting
» Marketing
» Sales
» Web Designing
» Webmasters
» SEO & Promotion
» Working At Home
» Other Articles
» Affiliate Glossary


Go Back   AffiliateSeeking Forum > Website Creation, Design & Maintenance > Website Design > HTML

HTML Discuss about HTML designing problems here or help others with their HTML designing issues.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-08-2011, 06:45 AM
wryfhk22 wryfhk22 is offline
Junior Member
 
Join Date: Mar 2011
Posts: 2
wryfhk22 is on a distinguished road
Default Highlight text code.

I read them from other place and my friends said it's very useful,so I copy them as following,hope can help you.

Highlight text code.
Code:

<span style="background-color: #FFFF00">You can highlight your text any color you like</span>

Colored Text Code.
Code:

<span style="color: red; font-size: 14pt">You can add colored text</span>

Adding background Image to text code.
Code:

<SPAN STYLE="background-image: url(plainbgrnd.jpg)">You can add a background image to your text.</SPAN>

Alt tag on text code
Code:

<span title="ISN'T THIS SOOOOOO COOL!"><b>HOVER YOUR MOUSE HERE.</b></span>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 12-16-2011, 12:24 PM
Christopher Christopher is offline
Junior Member
 
Join Date: Dec 2011
Posts: 18
Christopher is on a distinguished road
I have a static HTML page where I am using span tags and javascript to highlight selected portions of text. On a separate page, I would like to link back to this HTML page and have specified highlighting active. See provided code below.

The issue is the required style="background: transparent" tag. It has to be there so that the highlight is only active when clicked upon, but this also means that when I attempt to link to this page as specified below, the highlight is not active.

Any help would be much appreciated. Thanks.
Clicking this link highlights specified portions of text in the document.
<span title="Warscape"><a title="Warscape" onclick="highlightSpan(this.getAttribute('title')) " href="">Warscape</a></span>
This is the text that is highlighted when clicked.
<span title="Warscape" class="highlight" style="background: transparent">During this month while we have been building Fort No 1 Spring field Missouri, quite a No of Regiments have arrived from the north & now the Army of the Frontier [is?] formed</span>
Code to link to page with highlighting
<a href="j_62sept.html?highlight=Warscape">
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-21-2012, 06:47 AM
mtrick mtrick is offline
Junior Member
 
Join Date: Apr 2012
Posts: 17
mtrick is on a distinguished road
use css <div style="background-color:#ccc0cc;">Hello</div>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:32 PM.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.0.0
© 2004-2011 AffiliateSeeking. All rights reserved.