Forum Moderators: not2easy
Padding is INTERIOR to the div
width: 955px; ... padding: .5em;
Am i right, even if only a base level. that i can lift the <style> code of this page and add it to a new stylesheet.css page link this and the "home.html" together and i have created an external sheet that i can use for all the following pages i want to create?
ul.dropmenu li {display: inline-block;}
ul.dropmenu ul {display: none;}
ul.dropmenu li:hover ul {display: block;}
<ul class = "dropmenu">
<li>Good Stuff
<ul>
<li>Hidden 1</li>
<li>Hidden 2</li>
<li>Hidden 3</li>
</ul>
</li>
<li>Better Stuff
<ul>
<li>Hidden 1</li>
<li>Hidden 2</li>
<li>Hidden 3</li>
</ul>
</li>
</ul>
ul.dropmenu li:hover ul
i just wanted you to feel good even if it was only for a second or two
<link type="text/css" rel="stylesheet" href="stylesheetA.css"> No tags or charset for the css.
When a style sheet resides in a separate file, user agents must observe the following priorities when determining a style sheet's character encoding (from highest priority to lowest):
1. An HTTP "charset" parameter in a "Content-Type" field (or similar parameters in other protocols)
2. BOM and/or @charset (see below)
3. <link charset=""> or other metadata from the linking mechanism (if any)
4. charset of referring style sheet or document (if any)
5. Assume UTF-8