csssuperman
MIS
hi
just need t know how to do some basic settings which dont come out to be that basic for a simple scheduler table
lets say i have a dynamic table in asp.net made at run time
it is a 10 * 10 setup lets further say
i am targeting for cosmetic / heading purposes to have row 0
and row 1 with no bottom vs. top borders but left and right borders only for cells 1 thru 10. These cells represent day of week and day name for one row (ex cells 1 & 2, etc) and then the next row displays am pm (for cells 1 & 2, etc) and all I want is borders on the side and boy is it hard.
See if you can take a look
Thanks!! css follows
'CREATE BLANK BORDERS every 2 columns
For cc = 1 To 14 Step 1
For rc = 1 To 25
t(0).Rows(rc).Cells(cc).CssClass = "DT2"
Next
Next
For cc = 2 To 14 Step 2
For rc = 0 To 25 '(ADD column lines every 2 columns)
t(0).Rows(rc).Cells(cc).CssClass = "DT1"
Next
Next
For cc = 2 To 14 Step 2
'(ADD HEADER LINES every 2 column)
t(0).Rows(1).Cells(cc).CssClass = "DT1"
Next
'COLUMN 1 LABELS
For rc = 0 To 25
t(0).Rows(rc).Cells(0).CssClass = "BWS"
Next
----------------------------------------------------------
TABLE {
BORDER:SOLID 1PX red
}
TD { border: 0px SOLID RED; padding: .5em; border-collapse :COLLAPSE; width:25; border-bottom-width :1PX;}
TD.DT1 {width:3PX; padding-RIGHT: 1px;padding-LEFT: 1px;
border-RIGHT: 1px solid ; border-right-color : LIGHTBROWN ;
}
TD.DT2 {width:3PX; padding-RIGHT: 1px;padding-LEFT: 1px;
border-RIGHT: 0px solid ; border-right-color : RED ;
border-left: 0px solid ; border-left-color : RED ;
}
TD.BWS
{width:7em; padding-RIGHT: 20px;padding-LEFT: 0px;
border-RIGHT: 1px solid ; border-right-color : BROWN ;
border-left: 1px solid ; border-left-color : BROWN;
border-bottom-width :1px;
}
TD.TW {width:1em;}
Thanks so much!!!!!
just need t know how to do some basic settings which dont come out to be that basic for a simple scheduler table
lets say i have a dynamic table in asp.net made at run time
it is a 10 * 10 setup lets further say
i am targeting for cosmetic / heading purposes to have row 0
and row 1 with no bottom vs. top borders but left and right borders only for cells 1 thru 10. These cells represent day of week and day name for one row (ex cells 1 & 2, etc) and then the next row displays am pm (for cells 1 & 2, etc) and all I want is borders on the side and boy is it hard.
See if you can take a look
Thanks!! css follows
'CREATE BLANK BORDERS every 2 columns
For cc = 1 To 14 Step 1
For rc = 1 To 25
t(0).Rows(rc).Cells(cc).CssClass = "DT2"
Next
Next
For cc = 2 To 14 Step 2
For rc = 0 To 25 '(ADD column lines every 2 columns)
t(0).Rows(rc).Cells(cc).CssClass = "DT1"
Next
Next
For cc = 2 To 14 Step 2
'(ADD HEADER LINES every 2 column)
t(0).Rows(1).Cells(cc).CssClass = "DT1"
Next
'COLUMN 1 LABELS
For rc = 0 To 25
t(0).Rows(rc).Cells(0).CssClass = "BWS"
Next
----------------------------------------------------------
TABLE {
BORDER:SOLID 1PX red
}
TD { border: 0px SOLID RED; padding: .5em; border-collapse :COLLAPSE; width:25; border-bottom-width :1PX;}
TD.DT1 {width:3PX; padding-RIGHT: 1px;padding-LEFT: 1px;
border-RIGHT: 1px solid ; border-right-color : LIGHTBROWN ;
}
TD.DT2 {width:3PX; padding-RIGHT: 1px;padding-LEFT: 1px;
border-RIGHT: 0px solid ; border-right-color : RED ;
border-left: 0px solid ; border-left-color : RED ;
}
TD.BWS
{width:7em; padding-RIGHT: 20px;padding-LEFT: 0px;
border-RIGHT: 1px solid ; border-right-color : BROWN ;
border-left: 1px solid ; border-left-color : BROWN;
border-bottom-width :1px;
}
TD.TW {width:1em;}
Thanks so much!!!!!