andrewducker: (shark rofl)
andrewducker ([personal profile] andrewducker) wrote2012-01-06 06:50 pm

Anyone here understand LJ Styles/CSS?

The bit at the bottom of this post* is wrapped in a font tag, so that it looks like this:
<font size="-2">*This bit, right here</font>
Under my old layout it looked smaller. On DW it looks smaller. Under the new one it doesn't look smaller at all.

Anyone spot what I need to tweak to make it look smaller again?

*This bit, right here


Edit: <span style="font-size:smaller">This works</span>
This works

<span style="font-size:0.7em">This works too</span>
This works too

[identity profile] andlosers.livejournal.com 2012-01-06 06:53 pm (UTC)(link)
I'm gonna guess you should be wrapping with an inline span tag with style="font-size: 0.8em" or similar these days?

[identity profile] skreidle.livejournal.com 2012-01-06 07:30 pm (UTC)(link)
I think the <font> tag has been deprecated on many sites that prefer CSS, but I can't keep a damn bit of CSS in my head. I still use <font>. :)
Edited 2012-01-06 19:30 (UTC)

[identity profile] apostle-of-eris.livejournal.com 2012-01-06 08:27 pm (UTC)(link)
lately, lj has frequently given me a New Improved comment experience -- with no Preview.
But when I can get Preview, it adds:

Allowed HTML: <a> <abbr> <acronym> <address> <area> <b> <bdo> <big> <blink> <blockquote> <br> <caption> <center> <cite> <code> <col> <colgroup> <dd> <del> <dfn> <div> <dl> <dt> <em> <font> <form> <h1> <h2> <h3> <h4> <h5> <h6> <hr> <i> <iframe> <img> <ins> <kbd> <li> <map> <ol> <p> <pre> <q> <s> <samp> <small> <span> <strike> <strong> <sub> <sup> <table> <tbody> <td> <textarea> <tfoot> <th> <thead> <tr> <tt> <u> <ul> <var> <xmp>

and I've used big and small, so I know they're real.
(Or were recently. ymmv, ianal, etc

matgb: Artwork of 19th century upper class anarchist, text: MatGB (Default)

[personal profile] matgb 2012-01-07 05:32 am (UTC)(link)
Font size tags are deprecated and these days sometimes stripped, you're supposed to use HTML codes for content and CSS for styling-basically it's good practice, etc.

Doesn't stop me using [smaller] a lot, but I know I'm not supposed to, I just need to reset all my inserts, or at least find a plugin that doesn't suck but let's me have inserts.