Web Developer's Virtual Library: Encyclopedia of Web Design Tutorials, Articles and Discussions


WDVL Newsletter

Active Server Pages
JSP/Java Servlets
Microsoft SQL Server
Daily Backup
Dedicated Servers
Streaming Audio/Video
24-hour Support    

jobs.webdeveloper.com

Hiermenus


e-commerce
Partner With Us















Developer Channel
FlashKit.com
JavaScript.com
JavaScriptSource
Developer Jobs
ScriptSearch
StreamingMediaWorld
Web Developer's Journal
Web Developer's Virtual Library
WebDeveloper.com
Webreference
Web Hosts
XMLfiles.com

internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers


Notes to "Introduction to Web Design | Positioning

1. <CENTER>
W3C The CENTER element is deprecated.
The CENTER element is exactly equivalent to specifying the DIV element with the align attribute set to "center".

Deprecated Example:

	<P align = "center">
or
	<CENTER>...</CENTER>

CSS Example:

<HEAD><TITLE>How to Center Text</TITLE>
    	<STYLE type="text/css">
     	BODY {text-align: center}
    	</STYLE>
   	<BODY>
    	A paragraph covering several lines...
  		

2. <BLOCKQUOTE>
W3C Visual user agents generally rendere BLOCKQUOTE as an indented block but the usage of BLOCKQUOTE to indent text has been deprecated in favor of style sheets.

Deprecated Example:

	<BLOCKQUOTE>
	Visual user agents generally render BLOCKQUOTE 
	as an indented block but the usage of BLOCKQUOTE 
	to indent text has been deprecated in favor of 
	style sheets.
	</BLOCKQUOTE>

CSS Example:

	
	<div style="margin-left: 50pt">
              Style sheets will be the best solution once browsers
              that support them are widely deployed. They separate
              presentation directives from structural markup and are
              explicitly designed to address the presentation issues.
     </div>

3. <NOBR> : A browser specific attribute.
W3C The Standard is nowrap which has been deprecated
When present, this boolean attribute tells visual user agents to disable automatic text wrapping for this cell. Style sheets should be used instead of this attribute (e.g., the "white-space" attribute of [CSS1] . Note: if used carelessly, this attribute may result in excessively wide cells.

Deprecated Example:

	<NOWRAP>This is text that will 
     not stop even when the browser
	 wants to word wrap</NOWRAP>

CSS Example:

	
	P   { white-space: nowrap }
  

Return to "Introduction to Web Design | Positioning Text"



Up to => Home / Authoring / HTML / Tutorial




Jupiter Online Media: internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and Jupiter Online Media

Jupitermedia Corporate Info


Legal Notices, Licensing, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers