|
Posted by Jonathan N. Little on 11/04/05 18:55
©® wrote:
> Thanks for the help.
> Now what happens if I am using the <p> tag already. Will all the text in
> a paragraph then be in the bottom-r-hand corner?
> Could I call the <p> tag something else, like <brhc> (for bottom right
> hand corner)?
> e.g.
> <html>
> <head>
> <title>Bare Bones 3</title>
> </head>
> <body>
> <brhc style="position:absolute;bottom:0;right:0;">bottom right</brhc>
> </body>
> </html>
>
>
No.
<p style="position:absolute;bottom:0;right:0;">bottom right</p>
would only style that paragraph.
You can style in order of increasing specificity, element, class and id...
P {blah} applies to all P elements in document
..someclass {blah} applies to all elements in document with class
'someclass' i.e., <h1 class="someclass">...
P.someclass {blah} applies to only P elements with class 'someclass'.
#someId {blah} only applies to the *one* element in document with the id
of 'someId' i.e., <p id="someId ">...
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Navigation:
[Reply to this message]
|