pegkerr: (Glory and Trumpets!)
[personal profile] pegkerr
Happy birthday, [profile] kijjohnson!




Best of friends, dearest of henchwenches!

(no subject)

Date: 2004-01-20 05:35 am (UTC)
From: [identity profile] whumpdotcom.livejournal.com
Cute use of backgrounds on that!

FWIW, font is not really part of HTML (but browsers honor it because, well, there's a lot of pages that use it), but in the future you can use <span style="background: ..."> ... </span>

Pedantically yours,

whump, who should really be asleep... and not critiquing people's markup at five in the morning.

(no subject)

Date: 2004-01-20 05:50 am (UTC)
From: [identity profile] pegkerr.livejournal.com
Oh, you are giving me too much credit: I don't know enough about html to have done this myself! I just did it the lazy way and copied from the page source from a similar entry that [livejournal.com profile] nmalfoy did, and kept cutting chunks of the code out until it did what I wanted. So I'm not surprised if there's still stuff in there that is extraneous!

Cheers,
Peg

(no subject)

Date: 2004-01-20 09:30 am (UTC)
From: [identity profile] whumpdotcom.livejournal.com
But that's what made the web successful. People learned that they can cut and paste code with a reasonable expectation that it'd work.

(no subject)

Date: 2004-01-21 10:30 pm (UTC)
From: [identity profile] mckitterick.livejournal.com
Sure, the font tag is HTML! By itself, no, but with attributes it does all kinds of fun stuff. The span tag is just about font styles, which requires more HTML coding.



Yup, sez in all my reference books. Where'd you read that it wasn't?

Best,
Chris

(no subject)

Date: 2004-01-21 11:10 pm (UTC)
From: [identity profile] whumpdotcom.livejournal.com

As of HTML 4.01, the FONT element is deprecated.


See: http://www.w3.org/TR/html4/present/graphics.html#edef-FONT.


FONT is not carried forward into the XHTML specification.


FONT is a maintainability nightmare, which is the reason one uses CSS instead. One would no more use FONT to develop a production website any more than you'd write a text editor in FORTRAN. It is the wrong way to manage presentation.


By the way, SPAN is not just about fonts. SPAN is used to identify an inline section of markup for multiple reasons, which may include specifying font face. However it is also used to set 'hooks' for callbacks into the document object model for processing on the client side.


Consult Jeffrey Zeldman's Designing With Web Standards for more on this.

(no subject)

Date: 2004-01-21 11:22 pm (UTC)
From: [identity profile] mckitterick.livejournal.com
Thanks! Good to know.

Best,
Chris

(no subject)

Date: 2004-01-20 02:40 pm (UTC)
From: [identity profile] kijjohnson.livejournal.com
Thank you! Go us!

Profile

pegkerr: (Default)
pegkerr

May 2025

S M T W T F S
    1 23
45678 910
1112131415 1617
18192021222324
25262728293031

Peg Kerr, Author

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags