Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-15-2013, 09:17 PM   PM User | #1
samhor
New Coder

 
Join Date: Mar 2012
Location: USA
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
samhor is an unknown quantity at this point
Question floating footer appears in Firefox but NOT IE9? Why on earth?

Hello Everyone

I have made a floating footer but for some unknown reason it will only appear if i open the web page on firefox.

I have tried it in IE9 but it does not appear.

Any ideas? Could someone try the code on their IE?

Last edited by samhor; 01-15-2013 at 11:48 PM..
samhor is offline   Reply With Quote
Old 01-15-2013, 10:50 PM   PM User | #2
Excavator
Master Coder


 
Excavator's Avatar
 
Join Date: Dec 2006
Location: Alaska
Posts: 9,410
Thanks: 22
Thanked 1,765 Times in 1,749 Posts
Excavator has a spectacular aura aboutExcavator has a spectacular aura aboutExcavator has a spectacular aura about
Hello samhor,
Your #footer is positioned, not floating at all.

This seems to be a double post as I don't see much different from your original post where I gave what I thought was a pretty accurate explanation of where your footer is and how to get it down to the bottom of the page where you want it.
__________________
Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad
Excavator is offline   Reply With Quote
Old 01-15-2013, 11:47 PM   PM User | #3
samhor
New Coder

 
Join Date: Mar 2012
Location: USA
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
samhor is an unknown quantity at this point
Thumbs up

Quote:
Originally Posted by Excavator View Post
Hello samhor,
Your #footer is positioned, not floating at all.

This seems to be a double post as I don't see much different from your original post where I gave what I thought was a pretty accurate explanation of where your footer is and how to get it down to the bottom of the page where you want it.
Yes i know but the floating footer does not work with the below at the start in iE9 but will in FF-
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
I had to remove most of it and leave it with <!DOCTYPE html>

It now works fine with the below in FF and IE9 now

Code:
div#footer {
	position: fixed;
	bottom: 10px;
	left: 10px;
	width: 815PX;
	height: 50px;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 10px;
	font-weight: normal;
	text-decoration: underline;
	background-color: #666;
Thanks for the help
samhor is offline   Reply With Quote
Old 01-15-2013, 11:58 PM   PM User | #4
Excavator
Master Coder


 
Excavator's Avatar
 
Join Date: Dec 2006
Location: Alaska
Posts: 9,410
Thanks: 22
Thanked 1,765 Times in 1,749 Posts
Excavator has a spectacular aura aboutExcavator has a spectacular aura aboutExcavator has a spectacular aura about
Quote:
Originally Posted by samhor View Post
Yes i know but the floating footer does not work with the below at the start in iE9 but will in FF-
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
Transitional again?

The DocType you've chosen, <!DOCTYPE html>, is an HTML5 DocType. Did you know that? Do you know why you're using it?
__________________
Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad
Excavator is offline   Reply With Quote
Old 01-17-2013, 12:05 PM   PM User | #5
samhor
New Coder

 
Join Date: Mar 2012
Location: USA
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
samhor is an unknown quantity at this point
Internet Explorer Another issue !

Quote:
Originally Posted by Excavator View Post
Transitional again?

The DocType you've chosen, <!DOCTYPE html>, is an HTML5 DocType. Did you know that? Do you know why you're using it?
Nope it was just a recommendation on a forum. I've take it out now and left it at <html>

UPDATE--

The code works in IE 9 and FF but i have since tried it on IE 8 and the footer appears just behind the navigation bar now so e.g. close to the top of the page instead of the bottom... Is some code amendments needed for IE8 ?
samhor is offline   Reply With Quote
Old 01-18-2013, 06:45 AM   PM User | #6
webdevs
New Coder

 
Join Date: Nov 2012
Location: India
Posts: 52
Thanks: 0
Thanked 3 Times in 3 Posts
webdevs is an unknown quantity at this point
what is the HTML and CSS for that floating footer? If, possible please send me js file. Even you can find lot of floating footer in google which support major browser.
webdevs is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:32 PM.


Advertisement
Log in to turn off these ads.