473,647 Members | 3,347 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 11341
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.1933 97$9b.1283@edtn ps84...
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******@dietz k.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******@dietz k.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******@dietz k.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; ("transparen t" 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.c om...
"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******@dietz k.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; ("transparen t" 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 "transparen t"
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

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

Similar topics

1
1686
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 background on the table?
19
1568
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 structure himself. This way the internal structure of the lib can be changed, and the lib can be recompiled, but the application using the lib doesn't need to be recompiled. But then there are two ways to define the opque type:
5
6103
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 label. Can this be done? Matthew
2
1953
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 pointer to a struct which is not defined anywhere, if I understood correctly). Now, if I had the possibility of instantiating a concrete struct, I would create a function like this: struct sqlite& myDb() {
18
11301
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 - available from the website): #define T List_T
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, first of all, really -- is your script or pseudo-code there JavaScript or CSS or both?? Sorry, I'm really not sure where one stops and the other begins...they're so hand-in-hand, after all! Thanks again!!
3
5010
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 a traslucent background, for example text messages on TV. Or look at the title bar text of Aero. Background is translucent but the text is opaque. Is it possible to use 100% opaque text on a traslucent form?
8
3955
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 a WPF application, but the window didn't get translucent, instead only the client area got gray. Then I found I have to set AllowTransparency to true but then the window style must be set to None to set the AllowTransparency to true. In short,...
27
2506
by: Nate Eldredge | last post by:
Consider the following pseudo-code: #include <opaque.h> struct foo { int a; opaque_t op; int b; };
0
8275
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8715
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8371
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8516
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7209
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5580
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2633
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1818
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1516
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.