|
| |
|
|
mshin
Posts: 11 Joined: 10/8/2004 Status: offline
|
Clip Background Image using CSS - 2/1/2005 16:07:47
I am using a repeating single dot pattern as a background for a table cell (appears as a dotted line separator). What I'd like to do is have the background start, say, 10px in from the start and end points. What I am doing now is inserting a single cell table as in the following snippet: <td width="9" class="VContainer"> <table width="100%" height="100%"> <tr> <td class="VSeparator"></td> </tr> </table> </td> <style> TD.VContainer { padding-top: 8px; padding-bottom: 8px; } TD.VSeparator { background: transparent url(images/vdot.gif) repeat-y; } </style> What I'd like to end up doing is to get the same effect with only one table cell and one class. I've tried several style elements without success...
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|