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 05-13-2008, 12:52 PM   PM User | #1
NancyJ
Senior Coder

 
NancyJ's Avatar
 
Join Date: Feb 2005
Location: Bradford, UK
Posts: 3,162
Thanks: 19
Thanked 65 Times in 64 Posts
NancyJ will become famous soon enough
Footer not clearing

I'm working on a new site design for my mum but I can't get the footer to clear the right column.

Currently I've just made sure that all the pages have enough content so that it doesn't show but I'd really like to get it fixed. If you go to:
http://joyceryan.co.uk/blah you can see the problem.
__________________
http://www.hazelryan.co.uk
NancyJ is offline   Reply With Quote
Old 05-13-2008, 01:05 PM   PM User | #2
abduraooft
Supreme Master coder!

 
abduraooft's Avatar
 
Join Date: Mar 2007
Location: N/A
Posts: 14,680
Thanks: 158
Thanked 2,182 Times in 2,169 Posts
abduraooft is just really niceabduraooft is just really niceabduraooft is just really niceabduraooft is just really niceabduraooft is just really nice
Have a try by removing the highlighted portion from there.
Code:
#right {
background-color:#FFFFFF;
border:1px solid #BBBBBB;
float:right;
padding:0px 20px 10px;
position:absolute;
right:20px;
top:364px;
width:280px;
}
Then give some margin-top:34px; to it.
__________________
Quote:
The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

Last edited by abduraooft; 05-13-2008 at 01:08 PM..
abduraooft is offline   Reply With Quote
Old 05-13-2008, 01:19 PM   PM User | #3
NancyJ
Senior Coder

 
NancyJ's Avatar
 
Join Date: Feb 2005
Location: Bradford, UK
Posts: 3,162
Thanks: 19
Thanked 65 Times in 64 Posts
NancyJ will become famous soon enough
I did that before but in IE it wasn't working - oh well. It works now.
__________________
http://www.hazelryan.co.uk
NancyJ is offline   Reply With Quote
Old 05-13-2008, 03:11 PM   PM User | #4
tagnu
Regular Coder

 
Join Date: Nov 2007
Location: 127.0.0.1
Posts: 348
Thanks: 26
Thanked 40 Times in 39 Posts
tagnu will become famous soon enough
How do you catch all invalid error urls like
and display the messages accordingly?
__________________
Blog Charity:Water
WhatisWrongWith.me/tagnu - Send me anonymous feedback.
tagnu is offline   Reply With Quote
Old 05-13-2008, 06:48 PM   PM User | #5
NancyJ
Senior Coder

 
NancyJ's Avatar
 
Join Date: Feb 2005
Location: Bradford, UK
Posts: 3,162
Thanks: 19
Thanked 65 Times in 64 Posts
NancyJ will become famous soon enough
Its just a custom 404 page using $_SERVER['REQUEST_URI'] to display the requested uri. I use a framework so all incoming traffic gets routed to my index.php which determines which content to display and if the requested content isn't found then it sets the header and displays the 404 page.
__________________
http://www.hazelryan.co.uk
NancyJ is offline   Reply With Quote
Old 05-14-2008, 09:18 AM   PM User | #6
tagnu
Regular Coder

 
Join Date: Nov 2007
Location: 127.0.0.1
Posts: 348
Thanks: 26
Thanked 40 Times in 39 Posts
tagnu will become famous soon enough
Thank you for the tip. One more doubt. (Sorry for being off topic)
Suppose if there's a page by the name /anotherfolder/home.php ? (which is to be included inside 'index.php' for request '/home').

How would you stop users from viewing it directly like sitename/anotherfolder/home.php?
__________________
Blog Charity:Water
WhatisWrongWith.me/tagnu - Send me anonymous feedback.
tagnu is offline   Reply With Quote
Old 05-14-2008, 03:57 PM   PM User | #7
_Aerospace_Eng_
Supreme Master coder!


 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,293
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light
By adding something like this to the top of the page before any output.
PHP Code:
<?php
if(eregi(basename(__FILE__),$_SERVER['REQUEST_URI']))
header("Location: http://www.yoursite.com/");
?>
You probably should have asked these questions in the php forum btw...
__________________
||||If you are getting paid to do a job, don't ask for help on it!||||
_Aerospace_Eng_ is offline   Reply With Quote
Old 05-19-2008, 03:15 PM   PM User | #8
tagnu
Regular Coder

 
Join Date: Nov 2007
Location: 127.0.0.1
Posts: 348
Thanks: 26
Thanked 40 Times in 39 Posts
tagnu will become famous soon enough
Thanks Aero!
Quote:
You probably should have asked these questions in the php forum btw...
Won't forget it next time.
__________________
Blog Charity:Water
WhatisWrongWith.me/tagnu - Send me anonymous feedback.
tagnu 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 12:15 PM.


Advertisement
Log in to turn off these ads.