Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 15
  1. #1
    Senior Member
    Join Date
    Feb 2003
    Posts
    284
    Member #
    683
    Whats the HTML code used to make the background of tables transparent? Like lowering the opacity level.
    I am a 13 year old graphics designer. I would love to make anyone who requests a logo for a price that we can discuss. I have taught myself how to make graphics. I made the winning entry for WebScalpel.com.

  2.  

  3. #2
    JR
    JR is offline
    Senior Member JR's Avatar
    Join Date
    Nov 2002
    Location
    UK
    Posts
    4,354
    Member #
    257
    just dont put a colour in, this will make them completely see through, or do you mean partially transparent?
    JR

  4. #3
    JR
    JR is offline
    Senior Member JR's Avatar
    Join Date
    Nov 2002
    Location
    UK
    Posts
    4,354
    Member #
    257
    Ok if you mean partially transparent, you will need to use css...

    this goes in the head section
    <style type="text/css">
    .transparent {filter:alpha(opacity="50");}
    </style>
    then you will need to link to this css in the table tag, the css here is called transparent (highlighted in bold) so in the tag you will need to put class="transparent"

    here is an example
    JR

  5. #4
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    That's IE only, I believe, BTW.
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  6. #5
    Senior Member
    Join Date
    Feb 2003
    Posts
    284
    Member #
    683
    CSS completely confuses me, so could you give me of an example of a page of tables and show me exactly where it goes. I mean viewing the HTML too.
    I am a 13 year old graphics designer. I would love to make anyone who requests a logo for a price that we can discuss. I have taught myself how to make graphics. I made the winning entry for WebScalpel.com.

  7. #6
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    Put jravenscroft's code in your <head></head> tags, then to make a table translucent, use <table class="transparent">...</table>.
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  8. #7
    Senior Member
    Join Date
    Feb 2003
    Posts
    284
    Member #
    683
    That simplyfies it some.
    I am a 13 year old graphics designer. I would love to make anyone who requests a logo for a price that we can discuss. I have taught myself how to make graphics. I made the winning entry for WebScalpel.com.

  9. #8
    Senior Member
    Join Date
    Oct 2002
    Location
    Nashville, Tennessee
    Posts
    133
    Member #
    233
    If you wanna see a very basic implementation of CSS, go to this little page I'm working on (the links don't go anywhere right now)...

    http://www.scottcleans.com/chris/index.html

    View the source of the page, and you'll see a small example of an embedded style sheet. I don't have an example of tables with classes declared, but you can see it in the <font> attributes that I use. Let us know if this helps any.

    Chris

  10. #9
    Banned
    Join Date
    Jul 2003
    Posts
    4
    Member #
    2430
    how do i stop the content going transparent as well?

  11. #10
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    unfortunately, opacity changes affect the element and all of its children. To prevent that from happening, you'll have to create overlapping divs, one with an alpha fill and one with your text content


Page 1 of 2 1 2 LastLast

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 12:31 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com