ncyoung.com

diagnostic css in a bookmarklet

This entry is in the following categories:

Top->Programming->Web->CSS
 - Older in CSS: attribute selectors
 - Newer in CSS: css zen garden

Top->Programming->Web->JavaScript/DHTML
 - Older in JavaScript/DHTML: DHTML substitue for select form element
 - Newer in JavaScript/DHTML: bookmarklet for collapsing unordered lists

I wrote before about seeing the table structure of pages using css.

I have a css onine that can be used to do this by setting it as your user defined style sheet.

Jan showed me how to make a bookmarklet that reformats the current page using a given stylesheet.

Here it is as a link.

Here it is as text:

javascript:(function(){var newSS; newSS=document.createElement("link"); newSS.rel="stylesheet"; newSS.type="text/css"; newSS.href = "http://ncyoung.com/grab_bag/tableShow.css"; document.documentElement.childNodes[0].appendChild(newSS); })();





Dated: 02/05/2004