This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Stylesheets > April 2007 > Text overlapping other text when I resize my page





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Text overlapping other text when I resize my page
kk.simhadri@gmail.com

2007-04-20, 3:18 am

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>

scripts.contact

2007-04-21, 6:17 pm

On Apr 19, 11:07 pm, kk.simha...@XXXXXXXXXX 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>


put the whole content(not the footer) in a div and set the CSS height
and overflow(to scroll or auto) attributes.

or just set a background image/color on the footer.

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews