Large

Download from YouTube

By JoeSimmons Last update Aug 2, 2010 — Installed 816,721 times.

CSS Tips

in
Subscribe to CSS Tips 2 posts, 2 voices



jellybeans User
FirefoxX11

I replaced original line 48 with this:

create('div', {id:'downloadfromyoutube',style:'padding:.5em; text-align:left; font-size:1em; font-family:tahoma, arial, sans; font-weight:bold;',kids:new Array(

This forces the use of a sans font on a system where Tahoma and Arial are not available. For whatever reason the text was showing up displayed using a sans-serif font. I also changed the font/padding to em instead of px so that it scales properly.

 
JoeSimmons Script's Author
FirefoxWindows

Ok, I am now using em for font and padding, and the font.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel