|
Posted by Desmond on 04/20/07 10:45
On 20 Apr, 06:05, kk.simha...@gmail.com wrote:
> Hi,
>
> here is my code in which I am aligning a text to bottom of my page
> using CSS
>
> <html>
> <head>
> <style type="text/css">
> .Footer
> {
> position:absolute;
> bottom:0;
>
> }
>
> </style>
> </head>
>
> <body>
> <h2 >This is a heading with an absolute position</h2>
> <p>With absolute positioning, an element can be placed anywhere on a
> page. The heading below is placed 100px from the left of the page and
> 150px from the top of the page.</p>
> <div class ="footer">this is the text at bottom</div>
>
> </body>
>
> </html>
>
> it works fine.But when I resize my window the text at the bottom is
> overlapping my text at the top.I dont want this to happen .Can anybody
> tell how can I prevent this ?
>
> Thanks in advance
dont use bottom=0 use top=200 or what ever it's top position should
be.
Desmond.
Navigation:
[Reply to this message]
|