Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > CSS > CSS Cascading Style Sheets
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 23rd, 2008, 01:11 AM
Authorized User
 
Join Date: Feb 2006
Location: jaipur, rajasthan, India.
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

Reply With Quote
  #2 (permalink)  
Old August 23rd, 2008, 01:28 AM
richard.york's Avatar
Wrox Author
Points: 5,506, Level: 31
Points: 5,506, Level: 31 Points: 5,506, Level: 31 Points: 5,506, Level: 31
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Camby, IN, USA.
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
Reply With Quote
The Following User Says Thank You to richard.york For This Useful Post:
beetle_jaipur (June 5th, 2009)
  #3 (permalink)  
Old June 5th, 2009, 07:16 AM
Authorized User
 
Join Date: Feb 2006
Location: jaipur, rajasthan, India.
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 11:34 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.