Thursday, December 24, 2009

Html coding, links?

Ummm.... does anyone know the coding [html] for links just like this site's nav?


illustration.co.nrHtml coding, links?
A link is href='http://www.whateverwebsite.com'Html coding, links?
It'll be done with CSS, not HTML or JS.





Just change the background colour for the different link states.
Try this...





%26lt;HTML%26gt;


%26lt;HEAD%26gt;


%26lt;TITLE%26gt;%26lt;/TITLE%26gt;


%26lt;style%26gt;


td.menuon { background-color: #FF0000; color: #FFFFFF; font-family: arial; font-size: 12px; cursor: pointer; }


td.menuoff { background-color: #FFFFFF; color: #000000; font-family: arial; font-size: 12px; }


%26lt;/style%26gt;





%26lt;/HEAD%26gt;


%26lt;BODY%26gt;


%26lt;table%26gt;


%26lt;tr%26gt;


%26lt;td width=';159'; align=';center'; class=';menuoff'; onmouseover=';className='menuon';'; onMouseOut=';className='menuoff';'; onclick=';location.href='http://www.egeem鈥?Text Here%26lt;/td%26gt;


%26lt;/tr%26gt;


%26lt;/table%26gt;





%26lt;/BODY%26gt;


%26lt;/HTML%26gt;
Hi! I would suggest looking at Rough Guides, The Internet.


They have a section that covers how to do html and designing your own web page from raw code. (pp.200-216). I have the 1999 edition, it's from Penguin Books, and while not the most comprehensible guide, it will get you going in the right direction.

No comments:

Post a Comment