![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
The table in question is at http://www.swiftys.org.uk/calendar The HTML is pre-Cambrian, almost certainly invalid, generated by one of the first CGI scripts that I ever wrote, about 15 years ago (initially). The strange fact is that it works in all popular browsers. It even works in "Off by One". The edge in question is the boundary between the tall/narrow grey cell on the right and the large grey cell at the "south east" corner of the table. I'd like it to go away, and I suspect this is a job for CSS. This raises an interesting question (I find it interesting): Which cell "owns" that boundary? Or is it somehow shared between the adjacent cells? Please, I'm not interested in criticism of the HTML or layout of the page any more than I'd be interested in criticism of the brand of oil I use on the wooden handle of my hammer. They are both tools, and they both work for me. That border is driving me nuts though, now I've noticed it, so if you can suggest how to make it go away, or even just reduce it a bit, then I'm all ears. |
#3
| |||
| |||
|
|
Ugh! Well aside of crap like tables with span if you are talking about the empty purple-grey column on the far right, then your need to remove: TD ROWSPAN=13 BGCOLOR=#8080B0><BR></TD |
|
But in my option it would be easier to just redo the script. Dump all the old crap, use CSS to lean out the markup. |
#4
| |||
| |||
|
|
Jonathan N. Little wrote: Ugh! Well aside of crap like tables with span if you are talking about the empty purple-grey column on the far right, then your need to remove: TD ROWSPAN=13 BGCOLOR=#8080B0><BR></TD You misread me. I want the border to go away, not the cell. The cell is there because I'm emulating an actual wall calendar. The only significant difference between the wall calendar and my page is that border. But in my option it would be easier to just redo the script. Dump all the old crap, use CSS to lean out the markup. Yes, I could reduce the markup with CSS, but the script predates CSS, it works (other than that border) and I'm not minded to put that much effort in. For me, computers are about reducing the amount of effort I have to expend, not increasing it. I wrote the entire page (i.e script) in less than 8 hours. I'd be very interested to see if anyone could achieve the same effect, even a static HTML page for one year, in less than 8 hours using CSS rather than tables. It would have to work across all popular browsers, of course. |
#5
| |||
| |||
|
|
Jonathan N. Little wrote: Ugh! Well aside of crap like tables with span if you are talking about the empty purple-grey column on the far right, then your need to remove: TD ROWSPAN=13 BGCOLOR=#8080B0><BR></TD You misread me. I want the border to go away, not the cell. The cell is there because I'm emulating an actual wall calendar. The only significant difference between the wall calendar and my page is that border. But in my option it would be easier to just redo the script. Dump all the old crap, use CSS to lean out the markup. Yes, I could reduce the markup with CSS, but the script predates CSS, it works (other than that border) and I'm not minded to put that much effort in. For me, computers are about reducing the amount of effort I have to expend, not increasing it. I wrote the entire page (i.e script) in less than 8 hours. I'd be very interested to see if anyone could achieve the same effect, even a static HTML page for one year, in less than 8 hours using CSS rather than tables. It would have to work across all popular browsers, of course. |
#6
| |||
| |||
|
|
If you want a particular cell to not have a border then you must switch off the HTML borders (border='0') and switch on CSS borders (td {border=solid 1px grey}). In your case it looks like top and left borders are dark grey and the other two are light grey. Style them accordingly. |
#7
| ||||
| ||||
|
|
rf wrote: If you want a particular cell to not have a border then you must switch off the HTML borders (border='0') and switch on CSS borders (td {border=solid 1px grey}). In your case it looks like top and left borders are dark grey and the other two are light grey. Style them accordingly. Aha! A light comes on. I've seen borders defined as "ridge" and things like indented and outdented in HTML. What is actually happening is that the borders are coloured as you say, but inside the table, the cells are actually separated by a pair of different-coloured borders. The tricky part is maintaining the ridge effect on the exterior borders of the table, where there would be only a single (i.e. half width) border. |
|
I suspect this is the point where I gave up trying to emulate tables using DIV's - |
|
I never managed to make the exterior borders look the same as the interior ones. |
|
I suspect that the simplest solution is to do nothing. After a while, I'll stop noticing that extra tiny piece of border, in the same way that I don't see the paint peeling off my front door. :-) |
#8
| |||
| |||
|
|
tinkers http://barefile.com.au/swift/calendar.htm Messy but it works. Look for the comments on the bits I changed, at the beginning and right at the end. |
![]() |
| Thread Tools | |
| Display Modes | |
| |