Archived Comments (locked)
|
|
The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008) |
|
|
There's a much better way to do this, and it's called userContent.css: http://www.mozilla.org/support/firefox/edit#con... Put in a rule like: code, code *, pre, pre * {
|
|
|
nitro322, the problem is that sourceforge use a "font" tag inside "pre" tag. In the "font" tag attribute "size" is setted to "-1", my script add a style attribute into "pre" tag but the font tag set a specific size for a specific text part, so my "12px" that i setted was completely ignored!! I'm sorry, but is not my script and isn't your browser...it's sourceforge!
|
|
|
Thanks, cigno5.5! However, I still can't get this to work correctly with "pre" tags. Check out this page as an example:
Under the Magic heading, it use "code" tags to format fixed-width text, and your extension reseized it perfectly. However, the History section just below use "pre" tags to do the same. No matter what I try, I cannot get that section to be resized. Maybe Newsforge is doing something odd to prevent it? Or maybe it's just my browser... Anyway, thanks for the help with this. Very cool extension. |
|
|
nitro322, i did a simple modification and i updated the script. The code to resize "pre" tag is identical to the code for "code" tag. i haven't found problems! the only tedious thing is that "pre" tag works as preformatted text and, for example, this page, after updating script, is wrong rendered because your comment throws out from "column" |
|
|
this cms use "markdown" input type (see http://daringfireball.net/projects/markdown/) if you edit destcription of an your script you'll see the advertise on top. about the "bug" you reported i'll try to solve your problem! |
|
|
OK, I apologize about the above comment. It was in reference to < pre > tags, which apparently get rendered by this CMS. The question was asking if the same properties applied to < code > tags could also be applied to < pre >. Thanks. |
|
|
Great script, but it's somewhat incomplete. Many sites use tags to show formatted code, which is also rendered obnoxiously small by Firefox. I tried modifying your script to apply totags as well, but I couldn't get it to work. I was able to make changes to other tags, but nothing I did seemed to affect. Could you please add this functionality? Or is this even possible? Thanks. |