CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 6th, 2002, 05:26 PM
mr_fitz mr_fitz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2002
Location: Canada
Posts: 352 mr_fitz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 h 7 m 57 sec
Reputation Power: 7
css for table cell and NS4.x

I know very little about css, and borrowed most of the below from a friend. I created my own td.stats class (at the bottom) for table cells. It does NOT work in NS4.x, but DOES work in IE. This creates a LOT of unwanted spacing in the tables containing <td class="stats">. Any idea what NS doesn't like, and better still, a solution to retain rather tightly spaced text within my table cells.
Thanks for any thoughts.

PHP Code:
 A:LINK color#000099;}
A:VISITED color#666666;}
A:HOVER {COLOR#ff9910;}

H8 {font12px verdanaarialsans-serifcolor#191D4F; margin-bottom: 1px; margin-top: 1px;}
H6 {font15px verdanaarialsans-serifcolor#009442; font-weight: 900; line-height: 10px; margin-bottom: 1px; margin-top: 1px;}
H4 {font13px verdanaarialsans-serifcolor#009442; font-weight: 800;}
H3 {font15px verdanaarialsans-serifcolor#009442; font-weight: 900;}
{font12px verdanaarialsans-serifcolor#191D4F; margin-bottom: 5px; margin-top: 5px;}
.small {font11px verdanaarialsans-serifcolor#191D4F; }
.splash {font12px verdanaarialsans-serifcolor#191D4F; line-height:18px; }
.fitzheader {font15px verdanaarialsans-serifcolor#009442; font-weight: 900; line-height: 15px; margin-bottom: 5px; margin-top: 5px;}
.fitzheader2 {font13px verdanaarialsans-serifcolor#009442; font-weight: 700; line-height: 13px; margin-bottom: 1px; margin-top: 1px;}

td.stats {font12px verdanaarialsans-serifmargin-bottom5pxmargin-top5px;}
... 
__________________
mr_fitz
__________
Don't worry, I haven't given up my day job.

Reply With Quote
  #2  
Old December 6th, 2002, 09:40 PM
adios adios is offline
Senior Citizen
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jan 2001
Location: leftcoast
Posts: 2,019 adios User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 10

Reply With Quote
  #3  
Old December 8th, 2002, 09:25 AM
mr_fitz mr_fitz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2002
Location: Canada
Posts: 352 mr_fitz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 h 7 m 57 sec
Reputation Power: 7
great link

That link was very helpful adios.
I did not have to use your javascript, but I can see how it would be very handy.

for anyone who ONLY has the td.class problem like I did, I just replaced:
PHP Code:
 td.stats {font12px verdanaarialsans-serifmargin-bottom5pxmargin-top5px;} 


with
PHP Code:
 td.stats {font12px verdanaarialsans-serifmargin-bottomexmargin-topex;} 


seems to have solved my problem.

thanks.

Reply With Quote
  #4  
Old December 8th, 2002, 03:49 PM
adios adios is offline
Senior Citizen
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jan 2001
Location: leftcoast
Posts: 2,019 adios User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 10
Not exactly a solution. 'ex' is a unit of measurement; by specifying it without any value, you've simply deactivated it (unless there's some bug there I'm unaware of). You just made my point for me, by dispensing with some presumably desirable CSS for the sake of the increasingly tinier Navigator 4 audience.

You can also - easily - script in individual style rules, browser-specific, in the document header.

What's an 'H8'?

Last edited by adios : December 8th, 2002 at 09:29 PM.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > css for table cell and NS4.x


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway