|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
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. |
|
#3
|
|||
|
|||
|
thanks...
IE was nagging b.t.w. but the td class= works perfectly... ![]() |
|
#4
|
|||
|
|||
|
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. |
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > css question with nesting |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|