[personal profile] tropicsbear posting in [community profile] style_system
So I heard that the font tag and associated tags are being deprecated? (I'm not sure? This also includes center?) So I started using span when needed in my entries. The problem is that the text isn't displaying accurately anymore.

In the layout I'm using, italicized text displays as Old Standard TT or Georgia, and bolded text is displayed as Lato or Calibri. If I just use b or i, the text displays correctly. But if I use span (like, < span style="font: italic;" >*text*< /span >, the different fonts are gone.

This is the layout CSS I'm using:



Alternately, if I'm wrong about font being deprecated, feel free to tell me I'm an idiot so I can just go back to my old ways.

Date: 2013-03-11 07:08 am (UTC)
metawidget: A platypus looking pensive. (Default)
From: [personal profile] metawidget
An interemediate solution is to class your spans (<span class="someClass">text<span/>) and define the style for the class in the CSS in your journal. Other people's journals won't usually implement the class, though, and can't see your implementation, so it's best for decorative-but-not-critical styling.

Profile

Dreamwidth style system discussion

October 2025

S M T W T F S
   1 234
567891011
12131415161718
19202122232425
262728293031 

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 9th, 2026 01:19 pm
Powered by Dreamwidth Studios