View Single Post
Old 04-05-2008, 14:02   #1 (permalink)
Narhir
Registered User
 
Join Date: May 2008
Posts: 2
Small problem with one div floating on another one

Hello,

I have small problem but I dont know how to resolve it.. so please help if you can on this website I have xhtml + css website without tables
Code:
narhir.com/strony/css-marketing

I would like to make text stop on footer however he stop before the "guy" div
I dont have any ideas how to make guy always be on bottom and also how to make text to float around him please help if you can

here is source code for div "guy"

Code:
#guy { position: relative; background: url(images/guy.jpg) no-repeat; height: 170px; width: 213px; float: right; vertical-align:bottom; }

and here is partialy for xhtml ...

Code:
<head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" href="style.css" type="text/css" /> </head> <body> <!-- wrap starts here --> <div id="wrapper"> <div id="logo"> </div> <div id="subbar"> </div> <div id="content-wrap"> <p> zawartosc strony</p> <div id="guy"> </div> </div> <div id="footer"> <p>Design by NarhirDesign bla bla.. bla :P </p> </div> </div> </body> </html>

Best Wishes
  Reply With Quote