Web Developer's Virtual Library: Encyclopedia of Web Design Tutorials, Articles and Discussions
 Discussion Forums
 HTML, XML, JavaScript...
 Software Reviews
 Editors,Others...
 Top100
 JavaScript Tutorials, ...
 Tutorials
 ASP, CSS, Databases...
 Discussion List
 FAQ, Roundup, Configure ...
 Authoring
 HTML, JavaScript, CSS...
 Design
 Layout, Navigation,...
 Graphics
 Tools, Colors, Images...
 Software
 Browsers, Editors, XML...
 Internet
 Domains, E-Commerce, ...
 WDVL Resources
  Intermdiate, Tutorials,...
 WDVL
 Discussion Lists, Top 100,...
 Technology Jobs


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
Cell Phones
Car Donations
Condos For Sale
KVM Switch over IP
Disney World Tickets
Baby Photo Contest
Remote Online Backup
KVM over IP
Corporate Awards
Calling Cards
Shop
GPS Devices
Desktop Computers
Data Center Solutions

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
International

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


Web Devs:
Moonlight as a Game Developer and Win Cool Prizes by Accepting the RIA Run Challenge

Now, your mission--should you choose to accept: Take your shot at gaming stardom if you think you might have what it takes to build a cool RIA game and you could win an Xbox 360 or other fabulous prizes. Hurry! You only have until May 15, 2008 to enter. »

 
Article:
Leveraging Your Flash Development with Silverlight

You're not giving up Flash any time soon (and we don't blame you.) But if you could get your Flash application working in Silverlight, why wouldn't you? We show you the tools and techniques required to have your rockin' Flash application rolled for Silverlight. Learn more here. »

 
Article:
What Does it Take to Build the Best RIA?

With the proliferation of Rich Interactive Application (RIA) platform choices out there, you no longer have to take a one-size-fits-all approach to developing your next RIA application. Knowing the strengths (and weaknesses) of each platform can help you to decide the best RIA for your next application. »

 
Top 10 Articles
  1. Web Developer's Virtual Library: Encyclopedia of Web Design Tutorials, Articles and Discussions
  2. JavaScript Tutorial for Programmers
  3. Design
  4. JavaScript Tutorial for Programmers - Objects
  5. JavaScript Tutorial for Programmers - JavaScript Grammar
  6. JavaScript Tutorial for Programmers - Versions of JavaScript
  7. Cascading Style Sheets
  8. JavaScript Tutorial for Programmers - Embedding JavaScript
  9. JavaScript Tutorial for Programmers - Functions
  10. Authoring JavaScript
Domain Name Lookup
Search to find the availability of a domain name. Just enter the complete domain name with extension (.com, .net, .edu)

HR

The HR attributes of align, noshade, size and width have been deprecated in favor of style sheets.

Deprecated Examples:

The deprecated attributes specified the following values:

align = left|center|right

  • left: the rule is rendered flush left.
  • center: the rule is centered.
  • right: the rule is rendered flush right.

These attributes may now be specified using Style Sheets. The following example displays both the deprecated method and the CSS method.

<HR 	align	= right
	width	= "200"
	size	= "10"
	noshade
	>


Notice in the CSS example (below), a color may now be specified for the Horizontal Rule. Another difference is that the size attribute has been clarified by being termed the height attribute. The alignment is now specified as a distance from the left edge rather than simply justifying the line right, centered, or left.

CSS Example:

<STYLE TYPE="text/css">

HR {color: red;
	width:200;
	height: 10px;
	margin-left: 370px;
	}
</STYLE>


The use of the width property, coupled with the margin-left property gives us greater flexibility in placing the line on on the page. Suppose you didn't want the line completely moved over to the right, and didn't want it centered, but rather somewhere in between. By adjusting the margin-left value, you could achieve this effect.

<STYLE TYPE="text/css">

HR {color: red;
	width:200px;
	height: 5px;
	margin-left: 250px;
	}
</STYLE>


At the time of writing, the latest version of this browser rendered the preceding examples well, while the latest version of this browser did not.

Technically, HR is a block element and as such, we should be able to use float: right to align the rule, but it is not dependable, allowing the rule to justify left in some browsers.

ADDITIONAL RESOURCES

Breaks
HTML 4.01 Tags


Up to => Home / Authoring / HTML / 4 / Tags




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, Reprints, & Permissions, Privacy Policy.

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