border box styling
| From: | Daniel Convissor | Date: | Fri, 18 Jun 2004 15:06:18 +0000 |
| Subject: | border box styling | ||
| Groups: | php.pear.webmaster | ||
| Request: | Send a blank email to pear-webmaster+get-2593@lists.php.net to get a copy of this message | ||
Howdy:
As you've probably noticed, I'm working on standardizing the way pearweb
displays various pieces of data. One format type is the label value
combination -- like "Name" with a form input for the person's name.
Not too long ago, I introduced some new CSS rules to format tables
containing such data. The goal being we'll be able to control how things
look just by tweaking the style sheet rather than manually editing each
freakin cell in each page.
I've run into an issue while trying to implement this. The BorderBox
class, found in pear-format-html.php, is widely used in pearweb to format
things. Unfortunately, BB hard codes the styles into the HTML and doesn't
have a means to override the styles.
So, what to do? I could rework BB to be more flexible. I could foget
about BB. Or???
Thanks,
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and database programming
http://www.AnalysisAndSolutions.com/
4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409