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 July 29th, 2001, 07:53 PM
Yaa 101 Yaa 101 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Location: yes
Posts: 30 Yaa 101 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Smile css question with nesting

how do i keep the style from getting ignored in a inner table...

ie:

<table class=\"sheet\" align=\"center\" cellspacing=\"10\">
<tr>
<td>
<table class=\"innersheet\" align=\"center\" cellspacing=\"10\">


etc...

don't worry about form of \" intead of "

is excerpt from php echo"";
__________________
The Knowledge Emporium

Reply With Quote
  #2  
Old July 30th, 2001, 12:32 PM
szarecor szarecor is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Location: New York
Posts: 122 szarecor User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
I assume you're experiencing the problem in Netscape which is far quirkier in it's CSS implementation than Explorer.

In my experience, Netscape does a very poor job "cascading" a style declaration from a table tag down to it's elements (<tr> and <td>). If this is what's causing your problem, the most direct solution is to assign your style class to the table cells directly rather than to the table as a whole:

<td class="innersheet">content....</td>

rather than

<table class="innersheet">

If I understand your problem correctly, this should fix it.

Good luck.

Reply With Quote
  #3  
Old August 2nd, 2001, 07:00 AM
Yaa 101 Yaa 101 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Location: yes
Posts: 30 Yaa 101 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Smile

thanks...

IE was nagging b.t.w.

but the td class= works perfectly...


Reply With Quote
  #4  
Old August 2nd, 2001, 07:30 AM
Era Era is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Location: London
Posts: 8 Era User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I've got the same problem with tables and styles.
Even if assign style class directly to cells netscape doesn't displaybackground color in some of the cells,or display color in alternative columns only.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > css question with nesting


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 1 hosted by Hostway