473,386 Members | 1,598 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

CSS in IE6 vs Mozilla

sjp
Hi folks,

I've been working on a little script to display a scoreboard and then
positioning it using CSS. Works fine in Mozilla. Not-so-much in IE6.
I've been hack-hack-hacking away at it, but am stumped.

Can anyone point out where I might be going wrong? I'd like to launch the
site this week, and need to figure this out before I do.

www.sportsjournals.net

Thanks,

sjp

Nov 23 '05 #1
2 1609
sjp wrote:

I've been working on a little script to display a scoreboard and then
positioning it using CSS. Works fine in Mozilla. Not-so-much in IE6.
I've been hack-hack-hacking away at it, but am stumped.

Can anyone point out where I might be going wrong? I'd like to launch the
site this week, and need to figure this out before I do.

Erm. What's the problem? They look positioned the same.

There is a difference in colors for the scoreboard at the top between
the two browsers. IE did make the "score" table's background black; it
used "scoreboard"'s instead. Maybe if you set the <td>'s background to
black it would work the same.
Or you can cascade "score" within "scoreboard":
table.scoreboard { ... }
table.scoreboard table { ... }
table.scoreboard table td { color: white; background: black; }
Now the class="score" attribute is not even needed.

In other news:
- The image behind "ESPN NFL Headlines" is unnecessary. And when the text
wraps (because I made the text large enough to read), it overlays the text
beneath it. It's a solid color; style the <h2> (#sidebar h2 { ... }) to
have that color of background.

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Nov 23 '05 #2
sjp
On Mon, 14 Nov 2005 21:39:06 -0700, Jim Moe wrote:
sjp wrote:

I've been working on a little script to display a scoreboard and then
positioning it using CSS. Works fine in Mozilla. Not-so-much in IE6.
I've been hack-hack-hacking away at it, but am stumped.

Can anyone point out where I might be going wrong? I'd like to launch the
site this week, and need to figure this out before I do.

Erm. What's the problem? They look positioned the same.

There is a difference in colors for the scoreboard at the top between
the two browsers. IE did make the "score" table's background black; it
used "scoreboard"'s instead. Maybe if you set the <td>'s background to
black it would work the same.
Or you can cascade "score" within "scoreboard":
table.scoreboard { ... }
table.scoreboard table { ... }
table.scoreboard table td { color: white; background: black; }
Now the class="score" attribute is not even needed.

In other news:
- The image behind "ESPN NFL Headlines" is unnecessary. And when the text
wraps (because I made the text large enough to read), it overlays the text
beneath it. It's a solid color; style the <h2> (#sidebar h2 { ... }) to
have that color of background.


Thanks for the excellent suggestions, Jim.

--
SportsJournals.net - free community blogging for Sports Junkies

Nov 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Neil Zanella | last post by:
Hello, I just ran into an interesting problem with cookies while using PHP 4 and Mozilla 1.6. Basically, I have been using PHP on a site called: foo.bar.net?script.php Within that script I...
4
by: Jakub Fast | last post by:
Hi, Does anybody know how far you can get nowadays with trying to use Python as the script language for XUL instead of JS? Is it possible (even theoretically) to write full-fledged applications...
0
by: melledge | last post by:
Mozilla Foundation Co-Hosts Europe's Leading XML and Web Developer Conference XTech 2005 Conference to Bring Together XML and Web Technology Thought Leaders
2
by: Peter | last post by:
Hello, First of all, sorry for all the code. I don't know how to explain my problem without it. I have a javascript function which can build a webpage dynamically. A striped down version of...
15
by: Peter Bremer | last post by:
Hi all, I've written this little piece of code, which doesn't seem to work in Mozilla 1.5. I haven't tried it on other Gecko browsers, but I've found some indication that Netscape 6+ has the...
10
by: tony kulik | last post by:
This code works fine in ie and opera but not at all in Mozilla. Anybody got a clue as to how to get it right? <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <script...
3
by: Jim Ley | last post by:
Hi, It seems the mozilla guys have chosen another (almost certainly poor choice in my initial thoughts) of having document.all evaluate to false, but document.all catch the chicken event - also...
10
by: News | last post by:
I have a page up trying to learn how to ID a browser and other info. http://wyght.com/warren/testPos.html here is the code <script type = "text/javascript"> var space = ", "; var name...
20
by: Thorsten Kampe | last post by:
Hi, I've already sent this to the Komodo mailing list (which seemed to me the more appropriate place) but unfortunately I got no response. I'd like to build a Python GUI app. Neither Tkinter...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.