44
youknowquitewellandvisitfrequently,andstarttohaveapokearoundusingthis
tool.Somesuggestionsforyou:
■
Information
>
Display Block Size
■
Information
>
View Document Outline
(agoodwaytocheckonanews/blogarticle)
■
Outline
>
Headings
■
Resize
>
Resize the Window
Oh,thepower!Beforeyoujustlookedatthesewebpages;nowyoucanreallyhave
agooddigaroundandseeexactlyhowthey’vebeenbuilt—and(withasuitably
smuglookonyourface)pickholesinalltheirlittlemistakes!
How to use XRAY
ThefinaltoolthatI’mgoingtotalkyouthroughisthesuper-simpleXRAY.Brought
toyoubythewonderfulpeopleatWestciv—long-standingsupportersofweb
standardsanddoingthingstherightway—XRAYletsyouquicklyanalyzeanyele-
mentonapage.
AsIsaidearlier,thisoneisn’tanextensionthatyouinstall—it’saspecialkindof
bookmarkorfavorite.Or,tousetheparlance,afavelet.Andjustasyoucancallup
afavoritepage,youcansummonupXRAYbyclickingonthisbrowserfavorite.
Whenyoudo,Figure12.27revealswhatyou’llseeonthepage.
12
Figure 12.27. The XRAY start screen
Nowjustclickanywhereonthepage.Whicheverelementyouclickonwillhave
itsinformationdisplayedinthisfloatingpanel.Itmaynottellyoueverythingthat
youneedtoknow(that’swhereFirebugcomesin),butforthepurposesofquickly
checkingsomeHTMLandCSSproperties,it’saperfect,quicksolution.Forexample,
itwilltellyou:
12
Thisishowitlooksatthetimeofwriting,butIknowthatanewversionisinthepipelinethatwill
addmorefeatures,butshould,mostly,appearlikethis.Sodon’tbetoosurprisedifitlooksalittledif-
ferentfromthescreenshotsusedhere.
Build Your Own Website The Right Way Using HTML & CSS
450