Wrox Programmer Forums
|
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 7th, 2004, 09:17 PM
richard.york's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

In reference to using deprecated mark-up...
Is it going to hurt anything, no. Is it going to cease to function anytime soon, probably not. However, CSS was introduced to cure the mixing of structural mark-up from presentational formatting. Using CSS-based solutions and XHTML or XML compliant mark-up, 1, prepares your designs for the future, and 2, encourages browser creators to further implement the latest CSS standards (Namely Internet Explorer, the others don't need encouragement at this point). Such trival CSS 1 properties like vertical-align are also widely supported by the ghosts of browsers past. The only time you really need to look out for using deprecated mark-up is when you use a DOCTYPE that invokes standards mode. A browser in standards mode isn't supposed to allow deprecated mark-up.

: )
Rich

::::::::::::::::::::::::::::::::::::::::::
The Spicy Peanut Project
http://www.spicypeanut.net
::::::::::::::::::::::::::::::::::::::::::
 
Old April 8th, 2004, 05:21 AM
richard.york's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

Also, if this wasn't clear in my last post.. deprecated itself means slated for deletion. Something marked deprecated is considered obselete, and consequently when something goes to that stage (where mark-up is conserned) it also means that the various browser vendors are no longer required to implement it. However, as a part of quirks mode I personally can foresee deprecated mark-up lingering around well into the foreseeable future.

: )
Rich

::::::::::::::::::::::::::::::::::::::::::
The Spicy Peanut Project
http://www.spicypeanut.net
::::::::::::::::::::::::::::::::::::::::::
 
Old April 8th, 2004, 10:16 AM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Well, I think to stay out of that trouble, I'll stick with CSS as my main style code. CSS is great because you can link to it from many pages and update them all by changing the external CSS file.

Thanks.

Snib

P2P Member
<><





Similar Threads
Thread Thread Starter Forum Replies Last Post
IMG Displays but text field is not displayed. shoakat ASP.NET 2.0 Professional 2 June 25th, 2007 06:04 AM
CSS Text Align webnitro CSS Cascading Style Sheets 3 December 8th, 2005 01:19 PM
Align text in textarea crmpicco HTML Code Clinic 27 June 14th, 2005 08:26 AM
Align text acko ASP.NET 1.x and 2.0 Application Design 2 January 9th, 2004 10:21 AM
Right align text in labels in a templatecolumn texasraven ASP.NET 1.x and 2.0 Application Design 1 August 27th, 2003 08:44 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.