473,398 Members | 2,404 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Footer Problems

hi all

I have something of a quandary I'm trying to create a footer that has rounded corners

using the code on this page http://www.cssplay.co.uk/boxes/snazzy.html

I managed to get the effect I was looking for and I started filling the box with the footers contents but I’m having problems because this brakes when I try to apply a float to the contents

here is what I have so far http://h1.ripway.com/Bethrezen/demo/Footer.html

now as you can see everything works just fine until I try to apply

#footleft li {float: left;}
#footright li {float: right;}

at this point everything goes haywire and the whole thing brakes

here is a quick screenie of what it should look like



now despite my best efforts I cant seem to get this to work correctly anyone have any idea what I'm doing wrong ??? and how to fix it ???
Oct 15 '06 #1
3 2884
hi all

I sussed out what the problem and have now achieved the desired effect

however there is 1 small glitch I haven't worked out yet and that is the vertical positioning of the footer I'm not sure how to get this to stick to the bottom edge of the body element I have read a few articles in regards to this however I cant seem to get them to work any ideas ?

here is where im at so far

http://h1.ripway.com/Bethrezen/demo/Footer.html
Oct 17 '06 #2
If all you want to do is make the footer stick to the bottom of the browser, all you need to do is insert the following into your CSS...

Expand|Select|Wrap|Line Numbers
  1. #footer {
  2.     position: absolute;
  3.     bottom: 0px;
  4. }
Obviously, renaming the footer div to suit your own and adding any other styling you require.

It's more common to align the footer with the bottom of your container div instead of the body. If that's what you are after, it may be better to post a link to your page so I can better see what you're trying to do :-)

Jay
Oct 17 '06 #3
It's more common to align the footer with the bottom of your container div instead of the body. If that's what you are after, it may be better to post a link to your page so I can better see what you're trying to do :-)
hi

if you look you will see that I did post a link I just forgot to wrap it in url tags

now granted that it’s only a construct and the page doesn't actually have any contents yet but the footer should still be positioned at the bottom of the window and when contents is added that exceeds the height of the window it should dynamically shift position so that it stuck to the bottom of the contents instead of the window

now what usually happens to me when I try this is that I get it positioned at the bottom of the window but as soon as I add some contents that exceeds the height of the window firefox incorrectly positions the footer is on top of the contents
Oct 18 '06 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

82
by: Peter Diedrich | last post by:
The site design is pretty simple: ============================================ | Head | ============================================ | | ...
1
by: Will Buntin | last post by:
I am trying to design my site without tables, using CSS for positioning and am having limited success. My main issue is I have a three column layout and my footer needs to run across the page,...
2
by: Galina | last post by:
Hello I have a report, which lists records. Each record has money paid field. Money paid can be 0 or not 0. I calculate and print summary of money for a group in the group footer, as well as...
17
by: Cerebral Believer | last post by:
Hi all, I would like to know how to get two rows of text links to appear at the bottom of a page. Generally I have been using <div> tags with the id attribute and CSS to place blocks of text,...
2
by: Edward | last post by:
I'm pursuing the holy grail of creating a two-column CSS layout with footer AND where the colors of the columns actually go all the way down. The code is below. Here is a graphic of how it...
11
by: Grischa Brockhaus | last post by:
Hi, I'm trying to produce a div layout containing a header on the top with fixed height, a footer on the bottom using fixed height and a content layer using what's left of the browsers window. ...
3
by: john_aspinall | last post by:
Can someone please tell me how to fix this footer problem Im having. The footer (which Ive coloured blue) refuses to go to the bottom of the page in Firefox WIN but is OK in IE6 WIN. Ive tried...
13
Death Slaught
by: Death Slaught | last post by:
I have my entire page in my "main" div. div.main { width: 100%; height: 100%; border: 1px solid gray; } on the left of the page I have a banner.
11
by: Michael7 | last post by:
Hi everyone, Me again, been a while since I've been here, but I'm back again needing help with a simple thing. I've searched for help on creating a footer, but all the help I've found, was...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.