You are here: Re: Text in bottom right-hand corner « HTML « IT news, forums, messages
Re: Text in bottom right-hand corner

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация