OZONE Asylum
Forums
CSS - DOM - XHTML - XML - XSL - XSLT
Technical Question CSS
This page's ID:
28934
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
It is not all to clear to me, what you are trying to say, but I will try and help... Please consider the following: - a <span> is an in-line element, which behaves... like an in-line element. - you can set a div, or a paragraph, to display as an in-line element OR a block element: [code] p.pargraphe1 { display: block; } p.pargraphe2 { display: inline; }[/code] Paragraph1 will behave like a block element, Paragraph2 like a an in-line element. - You can name your classes or ids whatever you want* * Well almost, I think you need more than 1 character, and you cannot start with "_ " or have special characters. Check with the[url=http://www.w3.org/TR/REC-CSS2/intro.html] W3C CSS specification [/url]for this. - body, p, div, H1, H2, H3 (etc.) a:link, a:hover (etc.) ul, li (etc.) and more are [url=http://www.w3.org/TR/REC-CSS2/selector.html]selectors[/url], which means you can "select" them and style them, but you can of course attribute a class name to them as well, and style them independently to one another. [quote] [b]skyetyger said:[/b] Does "span" replace blockquote? [/quote] "span" do not replace anything, but you can decide that all your paragraphs with the class"blockquote" attributed to them are styled to look like a blockquote, like in the example below: ******** HTML ******** .... [code]<p class="blockquote"> [...] Your paragraph </p> [/code] .... ******** CSS ******* [code]p.blockquote { display: inline; font: Verdana; font-style: italic; text-indent: 10px; } [/code] OR (I would use this one preferably) [code]p.blockquote { display: block; font: Verdana; font-style: italic; text-indent: 10px; } [/code] Hope it helps, and hope I got your question right... ______________________________________ The Fat Controller is gonna get you in the end. [small](Edited by [url=http://www.ozoneasylum.com/user/5434]kimson[/url] on 02-14-2007 16:43)[/small]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »