Cell formatting with CSS

D

dmacias666

If you go to this address http://www.csudh.edu/oir/PEAT/peat_ug.asp you
will see a table where cells are causing me a problem. When I view the
table with Firefox the cells with multiple data items format correctly.

8.59
-16.28% (The percentage values is change from the number above to the
number in cell to the left)

However, when I view the same information using IE the data is displayed
as:

8.69 -
16.28% (The minus sign is not attached to the percentage value)

One of the techs at my institution suggested using style sheets to correct
the formatting for IE. Can anyone clue me in as the correct selector
syntax for tables cells?

David Macias
 
J

John Hosking

If you go to this address http://www.csudh.edu/oir/PEAT/peat_ug.asp you
will see a table where cells are causing me a problem. When I view the
table with Firefox the cells with multiple data items format correctly.

When I go there, I only see the cell with "No records returned." in it.
No wrapping/breaking problems there, I'd say. What query were we
supposed to submit?
8.59
-16.28% (The percentage values is change from the number above to the
number in cell to the left)

However, when I view the same information using IE the data is displayed
as:

8.69 -
16.28% (The minus sign is not attached to the percentage value)

One of the techs at my institution suggested using style sheets to correct
the formatting for IE. Can anyone clue me in as the correct selector
syntax for tables cells?

David Macias
There was just a thread ("Problem with IE" from a David E. Ross) about
this over in comp.infosystems.www.authoring.html,
Message-ID: <[email protected]>.

The conclusion there seemed to be to use &minus; or − instead of
the "-" character.

And in the future, if you think you've got a style sheets question (as
your colleague suggested), there's a newsgroup for that called
comp.infosystems.www.authoring.stylesheets.

And one last thing: I tried a query (using Bus Admin and Public Policy)
and got some result, in which certain columns of the resulting table had
background colors set for them. The problem is that the foreground
colors were not set, so my default-colored text disappeared quite easily
into the backgrounds. If you set one (FG or BG), be sure to set the
other (BG or FG).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,681
Members
48,796
Latest member
Greg L.

Latest Threads

Top