OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
min width for page but use % for 3 columns?
This page's ID:
21466
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
No. See [url]http://www.w3schools.com/css/css_syntax.asp[/url] [quote][b]The class Selector[/b] With the class selector you can define different styles for the same type of HTML element. Say that you would like to have two types of paragraphs in your document: one right-aligned paragraph, and one center-aligned paragraph. Here is how you can do it with styles: p[b].[/b]right {text-align: right} p[b].[/b]center {text-align: center}[/quote] [quote][b]The id Selector[/b] The id selector is different from the class selector! While a class selector may apply to SEVERAL elements on a page, an id selector always applies to only ONE element. An ID attribute must be unique within the document. The style rule below will match a p element that has the id value "para1": p[b]#[/b]para1 {text-align: center; color: red}[/quote] [small](Edited by [internallink=298]Rinswind 2th[/internallink] on 05-06-2004 20:35)[/small]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »