![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a table style like this: table.gridmenu /* tables used for creating menus of clickable buttons */ { background : #fbf4d8; color : #0080ff; font : 80% Arial,Helvetica,sans-serif; } When I use it I add some extra stuff like this: table border="7" cellpadding="10" class="gridmenu" I have horsed around but can't seem to figure out what to do to the table.gridmenu or a td.gridmenu style to build in the border and cellpadding. I wonder if the problem is I need to individually add the gridmenu attribute to every ruddy cell. Surely not! |
#3
| |||
| |||
|
|
table.gridmenu td { padding: 10px; border: 7px; border-collapse: collapse; /* etc. */ } Is this what you were looking for? |
#4
| |||
| |||
|
|
I have a table style like this: table.gridmenu /* tables used for creating menus of clickable buttons */ { background : #fbf4d8; color : #0080ff; font : 80% Arial,Helvetica,sans-serif; } |
#5
| |||
| |||
|
|
It might pay to lose the.. [ .. border="0" cellspacing="4" cellpadding="4".. ] ..though. |
#6
| |||
| |||
|
|
works fine, except the margin command seems to be ignored. I am using Opera 7.5. It acts as if margin=1px no matter what I set it to. |
#7
| |||
| |||
|
|
On Thu, 24 Jun 2004 01:05:07 GMT, Andrew Thompson SeeMySites (AT) www (DOT) invalid> wrote or quoted : It might pay to lose the.. [ .. border="0" cellspacing="4" cellpadding="4".. ] ..though. Ok, I am cooking now thanks to your help. table.gridmenu td /* tables used for creating menus of clickable buttons */ { border-style : outset; border-width : 2px; border-color: #808080; padding : 5px; margin : 5px; } works fine, except the margin command seems to be ignored. I am using Opera 7.5. It acts as if margin=1px no matter what I set it to. |
#8
| |||
| |||
|
|
works fine, except the margin command seems to be ignored. I am using Opera 7.5. It acts as if margin=1px no matter what I set it to. border-collapse: separate; border-spacing: 4px; |
![]() |
| Thread Tools | |
| Display Modes | |
| |