Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6988941
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T19:08:52+00:00 2026-05-27T19:08:52+00:00

I am trying to use css to have a background image with opaque attributes

  • 0

I am trying to use css to have a background image with opaque attributes while still having the text to show on top of the image come through normally (no opaque attributes).
I’ve tried placing a right after the div id =”page” section but then it just pushes the text down below the image. Any suggestions on how to fix this in a way that works for most browsers?

<div id="page" style=" height: 200px; background-image:url('background.jpg'); filter:alpha(opacity=30); -moz-opacity:0.3; -khtml-opacity: 0.3; opacity: 0.3; ">

<div class="home primary_page" id="layout">

<div id="page_content" style>
<div class="lead_copy">
<label for="line1" style=" color: #00A4E4; line-height: 40px; font-size: 33px; margin-left: 30px; font-family: font-family: rooney-web-1; ">Buy the stuff you want from the stores you know, cheaper.</label><br>
<label for="line2" style=" color: #00A4E4; line-height: 60px; font-size: 23px; margin-left: 80px; font-family: font-family: Verdana; ">We source  deals for you so you don't have to deal with it.</label><br>
<label for="line3" style=" color: #00A4E4; line-height: 40px; font-size: 28px; margin-left: 25px; font-family: font-family: Verdana; ">Don't see the product you want?  Let us know and we'll get it.</label><br><br>


<FORM METHOD="LINK" ACTION="/catalog.php">
<INPUT TYPE="submit" VALUE="Get Started">
</FORM>

</div>
</div>
</div>
</div>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T19:08:53+00:00Added an answer on May 27, 2026 at 7:08 pm

    Opaque means 100% opacity and you can’t see through it. Seems like actually want a transparent image, not an opaque one.

    Easiest solution is to save your image as a png and set it to 30% opacity. You’re already using an image. CSS opacity is really handy for elements which are live. Images can simply be adjusted by altering the actual image – especially background images.

    If you REALLY want to use an opaque image with text on top of it. You’ll need to position the divs absolutely so you can stack them via z-index.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to use CSS and HTML to insert an image into a
I'm trying to implement a design in CSS that will have a tiled background
I'm trying to use CSS ( under @media print ) and JavaScript to print
I'm trying to use the CSS word-wrap property with break-word value. I want to
I'm trying to use jquery and blueprint css to do a (so i thought)
I am trying to use jQuery to basically wrap a bunch of CSS modifications
I am trying to learn and use html5 and have a basic layout but
I'm having a minor css issue. I have a series of layered divs and
I have two questions about this: I am trying to assign an image to
I'm trying to get my page to have a background on my links when

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.