• skip to sidebar
  • skip to search box

trainedmonkey

by Jim Winstead Jr.

February, 11, 2003 archives

this had a good title. but my weblog software ate it.

this is really an variation of css rendering bug #717 from mark's list of safari bugs, but safari has a bug that prevents enclosed elements from inheriting the background color of their enclosing element. (at least: i haven't tried with an image.) here's an example which also shows how to work around the problem. (just adding a top-level i { background: inherit; } rule is also enough.)

in fact, adding a * { background: inherit; } rule fixes the problem, too. i wonder what the possible negative side-effects of that rule would be.

update: here's an even better explanation and test of the problem.

another update: the v60 version of safari, released february 12, does not fix this bug.

» Tuesday, February 11, 2003 @ 8:20pm » 3 comments, add yours

rules-based design

jeffrey zeldman's note on rules-based design is timely. one of the things i'm doing in my redesign is paring down the <div> fluff, and this note reminded me of the parts of the css selector universe that i haven't really explored.

just to make things interesting for myself, i'm trying to go for absolutely minimal markup. no unnecessary style rules. no unnecessary elements. no unnecessary attributes. forms are a challenge.

» Tuesday, February 11, 2003 @ 9:21pm » Comment
« Monday, February 10, 2003 • Thursday, February 13, 2003 »
  • Home
  • About
  • Archive
  • Bookmarks
  • Photos
  • Projects
  • GitHub
  • @jimw@mefi.social

Dedicated to the public domain by Jim Winstead Jr.