Wrox Programmer Forums
|
CSS Cascading Style Sheets All issues relating to Cascading Style Sheets (CSS).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the CSS Cascading Style Sheets section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 8th, 2006, 06:16 PM
Registered User
 
Join Date: Jan 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Make footer extend to width

I have a problem in a new 100% width design where I'm in need of some pages beeing wider than the screen.

The problem is that I can't make the footer extend to the same width as the body when this occurs. I understand why it doesn't happen with my current CSS, but I can't find any solution to the problem.

Any ideas?

The page can be found at:

http://akkreditering.net/newDesign/



 
Old January 11th, 2006, 02:13 PM
richard.york's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

I don't see what you're talking about in the provided link. Can you elaborate further?

Regards,
Rich

--
[http://www.smilingsouls.net]
Mail_IMAP: A PHP/C-Client/PEAR solution for webmail
Author: Beginning CSS: Cascading Style Sheets For Web Design
 
Old January 13th, 2006, 05:17 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

I have found that page elements that don't require more space than the browser has will fill the browser's width (100%) and no more. Even if you have another element on the page that DOES require more width, the other elements that fit OK won't stretch to match the big one. The only way I've found of keeping it all together is to wrap everything inside a table cell(s) so that the widest part of the page forces the table width. Other elements in the same table should fall in place properly.

-Peter





Similar Threads
Thread Thread Starter Forum Replies Last Post
how to extend classes hafizmuhammadmushtaq Java Basics 1 April 8th, 2008 02:45 AM
how to extend the String class hafizmuhammadmushtaq Java Basics 2 April 7th, 2008 06:21 AM
Extend a border nloding CSS Cascading Style Sheets 1 September 1st, 2006 08:43 PM
Cannot implement or extend Rusk Apache Tomcat 1 June 16th, 2004 06:29 AM
Width in pixels from width in percentage bsausser Classic ASP Basics 1 December 31st, 2003 02:31 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.