Header at top of pages in WeBuilder

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
User avatar
syrupcore
Top Contributor
Posts: 917
Joined: Thu Jul 21, 2005 12:58 am
Location: Portland, Oregon, usa
Contact:

Post by syrupcore »

+1 for strict. +2 for xhtml. Transitional is for the soft! ;) Might as well close all them tags. When it comes time to seriously mess with the dom or include microformats or you need to do some screen scraping, well formed XML is your friend. Seriously, don't fear the strict - it's really not much more. In fact, I don't even know what the difference is anymore. Personally, I don't really care if most sites I build validate but I can't help it - I love that green bar.

For the OPs width problem, I'm willing to bet it as something to do with the fact that you have it set @ 100% _and_ have either left/right margin, padding or borders. 100% plus 2px of border = more than 100%. :)
llbbl
Posts: 50
Joined: Thu Mar 27, 2008 9:19 pm

Post by llbbl »

Transitional is much better. It allows you to use a number of elements + attributes not allowed in Strict.

http://24ways.org/2005/transitional-vs-strict-markup
User avatar
syrupcore
Top Contributor
Posts: 917
Joined: Thu Jul 21, 2005 12:58 am
Location: Portland, Oregon, usa
Contact:

Post by syrupcore »

Ah yes, all of the presentation gunk. I think "easier" might depend on what you do and how you do it. It's far easier for me to update the look and feel of a site from CSS than to go through and change things like center tags and font tags.

Probably the biggest benefit of day to day web dev life of a Strict doctype is that it makes IE6 behave better. For IE6, Transitional Doctypes = "Quirks Mode." I don't know about you but I already spend too much time trying to get IE6 to not behave like an asshole. I prefer to not compound the problem by dealing with quirks mode.
llbbl
Posts: 50
Joined: Thu Mar 27, 2008 9:19 pm

Post by llbbl »

So I think to sum up. Strict, should I use it:

Old code: HELL NO

New code: Sure if you want. Matter of preference.
Post Reply