English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

how do u overlap fonts on html?

2007-11-09 02:27:36 · 4 answers · asked by penguinluver 2 in Computers & Internet Programming & Design

4 answers

You can easily overlap text using nothing more than well-structured HTML and CSS. Read up on CSS properties such as line-height, using negative margins, using negative letter-spacing, etc.

Good example of negative spacing to tighten up the headline font: http://www.uxmag.com/technology/314/the-dark-google-myth

A good place to start is the W3C
http://www.w3.org/Style/CSS/

but this is also a really good read on typography:
http://ilovetypography.com/2007/09/19/15-excellent-examples-of-web-typography/

2007-11-09 03:00:44 · answer #1 · answered by Michael G 2 · 0 0

You can overlap fonts by using html for the 1st layer of fonts, then use cascaded style sheet (css) to specify the exact position to place another layer of fonts. I think this involves setting the attribute, "position".

You can check the syntax at www.w3schools.com

2007-11-09 11:30:24 · answer #2 · answered by zhen zhen 2 · 0 0

Why would you want to do that? Hmmm. Maybe you want to put a shadow font behind the main one? Hmm, maybe! I just wish you told us that. It's very difficult with HTML, but I can give you a free web design program that will do it. Contact me via my profile if you want it.

2007-11-09 10:44:33 · answer #3 · answered by John K 6 · 0 0

You mean, for example, mix fonts in a paragraph? Example, with spaces added in htm tags for Yahoo! Answers purposes:

This is
one
way
to do it.< /p>

2007-11-09 12:18:56 · answer #4 · answered by fjpoblam 7 · 0 0

fedest.com, questions and answers