SiteExperts.com Logo Home | Community | Developer's Paradise
User Groups | Site Tools | Site Information | Search
 Main Menu
 Forums
SiteExperts.com Forums
All Discussions

SiteExperts Feedback
The Lounge
Dynamic HTML
Site Design/ Critiques
HTML and CSS
XML Technologies
The Wireless Internet
Internet Explorer
Microsoft .NET
The Server
Technical Support

Sponsored Links

User Groups : Forums : SiteExperts : HTML and CSS :

Previous DiscussionNext Discussion
 Understanding the Box Model / hacks

I just recently found this article : http://www.sitepoint.com/forums/showpost.php?p=1239961&postcount=1 and wonder if any of you have used this method? I am "used to" the tantek method http://www.tantek.com/CSS/Examples/boxmodelhack.html . Is there ever and instance where you would use both? Have you ever used both? What on earth were you doing? Can I see it?

Started By RobinAnn on Apr 6, 2005 at 5:28:05 AM

13 Response(s) | Reply

Earlier Replies | Replies 7 to 13 of 13 | Later Replies
Goto Page: 2 1
MHenke on Apr 8, 2005 at 2:42:12 AM (# 7)
This message has been edited.

Box 3 and the footer box arent' correctly aligned in my IE6/WinXP. ;)

However, what will happen to our geekiness if we would stop using arcane CSS hacks? Unimaginable... 8)


RobinAnn on Apr 8, 2005 at 3:08:57 PM (# 8)

Seems I learned the hard way. I had been putting my pages into quirks mode bcas I had not fully understood doctype. The hacks are really just for old 5 ie and well, not that I care - well I really do not care much for supporting that anyhow.

I'll agree with hedger about simplifying code. It seems sometimes I get so hung up on EXACT positioning... gotta stop that.

AFA the geekiness goes, we will find another way! (to remain geeky that is ;) Whatta they say... "real men don't wear boxes" or something like that... :P


hedger on Apr 9, 2005 at 2:32:39 AM (# 9)

MHenke

I had a small fix.


MHenke on Apr 11, 2005 at 1:32:20 AM (# 10)

@hedger
Yep, better, but still looks different in IE/FF. Tho I guess that's just a minor issue.

@RobinAnn
 Whatta they say... "real men don't wear boxes" or something like that... :P
Or the Klingon way:

"CSS hacks? We don't use CSS, those rules are weakly and dishonourable.
We use KSS (Klingon Style Sheet), which has only one rule: porgh {wIy:vaQ;}
The KSS is well armed and autarchic, able and willing to enforce it's indisputable leadership.
Each browser who dares to break the rule is hacked to oblivion by default."


philcha on Apr 12, 2005 at 8:35:34 AM (# 11)
This message has been edited.

I often use the underscore hack for IE-specific parts of rules. I know it doesn't validate, but its advantages are:

  • It's shorter - this can make downloads faster if the CSS is complex and has a lot of IE-specific content.
  • It's easier to understand and maintain the code because the "compliant" version of the property is immediately followed by the IE-specific version, it's not in a separate rule.

Robin Ann, where can I get a spec for KSS, it sounds like a cure for browser blues! Any chance of a longer humorous article on KSS?

BTW, I usually force IE into quirks mode - the last thing I want is to deal with two sets of IE bugs.


MHenke on Apr 12, 2005 at 8:39:48 AM (# 12)

Yeah, RA, give us the link to the KSS spec!  8)


RobinAnn on Apr 12, 2005 at 10:31:07 AM (# 13)
This message has been edited.

...Welcome to RobinAnn's New Posting Style...
Some of you may have seen this before ;o)

on the way! ...http://teresh.tdonnelly.org/klinbom.html


Earlier Replies | Replies 7 to 13 of 13 | Later Replies
Goto Page: 2 1

To respond to a discussion, you must first logon.

If you are not registered, please register yourself to become a member of the SiteExperts.community.

User Name
Password
Copyright 1997-2004 InsideDHTML.com, LLC. All rights reserved.