There's more than one way to do things | |
PerlMonks |
Re: More ways to download code...by tye (Sage) |
on Aug 28, 2005 at 15:53 UTC ( [id://487269]=note: print w/replies, xml ) | Need Help?? |
I'd find the d/l links on the left much better than centered (the last line of code is very often short and usually not indented much or at all, so putting the link on the left usually makes it closer to the actual code content, making it clearer what it is for). As for the gap, I think this would fix that for CSS-enabled browsers:
Updated CSS that works right now in user-specified CSS is:
"tt.code" is required because that is what the site CSS uses so ".code" isn't considered specific enough to override. The "p" is needed when "auto" code wrapping is turned on because the HTML produced is <p><tt class="code">...</tt></p><div class="embed_code_od">.... So I'd change the HTML output to <p class="code"><tt class="code>... and change the on-site CSS to use .code instead of tt.code, something like:
- tye
In Section
Perl Monks Discussion
|
|