HTML & CSS
Can anybody check and see why my modernizr script is not getting IE6-8 to recognize HTML5 elements in this site:
I realize it may just be some very minor error ruining things but I haven't found it myself yet. Thanks in advance.
ESPECIALLY when you end up with 10k of markup for 2.3k of plaintext with a layout that has zero graceful degradation for CSS off, images off, or a combination of the two. Do yourself a huge favor, and go back to HTML 4.01 STRICT or XHTML 1.0 STRICT, instead of throwing yourself back to HTML 3.2 that just happens to have a lip-service 5 doctype on it. Given what a disastrously loose specification HTML 5 is, filled with idiotic and pointless new tags resulting in a throwback to the peak of the browser wars, the script should be called "ancientizer" instead.
Uh... LOL. :lol: I didn't say I was done developing it.
And can you tell me which of the idiotic HTML5 tags I used? Is HEADER idiotic? Is NAV idiotic? Is FOOTER idiotic?
Well, you did just name the top three elements I consider pointless and in the case of header and nav, to be nothing but bloat
LOL Maybe I'll switch them to meaningless, non-semantic DIV tags, your highness, because clearly a tag that doesn't describe the content inside of it is so much better than one that does. Or wait, I guess <DIV id="header"> is infinitely more logical and somehow less bloated than HEADER. Because 17 characters is less bloated than 8 characters, right? Uh... are you sure you're making sense here? I'm willing to listen to anyone's logic but it has to be something substantially more convincing than, "Omigosh, HEADER, NAV and FOOTER are sooooo pointless!!!! :rofl:" Give me a better argument than that and I'll pay some attention. So far you've given me zero logic to work with but lots of derision. If you want to go on confusing the two then please go right ahead.
By the way, I'm following what your signature says and sprinkling doubt generously all over everything you've said, and you know what? It's amazing how everything you've said just crumbles. Very fascinating to sit back and watch the crumbling process here.
Try to keep it on topic guys rather than personally criticising each others website signatures... instead of the actual site that is having issues #1.
No, but H1 for the topmost HEADING is... not slapping pointless/unnecessary wrapping tags around things like lists and heading tags is.
You might be right on div#footer -- but is the last bit of text after the last horizontal rule (aka change of topic) REALLY so hard to figure out might be the footer? Especially if you don't put a heading in it since it's not actually the start of a new subsection if there's no other content? (though if you uncommented the address bit, THEN it would make sense to have a h2 there).
I mean really, is HTML 5 with all that scripting for nothing and browser-workarounds (the alpha transparency png fix is a bit of a head scratcher since there's nothing that should need it) really such a massive improvement over say...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
content="714-395-5952 Call Car Repair Anaheim CA for an expert automotive repairs and service in the Anaheim CA area. A family owned and operated repair facility, run by a 30 years veteran in the auto repair industry."
content="Car, Collision, Repair, Anaheim, Cypress, Huntington, Orange County"
Car Repair Anaheim
Car Repair Anaheim
<h2>Two locations to serve you:</h2>
<span><!-- image replacement --></span>
<!-- .locations --></div>
<li><a href="/" title="Home Page">HOME</a></li>
<li><a href="sitemap.php" title="Site Map">Site Map</a></li>
714-395-5957 Car Repair Anaheim CA provides expert automotive repairs and service in the Anaheim CA area. Our services included a full spectrum of repairs for your new or pre-owned car, truck or SUV and hybrids. We are family owned and operated by a 30-year veteran in the field of vehicle repair and an AAA approved auto shop with high customer satisfaction ratings. Our technicians are ASE master certified and complete additional training so that we're as technologically advanced as the cars we work on. What these requirements mean to you is that our team can quickly diagnose or repair your vehicle, right the first time. We stand behind our work with a satisfaction guarantee of 3-Years/36,000 Miles on many repairs, which is why our customers continue to trust us with their autos. We are conveniently open 6 days a week and devote our top tier team to Saturday appointments. Our services include but are not limited to:
<li>electrical diagnoses and repairs</li>
<li>shock and struts replacement</li>
<li>minor and major engine repairs</li>
<li>clutch Repair and replacement</li>
<li>check engine light diagnoses and repairs</li>
<li>factory Scheduled maintenance</li>
<li>ABS brakes repairs</li>
<li>Timing belt replacement</li>
<li>Radiator flushes or repairs</li>
In addition to the above services we offer complimentary loaner vehicles with major repairs and a hand car wash before you hit the road. There are a host of reasons for choosing Car Repair Anaheim CA which go beyond our honest and trustworthy staff. Free shuttle services to your home or office, pick up and delivery for your vehicles in the local area and a staff that goes the extra mile should be enough! We have maintained the same location for over 25 years while gaining the loyalty of our customers and building our experience levels. Whether you need Audi transmission repair or Chevy brakes on your truck we are the local full service facility to call. When you are in the 92801, 92803, 92804, 92805, 92806, 92807, 92808, 92809, 92812, 92814, 92815, 92816, 92817, 92825, 92850, or 92899 areas, please make 714-395-5957 your first call for automotive peace of mind.
CALL NOW FOR PROFESSIONAL AUTO REPAIR
<!-- #footer --></div>
<!-- #pageWrapper --></div>
... and semantics should NOT be about slapping tags with meaning around tags that ALREADY HAVE MEANINGS like UL, H1, H2, P, HR, etc... etc... HEADER and NAV both seem to exist ENTIRELY just to placate the people who currently do nonsense like DIV#HEADER or DIV#NAV instead of applying styling directly to that UL or letting heading tags and content do their job! In other words, the people who didn't embrace semantic markup in the first place...
Think about your problem -- a DRAFT document style (draft means not for production use!) of a fat bloated specification offering no real tangible benefits that saddles you with more code bloat just from the scripting shiv (even on browsers that don't run it thanks to the IE-CC's) and it's not working for you? The solution is right in front of you; Don't use it and instead use what actually works JUST AS WELL.
This topic is now closed. New replies are no longer allowed.