David Dorward wrote:
RC wrote:
I found background-color, background-image, but
I don't see background-text
What text is a background? I can't think of any time I would use text that
isn't in content. Can you provide some examples?
Hahaha....!!!
check out this
a:link { color: red } /* unvisited links */
a:visited { color: blue } /* visited links */
a:hover { color: yellow } /* user hovers */
a:active { color: lime } /* active links */
a:focus { background-color: yellow }
a:focus:hover { background-color: #dadabe }
img { border-collapse: separate; border-width: 0; border-spacing: 0;
padding: 0; }
a.image { margin: 0; background-image: url(arrow_right.gif);
background-repeat: no-repeat; background-position: right center; border:
0; padding-top:0; padding-bottom:0; padding-left: 0; padding-right: 15; }
<a class="image" ...>...</a>
This I can put a little image arrow_right.gif at right padding area for
<a> tag, then later I can use JavaScript change the
style.backgroundImage for arrow_down.gif.
This is can pull down menu application.
Now I have a different application, I want to write something in
table's <th> and/or <td> tags in the padding areas.
I want write text (HTML text is better), not the silly image(s).