The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> CODE example text styling
Christian J
post Aug 28 2006, 02:06 PM
Post #1


.
********

Group: WDG Moderators
Posts: 9,656
Joined: 10-August 06
Member No.: 7



Maybe it's just me, but I think the CODE examples are hard to read:

CODE
window.onload=function()
{
    var a=document.getElementsByTagName('a');
    for(var i=0; i<a.length; i++)
    {
        a[i].style.color='#0f0';
    }
}


due to the font (Verdana? which uses too much letter-spacing) and line-height (too high).

My personal preference is Courier New with 1em line-height. wub.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 26th April 2024 - 09:16 AM