About this site's lack of design: Yes, it's supposed to look this way — I'm helping create a new sandbox theme for WordPress (see it on GitHub).

Dan Rubin's SuperfluousBanter

Suffering from chronic idiocy since 1977

Archive for June, 2003

Newer

Of Bug Fixes and Structural Markup

Thursday, June 12th, 2003

In today’s Daily Report, Zeld­man had this to say about my bug fix:

Dan’s solu­tion is sim­ple and it works. But it also wastes band­width on non­se­man­tic tags to force a dis­play issue in an unco­op­er­a­tive browser. This is the very prob­lem design­ing with stan­dards is sup­posed to solve. It’s not our goal to find fault, but to point out how per­va­sive old school meth­ods are, even among forward-thinking devel­op­ers. While we greatly appre­ci­ate Dan’s help, the Hypocrisy Police would toss us in the hoosegow if we used this method on a site for a book that rec­om­mends using clean, struc­tural markup.”

Well, since I’m also “Never one to sit on his hands when there is a prob­lem to be solved,” I must take this as a chal­lenge, and cre­ate not only a standards-compliant fix, wor­thy of inclu­sion in the inner work­ings of Zeldman’s DWWS site, but to prove that I am not sim­ply a prob­lem solv­ing machine, oper­at­ing sans-thought and rea­son. No, my goal in life is to cre­ate struc­tural markup, with all design con­trolled by CSS, and damnit, I’m not going to let the record show any­thing to the contrary!

Watch this space for my final solution.

UPDATE: Well, as luck would have it, some­one else found the solu­tion before I did. By replac­ing display:inline with display:block and float:left on the li ele­ments, Alexan­der Hill solved Zeldman’s prob­lem with­out using any non-semantic markup, and it works in all major browsers. C’est la vie.

Categories:

6 Comments

Zeldman’s DWWS Mini-site Bug

Tuesday, June 10th, 2003

If you check out Zeldman’s Mini-site for Design­ing With Web Stan­dards with IE 5/Mac, you will notice a few dif­fer­ences when com­pared to the same site viewed in just about any other cur­rent browser: the sec­ondary nav­i­ga­tion (an unordered list dis­played inline) aligns the text to the left, and each button’s click­able area is restricted to the link text, not the entire vis­i­ble area of the button.

I fig­ured I could fix this, with­out requir­ing a new ver­sion of IE 5/Mac, and so I tin­kered a lit­tle: Zeld­man: DWWS Book­Sub­Nav Bug Fix.

The fix above reduces the nav­i­ga­tion to just the UL and its par­ent DIV, and in my test­ing it works in all browsers except Opera 6 (which breaks when view­ing Zeldman’s orig­i­nal lay­out anyway).

What did I do to fix the issues? I sim­ply added a <span> to the but­ton text, like so: <span>Home</span>

That’s it! Now the but­tons dis­play prop­erly on all browsers, since this addi­tion does not alter the way the other browsers ren­der the CSS.

I’ve sent the changes off to Zeld­man, so hope­fully this post will soon be ren­dered obsolete.

Categories:

3 Comments

Microsoft & AOL; IE Updates; State of the Web Browser

Monday, June 2nd, 2003

Lots of web-related news has appeared in the last week, note­ably Microsoft’s deal with AOL and Microsoft’s deci­sion to cease devel­op­ment of a stand­alone ver­sion of IE.

The com­bi­na­tion of these two news bites in the same week has caused some panic in web devel­op­ment cir­cles, specif­i­cally among those devel­op­ers who actu­ally care about the user expe­ri­ence, and who would pre­fer to see standards-compliant web browsers lead in the percentages.

Some smart folks are talk­ing over at Web-Graphics, and some inter­est­ing ideas are being born…

Also: do not miss Dave Shea’s com­men­tary.

Categories:

No Comments

Newer