Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Need Help

  • This topic is empty.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #35947

    Hi there, I begun to use the html5/css3 to get used to them, my question is: I’m trying to use the opacity:0.5 to get a translucency background for the main content, but when I put a white text in it, the color of the text changes, why is this happening and how can I fix it (if possible).

    thanks

    #93907
    Andy Howells
    Participant

    Is the text becoming transparent as well? Is that what you mean by colour change?

    #93983

    that’s what I meant andy, and Senff thnks so much, worked perfectly.

    #93991
    bluce
    Member

    As well remember not all web browsers that people use are html5/css3 compatible. So certain people wont be able to see the tricks you’ve put into the website.

    Bryan Luce
    Houston Web Design and Development – W3trends, Inc.

    #93993
    tmette
    Member

    You can also repeat a 1×1 pixel transparent PNG as a background image. Just another thought. Granted it’s not CSS3 though.

    #95241

    thanks for the advice bluce, i’m just playing around with it ^^
    tmette, I already knew the 1×1 pixel to do it, but thnks anyway o

    #95242

    one more question, is it possible to put multiple backgrounds mixing
    background: #1c1c1c -webkit-radial-gradient(circle, #434343, #1c1c1c) no-repeat;
    with
    background-image: url(/imagem/bg.jpg) top center no-repeat; ?

    #95250

    you mean do something like this?

    background: #1c1c1c -webkit-radial-gradient(circle, #434343, #1c1c1c) no-repeat,
    url(/imagem/bg.jpg) top center no-repeat;

Viewing 8 posts - 1 through 8 (of 8 total)
  • The forum ‘CSS’ is closed to new topics and replies.