Your syntax structure is wrong,
<p>
tags are by default BLOCK level elements and should not contain other block level elements, such as <h2>
.
replace your <p>
with <div>
which is the general purpose BLOCK level container element you want to use in the HTML syntax.
<div id="rcorners">
<h2>Education</h2>
<ul>
<li><strong>New York University</strong></li>
<li> Bachelor of Science in Journalism, Minor in English, expected graduation 2018</li>
<li>GPA: 3.76</li>
</ul>
</div>
#rcorners {
border-radius: 25px;
border: 2px solid #000;
padding-left: 300px;
padding-right: 300px;
width: 200px;
height: 150px;
}
What browsers are most likely to do with your code is to add a element closing tag before the next non-child level element is encountered. Such as:
<p id="rcorners">
</p>
<h2>Education</h2>
<ul>
...
</ul>
</p> <!-- This tag is now surplus to requirements -->
Web browsers are used to dealing with lots of changing code due to (among various other reasons) issues such as the utter amateurishness of many (and especially early) website developers as well as the [formerly] often changing settings for HTML versions and other factors, so even if your site looks like it's working OK on your web browser this is no guarantee that the page HTML is actually coded correctly; it can just be coded well enough for the browser to make a best guess for what you're trying to achieve.
To help resolve these epic HTML inconsistencies it is highly advised to run pages through the W3C Markup Validator which will give you constructive feedback on your web page layout and structure.
See http://www.w3schools.com/html/html_blocks.asp
https://developer.mozilla.org/en/docs/Web/HTML/Block-level_elements
http://www.impressivewebs.com/difference-block-inline-css/
https://stackoverflow.com/a/8696078/3536236 <== This one is useful.
` element like that, only use `
` when it actually is a paragraph. When developing more complex things that could cause you troubles. You can wrap your content inside a `