I have a problem positioning something with css. I want it to stick to the bottom of the page, so that when the content overflows the browser view it sits at the bottom of the page but when the content is smaller than the browser view it sits at the bottom of the browser view.
I've tried enclosing everything in a table that is 100% and then putting this table under that but that didn't work when the content was small because it made the page huge and you could scroll through a large white space to get to the bottom.
I've tried using css to position it but im having no luck, im using;
position: absolute;
left 0px;
bottom: 0px;
to align it right at the bottom of the page, however this aligns it to the bottom of the viewport, i've tried;
position: absolute;
left 0px;
top: 100%;
but that makes the top edge position just outside the viewport.
I've even tried;
position: absolute;
left 0px;
bottom: -100%;
which aligns it to where it should be but stretchs the page out.
Im completly stuck on this now and would appreciate some help.
Edit: i don't know why i posted this in php , can someone move it please.
- Revora Forums
- → Viewing Profile: Topics: Tratos
Tratos
Member Since 11 Feb 2003Offline Last Active Apr 12 2008 04:08 PM
Community Stats
- Group Project Team
- Active Posts 562
- Profile Views 377,074
- Member Title title available
- Age 39 years old
- Birthday July 30, 1985
-
Gender
Not Telling
0
Neutral
User Tools
Friends
Tratos hasn't added any friends yet.
Latest Visitors
Topics I've Started
css position problem
15 August 2006 - 10:03 PM
Displaced rollover
22 July 2006 - 12:23 AM
Can anyone tell me how to go about setting up a displaced rollover, in either javascript or (if possible) php?
php check for javascript
07 July 2006 - 11:35 PM
Can i get php to check if the user has javascript enabled?
little php help
06 July 2006 - 12:53 AM
Ok, Say i have a directory with a few php files in it, for the sake of example let's call them file1.php, file2.php and file3.php. Each file contains the following;
Now, i want to include all the file's in that directory on a certain page within a table so that each file includes as a seperate table row, preferably with a single line of code, i woud like the page to auto-update of sorts when a new file is added to the directory. Can php do this? And are there any methods of php sorting and including the files based on their age?
<tr><td> <span class="link"><a href="http://www.mywebsite.com">this is my link</a></span> </td></tr>
Now, i want to include all the file's in that directory on a certain page within a table so that each file includes as a seperate table row, preferably with a single line of code, i woud like the page to auto-update of sorts when a new file is added to the directory. Can php do this? And are there any methods of php sorting and including the files based on their age?
- Revora Forums
- → Viewing Profile: Topics: Tratos
- Privacy Policy
- Forum Guidelines ·