473,386 Members | 1,810 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Watermarks in tables

Hi,

Is it possible to have a watermark / background image on an individual table
row either in raw HTML or with the <asp:Table> control?

I know it is possible to change the background colour in a row by row basis,
but I wondered if it was also possible to do the same with an image?

Just wondering...

Mark
Nov 19 '05 #1
7 2123
Sure, just set CssClass for the item to a css class with background-image
rule defined.

Eliyahu

"Mark Rae" <ma**@mark-N-O-S-P-A-M-rae.co.uk> wrote in message
news:O9**************@TK2MSFTNGP10.phx.gbl...
Hi,

Is it possible to have a watermark / background image on an individual table row either in raw HTML or with the <asp:Table> control?

I know it is possible to change the background colour in a row by row basis, but I wondered if it was also possible to do the same with an image?

Just wondering...

Mark

Nov 19 '05 #2
"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:uV**************@TK2MSFTNGP12.phx.gbl...
Sure, just set CssClass for the item to a css class with background-image
rule defined.


Thanks very much
Nov 19 '05 #3
"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:uV**************@TK2MSFTNGP12.phx.gbl...
Sure, just set CssClass for the item to a css class with background-image
rule defined.


This actually set the background image on each tablecell individually. Is
there a way so that a background image applies to the whole tablerow?
Nov 19 '05 #4
If you apply CssClass to every cell in Cells collection, you get the image
on every cell. If you apply CssClass to just Item, you should get the image
on the row.

Eliyahu

"Mark Rae" <ma**@mark-N-O-S-P-A-M-rae.co.uk> wrote in message
news:Oa**************@TK2MSFTNGP14.phx.gbl...
"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:uV**************@TK2MSFTNGP12.phx.gbl...
Sure, just set CssClass for the item to a css class with background-image rule defined.


This actually set the background image on each tablecell individually. Is
there a way so that a background image applies to the whole tablerow?

Nov 19 '05 #5
"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:e9**************@TK2MSFTNGP09.phx.gbl...
If you apply CssClass to every cell in Cells collection, you get the image
on every cell. If you apply CssClass to just Item, you should get the
image
on the row.


You don't...
Nov 19 '05 #6
And what happens if you apply it in the "class" attribute to <tr>? I mean,
is it because ASP.NET doesn't translate CssClass for Item to class for <tr>,
or class with background-image doen't work properly for <tr>?

Eliyahu

"Mark Rae" <ma**@mark-N-O-S-P-A-M-rae.co.uk> wrote in message
news:%2***************@TK2MSFTNGP15.phx.gbl...
"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:e9**************@TK2MSFTNGP09.phx.gbl...
If you apply CssClass to every cell in Cells collection, you get the image on every cell. If you apply CssClass to just Item, you should get the
image
on the row.


You don't...

Nov 19 '05 #7
"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:us**************@tk2msftngp13.phx.gbl...
And what happens if you apply it in the "class" attribute to <tr>?
The background image is displayed in each <td> individually.
I mean, is it because ASP.NET doesn't translate CssClass for Item to class
for <tr>,
or class with background-image doen't work properly for <tr>?


I have no idea...
Nov 19 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

44
by: Mariusz Jedrzejewski | last post by:
Hi, I'll be very grateful if somebody can explain me why my Opera 7.23 (runing under linux) doesn't show me inner tables. Using below code I can see only "inner table 1". There is no problem with...
3
by: Random Person | last post by:
Does anyone know how to use VBA to relink tables between two MS Access databases? We have two databases, one with VBA code and the other with data tables. The tables are referenced by linked...
11
by: dskillingstad | last post by:
I've been struggling with this problem for some time and have tried multiple solutions with no luck. Let me start with, I'm a novice at Access and I'm not looking for someones help to design my...
4
by: Michele | last post by:
I use the code at the of this message to add a copyright text ( watermark ) on image printing. I would like to have a text Opacity at 30%. On print preview and normal view all is ok , but when I...
59
by: phil-news-nospam | last post by:
In followups by Brian O'Connor (ironcorona) to other posts, he repeats the idea that using tables in CSS is not something that should be done because IE doesn't support it. Of course I'm not happy...
5
by: rdemyan via AccessMonster.com | last post by:
I have a need to add another field to all of my tables (over 150). Not data, but an actual field. Can I code this somehow. So the code presumabley would loop through all the tables, open each...
3
by: madumm | last post by:
Hi all; I want to add watermarks for PDF files. I have found a class called "PdfFileStamp" to do that. Inorder to do that have to import "com.aspose.pdf.kit.PdfFileStamp" for that how can i do...
4
by: db2admin | last post by:
Hello, I want to plan rearranging tables in our database according to business areas. say all tables in business area A will be in seperate tablespace or tablespaces. I am planning to monitor...
25
by: bubbles | last post by:
Using Access 2003 front-end, with SQL Server 2005 backend. I need to make the front-end application automatically refresh the linked SQL Server tables. New tables will be added dynamically in...
11
by: shriil | last post by:
Hi I have this database that calculates and stores the incentive amount earned by employees of a particular department. Each record is entered by entering the Date, Shift (morn, eve, or night)...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.