This is a discussion on "CSS margin-bottom property problem" within the Web Page Design section. This forum, and the thread "CSS margin-bottom property problem are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
CSS margin-bottom property problem
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Hello,
I am new to the forum, so sorry in advance if this falls under the wrong category! I am in the process of designing a web site for a local charity and I am having problems with the footer. I have set margin-bottom to equal "50px" but this is being ignored and the footer is going to the bottom of the page. Could anyone please advise on what I am doing wrong? Thanks very much, cangoalie |
|
|
|
||||
|
Re: CSS margin-bottom property problem
welcome to the forums, this is the right place to post your question,
could we have a look at your css sheet and possibly even the html, so to make it easyier to help you cheers
Last Blog Entry: Basic Advice for newbies (Feb 1st, 2008)
|
|
|||
|
Re: CSS margin-bottom property problem
I'm sorry, I just realized I forgot to post the website
www.members.shaw.ca/amnestyinvictoria/ |
|
||||
|
Re: CSS margin-bottom property problem
i see no
Quote:
cheers
Last Blog Entry: Basic Advice for newbies (Feb 1st, 2008)
|
|
|||
|
Re: CSS margin-bottom property problem
Give this a try.
Pat |
|
|||
|
Re: CSS margin-bottom property problem
No, that doesn't work either.
I am working in Safari 3.x (for Macs), and haven't tried any others ... but I assume it would be the same in most other current browsers. |
|
|||
|
Re: CSS margin-bottom property problem
Hi, the <div> in the website I provided has the id "footer".
|
|
||||
|
Re: CSS margin-bottom property problem
try this...
Last Blog Entry: Basic Advice for newbies (Feb 1st, 2008)
Last edited by saltedm8; Mar 7th, 2008 at 16:40. |
|
|||
|
Re: CSS margin-bottom property problem
Weird - that didn't work initially, but now something has changed and it works fine.
Thanks for your help! EDIT: Actually, I think that may just be me shortening the height of the photo i was using.. The question is still open.. Last edited by cangoalie; Mar 8th, 2008 at 02:42. |
|
||||
|
Re: CSS margin-bottom property problem
it might be because you have added this part back in
Last Blog Entry: Basic Advice for newbies (Feb 1st, 2008)
Last edited by saltedm8; Mar 8th, 2008 at 09:33. |
|
||||
|
Re: CSS margin-bottom property problem
Quote:
It should display the same in all but IE6/7, which is rubbish with CSS.
__________________
Resources Administrator
Grilling Gurus - Interviews with the Best Web Designers and Developers in the Industry Got a Question for Ryan Carson and his Web Design/Development team Carsonified? Jack Franklin - My Blog (It's a Pen in My Mouth BTW)
Last Blog Entry: My Latest Project - Grilling Gurus... (Jun 11th, 2008)
|
|
|||
|
Re: CSS margin-bottom property problem
Quote:
|
|
||||
|
Re: CSS margin-bottom property problem
Quote:
using float and relative positioning together is a contradiction in terms, first you are giving it a relative position then you are telling it to keep left ?? i have been using it for 4 years and have never had a problem; I see no reason why you would get any problems with it un-necessary code can in itself cause a problem to the rendering of websites because the browser will get confused as to which to use
Last Blog Entry: Basic Advice for newbies (Feb 1st, 2008)
Last edited by saltedm8; Mar 8th, 2008 at 21:04. |
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problem with xml-flash and loading movie property | mars | Flash & Multimedia Forum | 8 | Apr 11th, 2008 17:41 |
| Problem with random margin in IE? FF OK | bobfish | Web Page Design | 2 | Jul 4th, 2007 08:34 |
| Odd bottom spacing problem | FabianN | Web Page Design | 2 | May 6th, 2007 16:27 |
| Padding property problem in nested <div>s | mattlowe81 | Web Page Design | 2 | Apr 8th, 2006 16:00 |
| Top and bottom margin for container/wrapper divs | jimz | Web Page Design | 1 | Feb 27th, 2006 12:40 |