Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/mwexler/public_html/tp/textpattern/lib/txplib_db.php on line 14
The Net Takeaway: CSS: 3 rights make a left

OTHER PLACES OF INTEREST

Danny Flamberg's Blog
Danny has been marketing for a while, and his articles and work reflect great understanding of data driven marketing.

Eric Peterson the Demystifier
Eric gets metrics, analytics, interactive, and the real world. His advice is worth taking...

Geeking with Greg
Greg Linden created Amazon's recommendation system, so imagine what can write about...

Ned Batchelder's Blog
Ned just finds and writes interesting things. I don't know how he does it.

R at LoyaltyMatrix
Jim Porzak tells of his real-life use of R for marketing analysis.

 

HOW DID YOU GET HERE?

nettakeaway.com
https:
https:
https:
https:
https:
google.com
https:
nettakeaway.com
https:

 

 

 

CSS: 3 rights make a left · 04/08/2004 11:03 AM, Tech

As part of learning to work with Textpattern, I’ve had to learn to work with CSS. Lots of new concepts for folks used to blank gifs and tables for layout.

One thing that keeps confusing me (and perhaps others) is the difference between the DIV and the SPAN tag.

A bit of hunting reveals that, basically, DIVs are block-Level, SPANs are inline.

This means that if you put two DIVs next to each other, they come out as seperate blocks of content:
[DIV]
[DIV]

but two SPANs next to each other come out as
[SPAN][SPAN]

Usually, accd to my readings, you use DIV to provide some overall formatting, and use SPANs nested within to have additional styles on specific text.

As it turns out, TIMTOWTDI. You can set DIVs to display inline, and set SPANs to display as blocks… but that just confuses things.

* * *

 

Name
E-mail
http://
Message
  Textile Help
Please note that your email will be obfuscated via entities, so its ok to put a real one if you feel like it...

Admin
powered by Textpattern 4.0.4 (r1956)