?
Solved

HTML5/CSS - how to create a page with content that has rounded corners

Posted on 2015-02-14
2
Medium Priority
?
107 Views
Last Modified: 2015-02-14
Hi..
I have a simple web page with a background image.  The content is 2 tables with images and text.  How can I make the content 'the page' (the 2 tables) appear with rounded corners.   See the attached file.
Should be simple to do ?

myPage.png
0
Comment
Question by:JElster
2 Comments
 
LVL 15

Accepted Solution

by:
Edwin Hoffer earned 2000 total points
ID: 40609833
Hello JElster,

I made a demo for you, please check

<html>
<head>
<style>
body {background-color:yellow;width:1200px;margin:auto;}
.content {border: 5px solid #000;margin-top:50px;border-radius: 15px;background-color:#fff;overflow:hidden;}
.heading {font-size:36;text-align:center;border-bottom: 5px solid #000;}
.text {font-size:36;text-align:center;border-bottom: 5px solid #000;}
.text1 {font-size:36;text-align:center;background-color:#fff;}
</style>
</head>
<body>
<div class="content">
<div class="heading">heading</div>
<div class="text">Text Image Here</div>
<div class="text1">My Page<br /><br />
2nd table with image</div>
</div>
</body>
</html>

Open in new window


Thanks
Edwin
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 40609955
If you want to LEARN how to do advanced effects instead of relying on others to write code for you; you might find you can learn a lot of magic in a short time by going to the MDN Tutorials and investing a small amount of time.

CSS is very easy to learn, but is among the most powerful tools in web development.


Cd&
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
Suggested Courses

807 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