Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

chrome not loading css

Posted on 2013-01-31
10
651 Views
Last Modified: 2013-02-01
I have a page that's fine in firefox and IE. But not right in chrome. When I use web developer extension in Chrome "Reload linked style sheet", then everything is fine. So I know that some style sheet is not loading. How do I find out which one and fix this problem?
0
Comment
Question by:xiaoyunwu
  • 5
  • 3
  • 2
10 Comments
 
LVL 30

Expert Comment

by:LZ1
ID: 38841263
Can you give us a link?
Try making your path absolute
Make sure it's in the right order from top to bottom

We really need to see the web page in order to do full troubleshooting.
0
 

Author Comment

by:xiaoyunwu
ID: 38841278
the page is not live yet.
0
 
LVL 30

Expert Comment

by:LZ1
ID: 38841291
It's going to be harder to debug without a live URL.

Show us your rendered HTML <head>
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 

Author Comment

by:xiaoyunwu
ID: 38841311
I moved to live, here is the link
http://www.themailbox.com/test/test.html
0
 

Author Comment

by:xiaoyunwu
ID: 38841327
Note, when first loaded the style is off. On second, third load, the page is ok. You probably need to open incognito window every time to test it out.
0
 
LVL 30

Accepted Solution

by:
LZ1 earned 250 total points
ID: 38841335
Start here first:
http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.themailbox.com%2Ftest%2Ftest.html

Start on the first couple of errors. Encoding and the  Missing xmlns attribute for element html. The value should be: http://www.w3.org/1999/xhtml
0
 
LVL 83

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 250 total points
ID: 38841363
At lines 3564 thru 3743 in the "View Source", a complete new page is included.  That alone is an error and puts things out of order.  And like @LZ1 pointed out, there are quite a few other errors.
0
 

Author Comment

by:xiaoyunwu
ID: 38841562
I can leave everything in the code same, just swap fire to www.themailbox.com and fire.themailbox.com to www.themailbox.com, then it works. Don't know why. fire is the QA server.
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 38841665
0
 

Author Comment

by:xiaoyunwu
ID: 38843813
finally solved the problem.
The following is the culprit.
 padding:1%;
When I took off this line, everything worked.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Do you come here a lot? Are you lazy like me and don't want to go through the "trouble" of having to click your Dock's Safari icon and then having to click your Experts Exchange Favorites bookmark to get here? Well then this article is for you.
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question