"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan
Does that work for DIV tags or maybe something else? Because I already tried it on tables and it didn't work for me. I tried something like:
HTML Code:
<table border="1" height ="500" style="border-left-style:dotted;"><tr><td>bla bla bla
</td></tr></table>
But there is no change in the style in my browser.
Well, your CSS syntax is incorrect to begin with. I do not think that "border-left-style:dotted;" does anything. I'd not waste my time giving a TABLE a special border if all I wanted was a vertical dotted line
But what the heck, -go it the easy way and use a <DIV> and style it's left or it's right border. Here, a very narrow DIV with a heavy (4-px wide dotted) black border, positioned 50-px from the left of screen, and 10-px from the top.
I know that YOU don't care about using a table but I DO care and would appreciate some help. The syntax in not incorrect, though it just doesn't do exactly what I want it to (see attached file) it dots some of the border not all of it. Either way, the div does seem the better way to go so thanks.
"It'll could only cost you your life--and you got that for free." Forgotten Games
It's because your border isn't fully defined. Also, different browsers have different dot pitches and Fx uses a very fine one. Anyway, this works for both but using "dashed" instead of "dotted" produces a more similar look between IE and Fx:
style="border-left:1px dotted red;"
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan
Bookmarks