6 replies [Last post]
Ai_y0u
Ai_y0u's picture
Offline
newbie
Last seen: 15 years 40 weeks ago
Joined: 2007-06-21
Posts: 2
Points: 0

Hello,
So this comes like this... :shrug:
I have a image background, and I have sections in the website, made by tables
like a navigation bar, and I would like the background of these tables to be
a bit darker, not having a solid color but a darker tone of the background, I tryed putting a black table background but I found no option to "blend" it or make it transparent.

I m aware that there is a CSS code for this, I believe this is so basic...but I m a noob like this, and I will thank with all my heart whoever helps me with this because it's for a proyect.
Also, can I insert the css code anywhere in the "code" section, I am using dreamweaver and well I know I have to open the css with the: and close it with but I believe this will apply to the whole page, doing the actual background ( of the whole page) transparent, but what if I only want to apply it for a table.

Thanks in advance.

Aiyou

Crea
Crea's picture
Offline
Enthusiast
Hamburg - Germany
Last seen: 11 years 47 weeks ago
Hamburg - Germany
Timezone: GMT+2
Joined: 2007-02-08
Posts: 131
Points: 8

HI Ai_yOu,would you please

HI Ai_yOu,

would you please either post a link or if it´s local a snippet of code.
For opacity please read: http://www.quirksmode.org/css/opacity.html

lars

A perfection of means, and confusion of aims, seems to be our main problem.
Albert Einstein

http://www.creategg.de

burlster
burlster's picture
Offline
Leader
Bournemouth
Last seen: 2 years 14 weeks ago
Bournemouth
Joined: 2007-05-31
Posts: 693
Points: 45

Hmmmm, I think the first

Hmmmm,

I think the first thing I would recommend is to see if you can't do things like your navigational menu without using tables. Try lists instead for example. Tables aren't particularly good for these things.

Also, I would recommend using an external file (eg. style.css) for all your CSS code, then linking to it from your web page. This would mean you can use that same code for multiple pages resulting in a consistent looking web site.

"Can I insert the css code anywhere" - No, generally you want to think about the structure of your CSS a bit because in sections of the code, the order you've done things is quite important! Parts of CSS is read and consequently followed sequentially.

Finally, I think most of your questions would be very simply asked with 'beginner tutorials' if you have a search on Google. Just type in what you're trying to do, and CSS and you should find multiple pages just dying to explain it to you.

We're only really able to help with specific questions when we have code or a live link to look at.

Thank you,

John

Have YOU said Hello yet?
The CSSCreator Hello Thread

Ai_y0u
Ai_y0u's picture
Offline
newbie
Last seen: 15 years 40 weeks ago
Joined: 2007-06-21
Posts: 2
Points: 0

Hello Crea, what do you mean

Hello Crea,
what do you mean by " a link" ( a link to what? )
and a snippet code..?

well for the first who posted, isn't this.."begginer help"...
I have tryed reading all the tutorials and everything,
they all say the same in the introduction and stuff but the problem is that I have ADD I can't keep reading ALL that, I even bought membership in Lynda.com
but the tutorial is so long... I only need a code that can make table backgrounds transparent, and how to insert them into my website ( which I haven't created yet).
I would kindly appreciate any given help...

Tyssen
Tyssen's picture
Offline
Moderator
Brisbane
Last seen: 8 years 24 weeks ago
Brisbane
Timezone: GMT+10
Joined: 2004-05-01
Posts: 8201
Points: 1386

Ai_y0u wrote:what do you

Ai_y0u wrote:
what do you mean by " a link" ( a link to what? )
and a snippet code..?

I would've thought they're fairly self-explanatory. A link to your page and/or the code you're using pasted here into this thread.

How to get help
Post a link. If you can't post a link, jsFiddle it.
My blog | My older articles | CSS Reference

thepineapplehead
thepineapplehead's picture
Offline
Moderator
Last seen: 48 weeks 2 days ago
Timezone: GMT+1
Joined: 2004-06-30
Posts: 9683
Points: 819

Ai_y0u wrote:well for the

Ai_y0u wrote:
well for the first who posted, isn't this.."begginer help"...

yes, and at the top of the forum it does say quite clearly "please post all your code - both CSS and HTML - in code tags"

Wink

Verschwindende wrote:
  • CSS doesn't make pies

Crea
Crea's picture
Offline
Enthusiast
Hamburg - Germany
Last seen: 11 years 47 weeks ago
Hamburg - Germany
Timezone: GMT+2
Joined: 2007-02-08
Posts: 131
Points: 8

Hi Ai_y0u, without code

Hi Ai_y0u,

without code it´s not that easy to give a specific answer
to a general question. So, post your html and css code
and you´ll get a solution.

that´s it

lars

A perfection of means, and confusion of aims, seems to be our main problem.
Albert Einstein

http://www.creategg.de