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 June 3rd, 2006, 01:49 PM
Friend of Wrox
 
Join Date: Aug 2003
Posts: 137
Thanks: 0
Thanked 0 Times in 0 Posts
Default DIV float / clear error?

Hi

I'm developing an e-commerce website that will be integrated into a software package called Actinic. Because the software has to use tables for the genrated content, I'm unable to develop a pure XHTML page - therefore I've had to settle for a combination of DIVs for header and footer of page, with a basic table for the generated content.

THE PROBLEM:

When this test page is viewed in Firefox or Opera, there's a gap between the bottom search bar and the orange copyright footor.

Can anybody spot my CSS mistake? Can I get away with using Clear:Both CSS for stacking footers? or do I need to use some other kind of fix? Am a little puzzled while it's displaying fine IE but not Firefox.

To view the website code

http://www.mediamole.net/vivanco/mastertemp/index.html

I hope somebody can help.

Many thanks

G



Gaz
__________________
Gaz
 
Old June 3rd, 2006, 02:38 PM
richard.york's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

Looks like default margin on the search <form> element, set margin: 0;

Regards,
Rich

--
Author,
Beginning CSS: Cascading Style Sheets For Web Design
CSS Instant Results

http://www.catb.org/~esr/faqs/smart-questions.html
 
Old June 3rd, 2006, 04:27 PM
Friend of Wrox
 
Join Date: Aug 2003
Posts: 137
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi

Thanks for your help. That did the trick. I always forget about FORM element settings!

Many thanks

Garry

Gaz





Similar Threads
Thread Thread Starter Forum Replies Last Post
float not working mister_mister CSS Cascading Style Sheets 1 March 11th, 2008 05:00 PM
div within a div and inherting the height brettdavis4 CSS Cascading Style Sheets 1 January 23rd, 2007 09:59 AM
Float precision nulogix C++ Programming 1 November 10th, 2005 09:53 PM
CSS Float error socoolbrewster CSS Cascading Style Sheets 3 July 18th, 2005 09:25 AM
Error converting data type varchar to float. Trojan_uk SQL Server ASP 5 April 27th, 2004 02:56 AM





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