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 August 23rd, 2008, 01:11 AM
Authorized User
 
Join Date: Feb 2006
Posts: 67
Thanks: 7
Thanked 0 Times in 0 Posts
Send a message via Yahoo to beetle_jaipur
Default Css formatting problem

Hi friends,

i have a little problem with my site www.rajasthanifolk.com

site is working properly in IE 6.0 and 7.0 but in firefox it is showing some formatting problem in a particular div named "container", it is showing some gap between divs

any suggestion, why it is happening

all suggestions are welcome, and thanks in advance for your support

ashok

 
Old August 23rd, 2008, 01:28 AM
richard.york's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

One problem may be the following:

<link rel="stylesheet" href="MenuBar/cbcscbinsmenu.css" type="text/css" />

You cannot place stylesheets in the <body> using a DOCTYPE that invokes standards mode. IE will happily get them wherever they are, but other browsers, like Firefox will enforce the DOCTYPE's restrictions. In standards mode, external and embedded style sheets must be referenced between the <head> and </head> tags.

This would work in quirks mode, but then you open a whole different can of worms.

Nice looking web page, by the way.

--
http://www.deadmarshes.com
Author, Various Wrox Books
The Following User Says Thank You to richard.york For This Useful Post:
beetle_jaipur (June 5th, 2009)
 
Old June 5th, 2009, 07:16 AM
Authorized User
 
Join Date: Feb 2006
Posts: 67
Thanks: 7
Thanked 0 Times in 0 Posts
Send a message via Yahoo to beetle_jaipur
Default Thanks york

Hi,

thanks for your appreciation....

i whole things i learn about CSS, was from your book only, and that is great encouragement for me..

i found that error, it was due to some wrongly placed padding, and <link rel=....

now it is working cool...

and sorry for my very late reply............

best regards
ashok sharma





Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with formatting rakesh XSLT 10 July 23rd, 2008 05:54 PM
Formatting Problem hewstone999 Access VBA 3 March 11th, 2008 07:17 AM
Formatting php with css Hylsan Pro PHP 3 December 25th, 2006 07:16 AM
CSS formatting LoneStar1 BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 3 April 10th, 2006 09:16 AM
formatting problem everest ASP.NET 1.0 and 1.1 Professional 2 October 5th, 2005 09:59 AM





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