Rounded, Shaded Table

I'm trying to determine how to add a transparent, rounded border to an existing table.  Similar to how this demo site has theirs...

http://samples.cpasitesolutions.com/sample435/?style=435

Any ideas??
tru504187211Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

varontronCommented:
Hi,  

It's done with css background rules.  Look at the source code of the example site.  There is a header div nested in a footer div, and each div has a css background image associated to it.

       <div class="splash-box-footer">
            	<div class="splash-box-header">
                	<div class="content-box-1">
                    	<h3>
                        	Tax Center
                        </h3>
                        • <a href="taxrefunds.php">Track Your Refund</a>
                        <br>
                        • <a href="taxduedates.php">Tax Due Dates</a>
                        <br>
                        • <a href="taxrates2.php">Tax Rates</a>
                        <br>
                        • <a href="taxpublications.php">IRS Tax Forms</a>
                        <br>
                    </div>
                	<div class="content-box-2">
                    	<h3>
                        	Resources
                        </h3>
                    	• <a href="calc-section.php">Financial Calculators</a>
                    	<br>
                    	• <a href="clientportal.php">Client Portal</a>
                    	<br>
                    	• <a href="books.php">Recommended Books</a>
                    	<br>
                    	• <a href="links.php">Internet Links</a>
                    	<br>
                    </div>
                	<div class="content-box-2">
                    	<h3>
                        	Guides
                        </h3>
						• <a href="life-events.php">Life Events</a>
                    	<br>
                    	• <a href="business-strategies.php">Business Strategies</a>
                    	<br>
                    	• <a href="quickbookstips.php">QuickBooks Tips</a>
                    	<br>
                    	• <a href="frequently-asked-questions.php">Frequently Asked Questions</a>
                    <br>   
                    </div>
                    <br class="clearfloat">
                </div>
            </div>

Open in new window


The css:
.splash-box-footer {
    background:url(/images/galleries/style/435/splash_box_footer.png) bottom no-repeat;
    min-height:140px;
}
.splash-box-header {
    background:url(/images/galleries/style/435/splash_box_header.png) top no-repeat;
    min-height:140px;
}

Open in new window


Typically, folks create a rounded corner png for each corner (TLBR), and then reuse them.  

Check out the source code on other pages you see with effects like these.

Dave
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.

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.