Who is ArcoJedi? A life-journeying Christian, ecstatic husband, proud father of four, web guru, all-around geek and Star Wars fanatic. Read these thoughts that he felt were worthwhile. Then wonder why he thought that way.

2005/08/08

Horizontal Lines

This is an interesting way to do a horizontal rule. Rather than the actual <hr /> tag, this method uses three <div /> tags, each with a different background-color assigned to it. The tutorial that I found at this page - http://www.angelfire.com/fl5/html-tutorial/tables/lines.htm - suggests doing this sort of thing in tables and three table rows, indicating that this was better than an <hr /> tag. I modified the idea to work for <div /> since I am following the movement away from tables to accomplish layout elements rather than presenting tabular data, which is what they (<table />s) are actually for.
spacer
spacer
spacer
spacer
spacer
spacer
spacer
spacer
spacer
spacer
spacer
spacer
Note that the code for these <div />s cannot be 'pretty-printed' or it messes things up.

No comments:

Blog Widget by LinkWithin

Some Other Things to See

Lucas James Arconati

© 2003-2017 James A. Arconati

You've reached the end of this page.

[ This page is powered by Blogger. Isn't yours? ] Wikipedia Affiliate Button
eCommerce