Gene Moy (梅忠毅) says, "Git 'er done!" More about Gene »
Lots of geek talk ahead.
There’s not supposed to be any padding or spacing around the horizontal rules on this page in IE7, and yet, there are. When I tweak the stylesheet to float them left or right, it seems to eliminate the box margin-padding at top but not the bottom. I’m calling it a bug and out of compliance with standards. I suppose I could use a single gif and stretch it to form an HR, but semantically it would still be an IMG and not an HR.
Edit: Ohhhh yeaaaah. . . I forgot that if it’s a box element, it can be styled. And if it can be styled, we can apply elements like border-top: 1px solid black on it which would do away with the need for HRs. For instance:
And, really, for the sighted or the unsighted, does it really freaking matter?
The other thing I’ve learned is that in XHTML Strict, basically, almost all the attributes have been stripped out of tags. So, what does this mean for poor old HR, who never really wanted to be thrown onto a webpage anyway, but was out of work at the time and thought it seemed rather a good idea after Casting called and offered it another bit role as a Delivery Boy. Well, HRs are now treated as block level elements apparently. So they can be styled as such.
I think we’ll transition to Strict maybe 3-4 months from now. It’ll be a good exercise.
Archives and Links pages go live tonight. Fixing the Listen page too. Okay. Big lie. Didn’t go live tonight. Went live today.
In WordPress, Links is a variety of Page with no content in it but the Get Bookmarks function. Weird. And Get Links? Useless.
The Archives Page. Archives is a variety of Page as well with nothing on it but the Get Archives and List Categories functions.
The Archive Page is a kind of Category. Kind of redundant really. If you have a Category page, you can kind of skip the Archive page, except, you might want to insert the IF-ELSEIF block that has the dynamic title in there. I think it should be a SWITCH block but who am I to say?
For the Listen Category, we’re going to strip out the What I’ve been listening to section in the Sidebar and insert it in a custom sidebar for that section. And then we’ll step back and reevaluate what really ought to belong in the left nav, which is, IMHO, local navigation and not necessarily for things like About or other gadgetry.
Permanent link to Construction Notes 9: Weird box around some page elements in IE7
Filed under Construction Notes
RSS feed for comments on this post. TrackBack URL
No responses yet.
Fire your weapon, soldier. Just be careful of friendly fire. NAME & EMAIL required.
You must be logged in to post a comment.
Proudly powered by WordPress 2.7. RSS Feeds for Entries and Comments.
Everything is design is licensed under a
Creative Commons Attribution-Noncommercial 3.0 License.
Bad Behavior has blocked 37 access attempts in the last 7 days.