Styles not showing in IE

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Styles not showing in IE

Post by pickle »

Hi all,

Something very bizarre has happened to me today. Suddenly, CSS is not being shown in the print window - just plain not being shown. I've tried a simple page like:

Code: Select all

<html>
  <head>
  </head>
  <body>
    <table style = "background-color:#000000;">
      <tr>
        <td style = "background-color:#FFFFFF;">
          Test
        </td>
      </tr>
    </table>
  </body>
</html>
And even THAT isn't showing up when printing. The frustrating thing is that it works in both browsers I have on my computer (Firefox 1.0 and IE 6.0), but it doesn't work in IE anywhere else where I work.

Does anyone have ANY ideas? Thanks.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

It doesn't work in IE for me neither. I thought it was just the same for everyone. I've tried to print web pages and the CSS just looks blank.

I'm not aware of anything you can change to make it work. I've just ended up doing screenshots. I'm not even sure it worked in NS7 - I would have thought I would have tried it before doing screenshots.... then again I wouldn't have put it past me! ;-)
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Post by pickle »

The weird thing is that it used to work just fine, but a couple days ago, it just stopped. Thanks for re-assuring me that IE is crap.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

Worked fine for me... windows 2000
User avatar
Joe
Forum Regular
Posts: 939
Joined: Sun Feb 29, 2004 1:26 pm
Location: UK - Glasgow

Post by Joe »

It works fine for me. I am not sure here but I have came across something similar before. My best bet is that the inline styles are the problem for IE.
rehfeld
Forum Regular
Posts: 741
Joined: Mon Oct 18, 2004 8:14 pm

Post by rehfeld »

i dont think it has anything to do w/ inline styles or css

theres a setting in ie, i think default is not to print background colors and stuff.

tools>internet options>advanced

>print background colors and images
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Post by pickle »

rehfeld wrote:i dont think it has anything to do w/ inline styles or css

theres a setting in ie, i think default is not to print background colors and stuff.

tools>internet options>advanced

>print background colors and images

You're my new favorite person. Thanks a million!!!
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Post Reply