• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 412
  • Last Modified:

HTML/CSS styling renders in some browsers but not in others

I have a simple table on an html page styled using css. On my work computer, on the company Intranet, the table renders correctly in IE 10, but in Firefox the table renders as if the stylesheet doesn't exist. On my home computer, accessing the page over the Internet, the CSS is ignored in IE 10, Firefox and Chrome. Can anybody suggest where I should start looking for the problem?
0
dgmoore1
Asked:
dgmoore1
3 Solutions
 
Steven HarrisPresidentCommented:
Are you able to access the stylesheet directly?

How are you linking to the stylesheet?

Can you provide any of the files/text?
0
 
activematxCommented:
I would imagine that you might be using a relative link for your CSS style shit.  Try using an absolute link for your CSS style sheet.


Example  (instead of):    \stylesheets\screen.css

Try this:   http://www.mywebsite.com\stylesheets\screen.css
0
 
dgmoore1Author Commented:
I am using a relative link - the stylesheet is in a folder under the root of the folder containing the html files. Tomorrow I'll try an absolute link - thanks for the suggestion.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
Please post a link to your page
0
 
dgmoore1Author Commented:
Sorry, it's proprietary company property
0
 
Chris StanyonCommented:
Can you emulate the problem without giving away too much - create page with a simple table and link to a simple CSS file for us to look at. If we can't see it, then we are just guessing!!

If it renders in one browser and not in another, then it's usually a sign of poor coding standards. Check DOCTYPEs, Validate your HTML and CSS, include a CSS normalizer etc - all standard stuff for cross-platform development

If it's accessible on one network and not another, then it's either permissions or paths.

On your home computer, is it ALL css that's ignored or just the Table stuff.

Open your page in Chrome, Press F12 to bring up the web developer tools and look at the Network tab and the Console tab to see if you're getting any 404 errors on your resources. If you are fix them (change paths) and try again...
0
 
dgmoore1Author Commented:
All helpful suggestions. I found an error in the stylesheet that IE ignores, but FF and Chrome did not like. Thanks to all.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

Tackle projects and never again get stuck behind a technical roadblock.
Join Now