Results 1 to 7 of 7

Thread: I have a question about table opacity

  1. #1
    Join Date
    Feb 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default I have a question about table opacity

    Hi, I found this forum while spending 30 minuits not finding what I need out there. So I am asking this question.
    I have a myspace account.
    I want to make translucent tables of the color that I choose.
    But I want my pictures in the tables not to be translucent.
    I also want to control the text color in and out of the tables.
    And I want to have borders on the translucent tables.
    please help

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    That is not so easy to do. Probably even less so on myspace. The opacity of an element is inherited by all of the elements, and text within it. There are probably a number of ways to deal with this but, the one that comes to mind is to set the opacity on your table to whatever you want it to be and then place other things with normal opacity on top of it using absolute or relative positioning.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Feb 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    dude was that supposed to make sense to me? the pictures is what really matters to me.

  4. #4
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    I disagree: it would be better to set a translucent background image on the table. Use AlphaImageLoader to get support for IE6.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  5. #5
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

    Default

    A background image would be the easiest, but getting support for IE may be difficult, as if you use AlphaImageLoader the entire table would become translucent(?) Using opacity settings in the style would have an overall nasty affect as well. You could position a div element as a mask directly over the table, and have it at say 10 or 20 percent. It's possible.
    - Mike

  6. #6
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    the entire table would become translucent
    No. That's not how AlphaImageLoader works.
    You could position a div element as a mask directly over the table, and have it at say 10 or 20 percent. It's possible.
    Yes, but that's no easier than John's solution.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  7. #7
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    yeah but this dude don't unnerstan any that sides, say he want the whole table.

    Kidding aside, This is for myspace, no less and the OP doesn't seem to understand basic css positioning, let alone alpha images. If we want to help directly, we need to give concrete examples and even that may not be enough. I, for one, do not understand the special considerations/constraints that the myspace environment imposes.

    Fortunately, there are a lot of these things already out there, ex:

    http://www.freecodesource.com/index....nslucenttables

    For more options:

    http://www.google.com/search?client=...utf-8&oe=utf-8
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •