SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot
    Join Date
    Aug 2004
    Location
    Canada
    Posts
    131
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unhappy Banner: position: fixed at the bottom

    What would I change here to make the banner appear along the bottom?

    Code:
    CSS CODE:
    
    <style type="text/css">
    
    #fixed {
    	position: fixed;
    	position: expression("absolute");
    	left: 10px;
    	padding: 10px;
    	top: 10px;
    	top: expression(eval(document.body.scrollTop)+10);
    </style>
    Code:
    HTML CODE:
    
    <div id="fixed">
    <img
     src="http://www.freewebs.com/betahalotesters/title.jpg" title=""
     alt="Title" style="height: 187px; width: 723px;"><br>
    </div>

  2. #2
    SitePoint Member
    Join Date
    Aug 2004
    Location
    San Jose
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Post

    Try using attribute bottom

    <style type="text/css">

    #fixed {
    position: fixed;
    left: 10px;
    padding: 10px;
    bottom:0px;

    </style>

  3. #3
    SitePoint Zealot
    Join Date
    Aug 2004
    Location
    Canada
    Posts
    131
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah Thanks, but it turned out I bought a book today on css and found out how from it.
    Thanks For your time!


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •