View Single Post
  #26  
Old 03-14-2003, 07:37 PM
feldon23's Avatar
feldon23 feldon23 is offline
 
Join Date: Oct 2001
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
NTLDR said:
If your following proper standards, which as a webmaster you should, the DOCTYPE is required for all HTML documents and the " are required if you use XHTML and therefore should be included if you want all users to be able to view the site correctly.
(donning flameproof underwear)


You are a respected member here, but I must jump in (months late, granted) with my opinions...


First, w3.org are not gods. They are a committee, an organization. They are also out-of-control and need to be reigned in. They are trying to turn HTML into a page description format, but not the correct way. The monstrosity they have created is the wrong thing to introduce now, since Acrobat PDF is now ubiquitous.

They're giving HTML so many disparate layers that it is difficult or impossible to debug. Why is the W3 not holding protests in front of Microsoft HQ for IE not supporting PNG correctly? PNG is much more exciting to me than ripping apart the current tolerable TABLE system we have now.

I firmly believe that if you follow w3.org 100% you will end up in a straightjacket.

Any time you start using CSS, you cannot use it partially--you have to use it 100%. It does not co-exist peacefully with HTML because of the nightmarish inheritance.

It took me 3 HOURS to get a simple page looking the way I wanted with CSS. I should have just done a nasty search-and-replace and put manual font tags on everything. The tutorials on the web are horrible. They tell you what the tags do, not the when/where/why/how.

Look at the PHP manual. That is a COOOOOL manual. Everything has little notes about why you should or shouldn't use 1 command over another. Every command has links to examples of what situations this command is used for. There is no way I could have figured out arrays without a simple page like they wrote.

You know why I put the W3C-certified logo/button on that page? Because I felt I had accomplished something by wrestling CSS under control long enough to put out a page. If I did not have a use for this code for many other websites, I'd be furious.

Maybe I am just stupid, but I think I tried 50 different ways of assigning styles to the text on that page and they all had various inheritance problems until I explicitly laid out everything. First, I tried <h1> thru <h9> tags and it made pathetic attempts to marry the standard HTML <h1> - <h6> specifications with the CSS I was giving it.


If I add this as a style at the top of my page:
Code:
#feldon26 { font-family: Arial, Helvetica; }
it makes all kinds of assumptions about what kind of linespacing, letterspacing, margins, etc. about any text you put inside:
Code:
<div id="chattext"></div>
I guess Microsoft is their role model?

HTML and CSS are supposed to be 100% explicit, 0% implicit. It should assume very little, and CSS assumes a whole hell of a lot.


Can I ask who is writing XHTML? I write fairly complex pages and I've never even heard of it. That's the great thing about standards. There are so many to choose from.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02847 seconds
  • Memory Usage 1,780KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete