473,499 Members | 1,948 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Opaque background on table

I have a scenic picture for the background of a page. I would like to make a
table, with an opaque background, over top to hold content, that will still
somewhat show my page background. How do I do this?
Jul 21 '05 #1
12 11324
Hi Tania,
I have a scenic picture for the background of a page. I would like to make a
table, with an opaque background, over top to hold content, that will still
somewhat show my page background. How do I do this?

If you "would like to make a table, [...] to hold content", you're wrong
here, I guess.
If you give the table a background, it will coceal the page-background,
unless you use a (semi-)transparent table-background-image.

Chris
Jul 21 '05 #2

"Tania" <ta****@nospam.com> wrote in message
news:L4dnd.193397$9b.1283@edtnps84...
I have a scenic picture for the background of a page. I would like to make a table, with an opaque background, over top to hold content, that will still somewhat show my page background. How do I do this?


This is like asking for a watertight sieve. You ought to look up "opaque" in
the dictionary.

Anyway, you can specify either that a background have a color OR that it be
transparent, not both. You can try using a background image with a lot of
transparency, or a background image designed to look like the page's
background image as seen through a transparent color filter.

Jul 21 '05 #3
So how can I have an area with text in it, that one can read over the scenic
background?

"Chris Leipold" <cl******@dietzk.de> wrote in message
news:30*************@uni-berlin.de...
Hi Tania,
I have a scenic picture for the background of a page. I would like to make a table, with an opaque background, over top to hold content, that will still somewhat show my page background. How do I do this?

If you "would like to make a table, [...] to hold content", you're wrong
here, I guess.
If you give the table a background, it will coceal the page-background,
unless you use a (semi-)transparent table-background-image.

Chris

Jul 21 '05 #4
Els
Tania wrote:
"Chris Leipold" <cl******@dietzk.de> wrote in message
news:30*************@uni-berlin.de...
Hi Tania,
> I have a scenic picture for the background of a page. I
> would like to make a table, with an opaque background,
> over top to hold content, that will still
> somewhat show my page background. How do I do this?


If you "would like to make a table, [...] to hold
content", you're wrong here, I guess.
If you give the table a background, it will coceal the
page-background, unless you use a (semi-)transparent
table-background-image.


So how can I have an area with text in it, that one can
read over the scenic background?


By setting the background of the text to transparent.
Just make sure that the scenic background has enough contrast
with the text to be able to read it properly.

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: Pink Floyd - Money
Jul 21 '05 #5
"Tania" <ta****@nospam.com> wrote:
So how can I have an area with text in it, that one can read over the scenic
background?

"Chris Leipold" <cl******@dietzk.de> wrote in message
news:30*************@uni-berlin.de...
Hi Tania,
> I have a scenic picture for the background of a page. I would like tomake a > table, with an opaque background, over top to hold content, that willstill > somewhat show my page background. How do I do this?

Please don't top-post. You can see from this what a nuisance it is to
follow a thread when people write their responses out of order with
the earlier messages. Write your response at the bottom, or underneath
the part of the earlier message(s) to which it pertains.

As to your question: background: transparent; ("transparent" is the
opposite of "opaque").
If you "would like to make a table, [...] to hold content", you're wrong
here, I guess.
If you give the table a background, it will coceal the page-background,
unless you use a (semi-)transparent table-background-image.

Chris

--
Harlan Messinger
Remove the first dot from my e-mail address.
Veuillez ôter le premier point de mon adresse de courriel.
Jul 21 '05 #6
*Tania* <ta****@nospam.com>:

I have a scenic picture for the background of a page. I would like to
make a table, with an opaque background, over top to hold content, that
will still somewhat show my page background. How do I do this?


Certainly not with an opaque background for the table, but with a
semi-transparent one. In CSS2 that can only be done with a 'transparent'
'background-color' and a 'background-image' in a format that supports more
advanced than binary transparency (like PNG, "alpha channel").

With the CSS*3 module Color (<http://www.w3.org/TR/css3-color/>) there are
almost certainly coming ways to give background color an alpha value
('rgba()', 'hsla()'¹) or to give the whole box a reduced 'opacity', thus
removing the need for a second background image.

¹ <rant>In a quite unintuitive way, which seems to be what graphics
designers like to use²: the alpha value is always given as a float between
0 and 1, not a percentage, which would be the established CSS way, and
neither in the same way as the color components, i.e. 'rgba(255, 127, 0,
255)', 'rgba(100%, 50%, 0%, 100%)', '#F70F', '#FF7F00FF' would---despite
being logic assumptions---all be incorrect (well, the first one would
probably be shaped to 'rgba(255, 127, 0, 1.0)'.</rant>
² <rant>See the unsystematic color names of that very draft.</rant>

--
"Anyone who slaps a 'this page is best viewed with Browser X' label on a
Web page appears to be yearning for the bad old days, before the Web, when
you had very little chance of reading a document written on another computer,
another word processor, or another network." Tim Berners-Lee, 1996
Jul 21 '05 #7

"Harlan Messinger" <hm*******************@comcast.net> wrote in message
news:5k********************************@4ax.com...
"Tania" <ta****@nospam.com> wrote:
So how can I have an area with text in it, that one can read over the scenic
background?

"Chris Leipold" <cl******@dietzk.de> wrote in message
news:30*************@uni-berlin.de...
Hi Tania,

> I have a scenic picture for the background of a page. I would like to

make a
> table, with an opaque background, over top to hold content, that will

still
> somewhat show my page background. How do I do this?


Please don't top-post. You can see from this what a nuisance it is to
follow a thread when people write their responses out of order with
the earlier messages. Write your response at the bottom, or underneath
the part of the earlier message(s) to which it pertains.

As to your question: background: transparent; ("transparent" is the
opposite of "opaque").
If you "would like to make a table, [...] to hold content", you're wrong here, I guess.
If you give the table a background, it will coceal the page-background,
unless you use a (semi-)transparent table-background-image.

Chris

--
Harlan Messinger
Remove the first dot from my e-mail address.
Veuillez ôter le premier point de mon adresse de courriel.


Hey Harlan, you really might want to remove that stick out of your ass. All
I asked for was some help and you've been nothing but rude. Oh, and you
might want to look THAT up in the dictonary.
Jul 21 '05 #8
On Sun, 21 Nov 2004 15:39:33 GMT, Tania <ta****@nospam.com> wrote:
Please don't top-post. You can see from this what a nuisance it is to
follow a thread when people write their responses out of order with
the earlier messages. Write your response at the bottom, or underneath
the part of the earlier message(s) to which it pertains.
Hey Harlan, you really might want to remove that stick out of your ass.


If he has one there, I probably agree. It's a pain in the ass.
All
I asked for was some help and you've been nothing but rude.


Nothing but rude would imply "never helpful". He did mention "transparent"
which is what you're looking for, so I doubt your assertion.

BTW, your bottom post was quite easy to find and reply to, thanks. One
other tip - trim parts of the post irrelevent to your next bit. Reduces
bandwidth and the detective-ness you and I must use when reading.

These conventions don't exist to bully new posters, they exist to
facilitate the process. Hope you appreciate that.
Jul 21 '05 #9
> These conventions don't exist to bully new posters, they exist to
facilitate the process. Hope you appreciate that.


You obviously didn't see his other message. Anyway, I know now not to look
here for help. Thanks.
Jul 21 '05 #10
Tania wrote:
Anyway, I know now not to look here for help. Thanks.


Good, then I won't bother to killfile you.

Bye.

--
Brian (remove "invalid" to email me)
Jul 21 '05 #11
>
Hey Harlan, you really might want to remove that stick out of your ass. All
I asked for was some help and you've been nothing but rude. Oh, and you
might want to look THAT up in the dictonary.


I'm sorry you consider helpful advice politely offered to be rude. I
suppose if you were in Washington, DC, and stopped me to ask how to
get onto I-95 South to get to New York, you'd consider me rude if I
told you that you needed to take I-95 *North* if you wanted to get
anywhere near New York. I suppose the courteous thing for me to do
would be to give you the directions to I-95 South and let it be your
problem when you didn't realize your mistake until a hundred miles
later.

As for the *nothing but* rude part, OK, I suppose that even the parts
where I gave you the information you were looking for was sheer
rudeness.

In short, you're mistaken about whose ass the stick is up.

--
Harlan Messinger
Remove the first dot from my e-mail address.
Veuillez ôter le premier point de mon adresse de courriel.
Jul 21 '05 #12
On Sun, 21 Nov 2004 18:17:29 GMT, Tania <ta****@nospam.com> wrote:
These conventions don't exist to bully new posters, they exist to
facilitate the process. Hope you appreciate that.
You obviously didn't see his other message.


I did, and it did not seem at all rude.
Anyway, I know now not to look
here for help. Thanks.


Sorry you're so easily offended.

Jul 21 '05 #13

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

Similar topics

1
1674
by: Tania | last post by:
I have a page background that is a scenic picture and would like to create a table over top of it for text, but i still want the picture to show through the table somewhat. How can I make an opaque...
19
1557
by: Capstar | last post by:
Hi NG, I've read some time ago in this NG, that when you're writing a library it can be good practice to use an opaque type to point to your structures if the user doesn't need to modify the...
5
6095
by: Matthew | last post by:
I have Visual Basic .NET 2003, and wanted to create a form that only shows the contents of a label. The form can't have a title bar or border. It seriously needs to just be the text inside the...
2
1945
by: jashugun | last post by:
Hello to everybody, I'm trying to write a small program which is meant to interact with an sqlite database. My idea is to create once a database handler, which happens to be an opaque pointer (a...
18
11285
by: chankl | last post by:
Can anyone explain what's an opaque pointer and how it's implemented in C? I read about this concept in the book "C interfaces and implementations". Here's an example from the book (list.h -...
5
220
by: Prisoner at War | last post by:
On Apr 26, 5:19 pm, Ben C <spams...@spam.eggswrote: Super!! It will take me a while to digest your idea, though...and in the meantime, may I ask: how about utilizing any CSS 2.x methods? And,...
3
4985
by: Sin Jeong-hun | last post by:
As far as I know if I change the form's opacity, every control on the form also inherits that opacity. But in many real applications (not application programs), we see opaque text (100% opacity) on...
8
3947
by: Sin Jeong-hun | last post by:
With Windows Forms application, just setting the opacity to 0.5 gave me a 50% opaque normal styled (with the title bar, familiar three buttons, borders and resizable) window. Did the same thing to...
27
2487
by: Nate Eldredge | last post by:
Consider the following pseudo-code: #include <opaque.h> struct foo { int a; opaque_t op; int b; };
0
7134
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7012
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...
0
7180
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7225
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6901
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7392
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4920
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4605
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3101
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.