Of CSS and XHTML

Cory 'G' Watson gphat at loggerithim.org
Thu Dec 4 13:56:28 UTC 2003


On Dec 4, 2003, at 6:03 AM, Jouni Heikniemi wrote:

> At 22:44 4.12.2003 +1100, you wrote:
> I agree that upgrading HTML (especially to XHTML) isn't a real 
> priority.

<snip>

> The original poster wanted suggestions on where to start with making 
> Bugzilla customization easier. Well, where do _you_ have a problem 
> with customizing Bugzilla? What is the problem? Are you sure CSS and 
> XHTML are the best way to fix it? A rewrite is always an attractive 
> approach, since you'd have a good reason to mungle things to your 
> taste. Still, it's not always the best one. Let's examine the disease 
> first and then discuss the medicine.

The first thing I wanted to do was get rid of that huge 'This is 
Bugzilla' header.   As soon as I found that it was in banner.html.tmpl, 
I found it was tabled and fonted, when something like a div with a 
class would have been smaller, easier to render, less complicated, and 
much easier for an end user to customize with a custom stylesheet.

Just on the welcome page there seems to be a heavy use of tables where 
they aren't necessary.

So, to restate my original goal, I want to make things easier to 
customize, and while I'm there, I would be happy to refactor some of 
the markup into something more modern.  I certainly don't want to break 
compatibility (although I wouldn't mind posting a message to NS4 users 
asking them to visit mozilla.org ;)).

I shouldn't have to rewrite much of the markup to customize my Bugzilla 
interface.  I would prefer to make CSS changes, and perhaps add (to my 
own install) stylesheet code that exploits newer CSS capabilities.

Cory 'G' Watson

"The universal aptitude for ineptitude makes any human accomplishment 
an incredible miracle." - Dr. John Paul Stapp




More information about the developers mailing list