Words at the Center of a Horizontal Line

Neat CSS trick I hammered out today when I needed to create an “Or” between two sections of a web page:

Bla bla bla

Or

bleh bleh bleh

Minimal markup, works in IE8 (ugh, work), Chrome & Firefox.

Code…

<p class="hrtext">Or</p>

<style>
.hrtext {
  display: block;
  overflow: hidden;
  text-align: center;
}
.hrtext:before,
.hrtext:after {
  background-color: #ccc;
  content: "";
  display: inline-block;
  height: 1px;
  position: relative;
  vertical-align: middle;
  width: 20%;
}
.hrtext:before {
  right: 0.5em;
  margin-left: -50%;
}
.hrtext:after {
  left: 0.5em;
  margin-right: -50%;
}
</style>

Inspired by (er, largely copied from) http://stackoverflow.com/questions/5214127/css-technique-for-a-horizontal-line-with-words-in-the-middle

 

Comcast, Netflix and a fix with Privacy

Comcast claims otherwise, but I’ve tested and they definitely are limiting Netflix traffic on their Xfinity network.  I tested this by streaming a Netflix movie to various devices – Blu Ray player, Computer, mobile device – on wired and wifi connections that get service from Comcast.  All devices played haltingly and buffered so much it was impossible to watch the movie.

Netflix states that the minimum connection speed you really need to watch a movie is just 0.5 mbps.  They recommend 1.5 mbps, and If you want HD: 5 mbps.  My Comcast service claimed to be 25 mbps… but I was still having problems?  This needed some testing.

Continue reading

Ridiculous, Kid-safe Network Setup Attempts

I just finished setting up my home network (again) and thought to document what I did, why, and what needs to be fixed.  It might help someone else who’s kids are fiendishly clever about avoiding safe network endeavors.

My Perfect System

What I really want is a kind of proxy server that manages all our inbound/outbound network traffic and enforces schedules per user, per traffic-type (netflix vs web, etc), and can require a password for some users to access specific kinds of sites.  Parents either don’t need, or else know the password, kids don’t, voila.  But I don’t have a computer running 24/7 to work as a proxy for my network, and don’t want to learn a system like squid to set it up if I did.  Oh, and I want it to be free, and easy to manage.

So I’ve tried other things…

Continue reading