There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Software Development
Tag Cloud
adware audio blue screen boot bsod computer cpu crash dell desktop driver drivers error excel external hard drive firefox freeze freezes freezing hard drive hardware hijackthis internet internet explorer itunes laptop malware motherboard mouse network networking outlook 2007 power printer problem ram restart router screen slow sound trojan usb virus vista vista 32-bit windows windows xp winxp wireless
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Software & Hardware > Software Development >
Some HTML/Java script help plz


Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
zeo's Avatar
zeo zeo is offline
Senior Member with 237 posts.
 
Join Date: Jan 2003
10-Nov-2003, 12:21 PM #1
Some HTML/Java script help plz
Hi,
I was wondering if you could help me;

i was wondering how can I (if possible) have a normal background in a site but if i create a table in the middle of the page, have the same page background visible thru the table except the background visible from the table to be watermarked (e.g. look lighter, water effect etc) e.g. like how the new msn messenger 6.0 chat window is, the background in the center being alot lighter then the background around the chat window itself.
__________________
My main system:
Pentium D 945 3.4GHZ 2x2mb
MSI P965 Neo
1024MB DDR2 RAM
500GB WD SATA HD
ATI X1300 256MB PCI-E
LG CD/DVD/RW
LG DVD ROM
DAX SN450 PSU
XP PRO SP2

Secondary system:
Pentium D 805 2.66 GHz 2MB (1 Mb per Core)
ASRock 775DUAL-VSTA SKT 775 VIA PT880Pro/ultra
512MB DDR RAM
80GB Seagate barracuda 7200 IDE HD
NVIDIA FX5200 128MB AGP
LG CD/DVD/RW
Casecom Silver Mid-Tower
XP PRO SP1
Corrosive's Avatar
Senior Member with 1,074 posts.
 
Join Date: Jan 2003
Location: Scotland
10-Nov-2003, 03:49 PM #2
If this is for layout purposes, I don't recommend using tables. Learn to use CSS Positioning and it'll become much more complient with standards.

The other advantage is that you can use CSS to get just what you need. You can fiddle with the transparence with the "filter" class to achieve this, although I'm not entirely sure of the syntax. www.w3schools.com is probably the best site to learn CSS.
__________________
"Computer games don't affect kids - I mean, if Pacman affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music."
- Kristian Wilson [Nintendo Executive 1989]

Anyone fancy going out clubbing tonight?
Shadow2531's Avatar
Distinguished Member with 2,629 posts.
 
Join Date: Apr 2001
11-Nov-2003, 12:01 AM #3
I agree with Corrosive.

Here's the info anyways.


If you want to do it the easiest way just set the background color of the table to the lighter version of the same color that you need.

For example if you have the body bgcolor set to #3e3e3e, you can set the table bgcolor to #cccccc.

Just add the style attribute to the table tag.

e.g.

<table style="background-color: #cccccc;">

However you should really do it like this.

in the head you should have
<head>
<style type="text/css">
<!--
body
{
background-color: #3e3e3e;
color: #000000
}
table.c1
{
background-color: #cccccc;
color: #000000;
}
-->
</style>
</head>

Then have

<table class="c1" >

etc.

Use whatever colors you want.

If you don't know the hex values of the colors, just search google for html color wheel

If you want all tables to have the same background-color, you can use

table
{
background-color: #cccccc;
color: #000000;
}
__________________
10 ? "a line as the unending horizon"
20 ? "a curve as the rolling hillside"
30 ? "a point as a distant bird"
40 ? "a ray as the rising sun"
run
Closed Thread

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.



Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 07:10 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.