Improve company productivity with a Business Account.Sign Up

x
?
Solved

Nesting Tables and Divs

Posted on 2013-05-24
3
Medium Priority
?
191 Views
Last Modified: 2013-05-25
I have a Div, Table, Div and a Table.  I think this is not the way to do this, (Just a feeling).  Also the select box and the Search Button are becoming transparent when they should not be.  nly the red rectangle should be transparent. All code can be seen.

http://www.menuhead.com/Untitled-2.php
0
Comment
Question by:DS928
  • 2
3 Comments
 
LVL 62

Accepted Solution

by:
Julian Hansen earned 2000 total points
ID: 39194920
This is the same problem as your other question. To solve this consider the following approach.

Instead of doing an opacity setting rather create a 1x1px PNG with the colour you want and the opacity you want then do

.class {
  background: url(transparent.png) repeat;
}

This should achieve the effect you want.
0
 

Author Closing Comment

by:DS928
ID: 39195008
Good solution!  Thank you.
0
 
LVL 62

Expert Comment

by:Julian Hansen
ID: 39196200
You are welcome - thanks for the points.
0

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

606 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question