Is Web Design All About Hacking or Kludging?
ideonexus.com
Is Web Design All About Hacking or Kludging?
1–10 of 11 posts
Re: Is Web Design All About Hacking or Kludging?
#2It is, intrinsically, a hack. The original design and implementation of its scripting language was a two-week rush-job. It embraces XML while using a more YAML-like syntax for styling.
It's gotten better but only by the sheer force of an entire industry dedicated to swimming up-stream.
Re: Is Web Design All About Hacking or Kludging?
#3Re: Is Web Design All About Hacking or Kludging?
#4I think for those starting out it feels a lot like hacking and kludging, until you get your preferred libraries and methods worked out then you forget about how hacked up and kludged the process is. :-D
Re: Is Web Design All About Hacking or Kludging?
#5Also, to get anything accomplished you have to combine HTML, CSS, and Javascript. None of them were originally intended to do the things we're doing with them now in terms of layout or interactivity.
Re: Is Web Design All About Hacking or Kludging?
#6Secondly, div.folksonomies and div.expandButton can both work without position: absolute if you replace the rules for expandButton with these: height: 25px; margin-top: -25px; text-align: right;
Pixel units aren't as bad as they used to be, modern browsers can scale the page regardless of what units you use. Replace font-size: 12pt with font-size: 16px to ensure the correct height.
As a general tip, look at the conditional comments used for the HTML tag in HTML5 boilerplate (html5boilerplate.com), you can use that to specify workaround rules for IE < 9 (and you could add an IE 9 class yourself). For IE 6/7 you can use Javascript expressions to calculate correct values.
Re: Is Web Design All About Hacking or Kludging?
#7Re: Is Web Design All About Hacking or Kludging?
#8Re: Is Web Design All About Hacking or Kludging?
#9Re: Is Web Design All About Hacking or Kludging?
#10First of all, Firefox appears to be fine without the extra "folksonomiesHeight" elements. If they're only needed for IE, at least wrap them in conditional comments. Secondly, div.folksonomies and div.expandButton can both work without position: absolute if you replace the rules for expandButton with these: height: 25px; margin-top: -25px; text-align: right; Pixel units aren't as bad as they used to be, modern browser…