Issues with CSS(Small but can't figure it out) - css

My code is the following:
wrapper, wrapper2, content, footer, nav {
display: block;
}
html {
width: 100%;
height:100%;
margin:0;
padding:0;
background-image:url('../images/gdmm.jpg');
font-family: 'TitilliumWeb-ExtraLight';
font-weight:900;
}
body{
margin:0;
}
#font-face {
font-family: 'TitilliumWeb-SemiBold';
src: url('../TTfont/TitilliumWeb-SemiBold.eot');
src: local("Grandesign Regular"), url("../TTfont/TitilliumWeb-SemiBold.ttf") format("truetype"); /* non-IE */
font-family: 'TitilliumWeb-ExtraLight';
src: url('../TTfont/TitilliumWeb-ExtraLight.eot');
src: local("Grandesign Regular"), url("../TTfont/TitilliumWeb-ExtraLight.ttf") format("truetype"); /* non-IE */
}
h1 {
font-weight: bold;
font-size: 32px;
margin-left:auto;
border-bottom: 1px dashed rgb(221, 221, 221);
font-weight: 300;
line-height: 1.4;
padding: 2px 25px;
font-family: 'TitilliumWeb-SemiBold';
}
h1, h2, h3, h4, h5, h6 {
font-family: "Titillium Web","Source Sans Pro",Helvetica,Arial,serif;
}
#pagewrap{
width: 100%;
margin: 0 auto;
}
#content{
width:1024px;
height:768px;
border-width:5px;
margin-top:100px;
margin-left:auto;
margin-right:auto;
word-wrap:break-word;
background: rgba(252, 252, 255, 0.8);
overflow:hidden;
box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.5);
word-wrap:break-word;
}
#contentinner{
width:980px;
height: 600px;
background-color: rgb(252, 252, 255);
margin-top:30px;
margin-left:auto;
margin-right:auto;
box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.2);
word-wrap:break-word;
}
#text{
font-size: 1.2rem;
font-weight: 300;
line-height: 1.6;
padding: 5px 10px;
word-wrap:break-word;
}
#navwrapper{
width: 100%;
height:50px;
background-color:#005b96;
padding:0;
text-align: center;
float:none;
margin:0;
text-decoration: none;
}
#navonderwrap{
width: 100%;
height:30px;
background-color:#FFFFFF;
padding:0;
text-align: center;
float:none;
margin:auto;
}
nav{
display: inline-block;
overflow: hidden;
word-spacing: 1em;
text-align: center;
margin:auto;
}
#navonder{
display: inline-block;
overflow: hidden;
word-spacing: 1em;
text-align: center;
margin:auto;
}
nav ul{
margin-right:20px;
padding:0;
width:auto;
}
nav ul li{
display:table-cell;
margin-right:20px;
}
nav li
{
display:inline;
}
nav li a
{
font-family:Arial;
font-size:14px;
float:left;
padding:0px;
border-bottom:1px;
text-decoration: none;
}
nav li a:hover {
display: block;
float: left;
background-color:#FFF;
padding-bottom:10px;
}
My issue is that when you hover on the menu it pushes the entire thing down all I want is it to look as if it has the same color as the one below, I can't figure out why.
Thanks in advance!

this comes from the padding-bottom:10px you apply.
In addition to that you say display the link as a block and you make it float... so you can remove the display:block; it is useless in that case.

In it's default state the <a> has no padding, but in it's hover state it has padding-bottom: 10px;.
In order to make it look like it joins the white bar below, you'll need to add:
nav ul {
margin-bottom: 0; /* to reset the default */
}
nav li a {
font-family: Arial;
font-size: 14px;
float: left;
/* padding: 0px; REMOVE */
padding-bottom: 10px; /* ADD */
border-bottom: 1px;
text-decoration: none;
}
nav li a:hover {
/*display: block; REMOVE (unnecessary) */
/* float: left; REMOVE (because it's already set on default state) */
background-color: #FFF;
/* padding-bottom: 10px; REMOVE (because it's already set on default state */
}

nav li a {
padding: 10px; //Add
}
nav li a:hover {
background-color: #FFFFFF;
display: block;
float: left;
padding-bottom: 10px; /// Remove this
}
Remove padding bottom

Related

CSS Drop Down list not working in chrome

i use this css code in IE7 and it works great without any problems.
Now in IE11 and chrome the drop down doesn't work i see the main menu and all sub menus together.
need an assistance in that to understand what can be done to fix it.
Thanks.
<div id='cssmenu'>
<ul>
<li class='active'><a href='url'><span>text</span></a></li>
<li class='has-sub'><a href='#'><span>text</span></a></li>
<ul>
<li><a href='url'><span>text</span></a></li>
<li><a href='url'><span>text</span></a></li>
</ul>
body {
background: #4096EE url(images2/img1.jpg) repeat-x;
text-align: justify;
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: small;
color: #333333;
}
h1 {
}
h2, h3 {
margin-top: 0px;
}
h4, h5, h6 {
}
p, ol, ul, dl, blockquote {
}
a {
color: #1B4978;
}
a:hover {
text-decoration: none;
}
/* Header */
#header {
width: 600px;
height: 60px;
margin: 0px auto;
}
#header h1 {
float: left;
margin: 0px;
padding-top: 20px;
font-size: 42px;
letter-spacing: -2px;
}
#header h2 {
float: right;
margin: 10px 0px 0px 0px;
padding-top: 28px;
font-size: 16px;
letter-spacing: -1px;
color: #FFFFFF;
}
#header a {
text-decoration: none;
color: #FFFFFF;
}
/* Menu */
#menu {
width: 600px;
height: 30px;
margin: 0px auto;
}
#menu ul {
margin: 0px;
padding: 0px;
list-style: none;
}
#menu li {
display: inline;
}
#menu a {
display: block;
float: left;
width: 120px;
padding: 5px 0px;
text-align: center;
text-decoration: none;
font-weight: bold;
background: #EEEEEE;
}
#menu a:hover {
background: #CCCCCC;
}
/* Content */
#content {
background: #FFFFFF;
width: 600px;
margin: 0px auto;
padding: 2px 0px 0px 0px;
}
#colOne {
float: right;
width: 360px;
margin-top: 20px;
padding-right: 20px;
}
#colTwo {
float: left;
width: 180px;
margin-top: 20px;
padding-right: 20px;
padding-left: 20px;
}
#colTwo ul {
margin-left: 0px;
padding-left: 0px;
list-style-position: inside;
}
#content h1 {
background-color: #B2D4F7;
padding: 5px 0px 5px 5px;
color: #173E68;
}
#content h2 {
background-color: #B2D4F7;
padding: 5px 0px 5px 5px;
text-transform: uppercase;
font-size: 16px;
color: #173E68;
}
#content h3 {
color: #2F73B8;
}
/* Footer */
#footer {
width: 600px;
margin: 0px auto;
padding: 3px 0px 0px 0px;
height: 50px;
background: #EEEEEE;
}
#footer p {
margin: 0px;
padding-top: 15px;
text-align: center;
font-size: 11px;
color: #999999;
}
#footer a {
color: #666666;
}
#footer a:hover {
color: #333333;
}
#cssmenu{
border:none;
border:0px;
margin:0px auto;
padding:0px;
font: 67.5% 'Lucida Sans Unicode', 'Bitstream Vera Sans', 'Trebuchet Unicode MS', 'Lucida Grande', Verdana, Helvetica, sans-serif;
width:600px;
font-size:14px;
font-weight:bold;
}
#cssmenu ul{
background:#333333;
height:35px;
list-style:none;
margin:0;
padding:0;
}
#cssmenu li{
float:left;
padding:0px;
}
#cssmenu li a{
background:#333333 url('seperator.gif') bottom right no-repeat;
color:#cccccc;
display:block;
font-weight:normal;
line-height:35px;
margin:0px;
padding:0px 25px;
text-align:center;
text-decoration:none;
}
#cssmenu li a:hover, #cssmenu ul li:hover a{
background: #2580a2 url('hover.gif') bottom center no-repeat;
color:#FFFFFF;
text-decoration:none;
}
#cssmenu li ul{
background:#333333;
display:none;
height:auto;
padding:0px;
margin:0px;
border:0px;
position:absolute;
width:225px;
z-index:200;
/*top:1em;
/*left:0;*/
}
#cssmenu li:hover ul{
display:block;
}
#cssmenu li li {
background:url('sub_sep.gif') bottom left no-repeat;
display:block;
float:none;
margin:0px;
padding:0px;
width:225px;
}
#cssmenu li:hover li a{
background:none;
}
#cssmenu li ul a{
display:block;
height:35px;
font-size:12px;
font-style:normal;
margin:0px;
padding:0px 10px 0px 15px;
text-align:left;
}
#cssmenu li ul a:hover, #cssmenu li ul li:hover a{
background:#2580a2 url('hover_sub.gif') center left no-repeat;
border:0px;
color:#ffffff;
text-decoration:none;
}
#cssmenu p{
clear:left;
}
I'm surprised that HTML works as expected anywhere, but then IE7 is a large pile of bugs.
You have a <ul> as a child of another <ul>, which isn't valid HTML. <ul> can only contain <li> elements. That sub-menu list should be the child of the <li> above it:
<li class='has-sub'><a href='#'><span>text</span></a>
<ul>
<li><a href='url'><span>text</span></a></li>
<li><a href='url'><span>text</span></a></li>
</ul>
</li>
body {
background: #4096EE url(images2/img1.jpg) repeat-x;
text-align: justify;
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: small;
color: #333333;
}
h1 {
}
h2, h3 {
margin-top: 0px;
}
h4, h5, h6 {
}
p, ol, ul, dl, blockquote {
}
a {
color: #1B4978;
}
a:hover {
text-decoration: none;
}
/* Header */
#header {
width: 600px;
height: 60px;
margin: 0px auto;
}
#header h1 {
float: left;
margin: 0px;
padding-top: 20px;
font-size: 42px;
letter-spacing: -2px;
}
#header h2 {
float: right;
margin: 10px 0px 0px 0px;
padding-top: 28px;
font-size: 16px;
letter-spacing: -1px;
color: #FFFFFF;
}
#header a {
text-decoration: none;
color: #FFFFFF;
}
/* Menu */
#menu {
width: 600px;
height: 30px;
margin: 0px auto;
}
#menu ul {
margin: 0px;
padding: 0px;
list-style: none;
}
#menu li {
display: inline;
}
#menu a {
display: block;
float: left;
width: 120px;
padding: 5px 0px;
text-align: center;
text-decoration: none;
font-weight: bold;
background: #EEEEEE;
}
#menu a:hover {
background: #CCCCCC;
}
/* Content */
#content {
background: #FFFFFF;
width: 600px;
margin: 0px auto;
padding: 2px 0px 0px 0px;
}
#colOne {
float: right;
width: 360px;
margin-top: 20px;
padding-right: 20px;
}
#colTwo {
float: left;
width: 180px;
margin-top: 20px;
padding-right: 20px;
padding-left: 20px;
}
#colTwo ul {
margin-left: 0px;
padding-left: 0px;
list-style-position: inside;
}
#content h1 {
background-color: #B2D4F7;
padding: 5px 0px 5px 5px;
color: #173E68;
}
#content h2 {
background-color: #B2D4F7;
padding: 5px 0px 5px 5px;
text-transform: uppercase;
font-size: 16px;
color: #173E68;
}
#content h3 {
color: #2F73B8;
}
/* Footer */
#footer {
width: 600px;
margin: 0px auto;
padding: 3px 0px 0px 0px;
height: 50px;
background: #EEEEEE;
}
#footer p {
margin: 0px;
padding-top: 15px;
text-align: center;
font-size: 11px;
color: #999999;
}
#footer a {
color: #666666;
}
#footer a:hover {
color: #333333;
}
#cssmenu{
border:none;
border:0px;
margin:0px auto;
padding:0px;
font: 67.5% 'Lucida Sans Unicode', 'Bitstream Vera Sans', 'Trebuchet Unicode MS', 'Lucida Grande', Verdana, Helvetica, sans-serif;
width:600px;
font-size:14px;
font-weight:bold;
}
#cssmenu ul{
background:#333333;
height:35px;
list-style:none;
margin:0;
padding:0;
}
#cssmenu li{
float:left;
padding:0px;
}
#cssmenu li a{
background:#333333 url('seperator.gif') bottom right no-repeat;
color:#cccccc;
display:block;
font-weight:normal;
line-height:35px;
margin:0px;
padding:0px 25px;
text-align:center;
text-decoration:none;
}
#cssmenu li a:hover, #cssmenu ul li:hover a{
background: #2580a2 url('hover.gif') bottom center no-repeat;
color:#FFFFFF;
text-decoration:none;
}
#cssmenu li ul{
background:#333333;
display:none;
height:auto;
padding:0px;
margin:0px;
border:0px;
position:absolute;
width:225px;
z-index:200;
/*top:1em;
/*left:0;*/
}
#cssmenu li:hover ul{
display:block;
}
#cssmenu li li {
background:url('sub_sep.gif') bottom left no-repeat;
display:block;
float:none;
margin:0px;
padding:0px;
width:225px;
}
#cssmenu li:hover li a{
background:none;
}
#cssmenu li ul a{
display:block;
height:35px;
font-size:12px;
font-style:normal;
margin:0px;
padding:0px 10px 0px 15px;
text-align:left;
}
#cssmenu li ul a:hover, #cssmenu li ul li:hover a{
background:#2580a2 url('hover_sub.gif') center left no-repeat;
border:0px;
color:#ffffff;
text-decoration:none;
}
#cssmenu p{
clear:left;
}
<div id='cssmenu'>
<ul>
<li class='active'><a href='url'><span>text</span></a></li>
<li class='has-sub'><a href='#'><span>text</span></a>
<ul>
<li><a href='url'><span>text</span></a></li>
<li><a href='url'><span>text</span></a></li>
</ul>
</li>
</ul>
</div>

Double unorder list center issue.

I have a question from my last post.
How to center the floating element?
and I found out my problem is from the <header> tag before my #menu tag.
If I remove everything in the header tag, it seems I can center my item1 to item3 links.
However, if I add them back, my items menu will be a bit left instead of the center.
Here is my jsfiddle.
//I want to center item 1 to item 3 links in my page...
http://jsfiddle.net/yZ4va/14/
Thanks for the help!
Like this
DEMO
CSS
body{
background-color: green;
width: 500px;
margin: 0 auto;
color: #000305;
}
a{
text-decoration: none;
color:white;
}
/* Headings */
h2 {font-size: 1.8em} /* 22px */
h2 {font-size: 1.5em} /* 22px */
h3 {font-size: 1.5em} /* 20px */
h4 {font-size: 1.286em} /* 18px */
header#link{
text-align:center;
margin:0 auto;
}
header {
margin:.8em;
height:50px;
}
header ul{
margin:0;
padding:0;
text-align:center;
}
header li{
list-style: none;
font:bold .6em arial;
display:inline;
margin: .3em;
padding: 1.3em;
background-color: #A8A8A8;
}
section#menu{
text-align:center;
margin:0 auto;
}
nav ul{
display: inline-block;
background-color: red;
margin:0;
padding:0;
}
nav ul li{
list-style: none;
font:bold .6em arial;
float: left;
margin: .3em;
padding: 1.3em;
background-color: #A8A8A8;
}

CSS content floats on the different size screen.

CSS is giving me bit of headache. I have this format for my page and would like to add contents to the center. I have problem with content moving or floating depending on the screen size, It looks great on my screen, but on someone who has wide screen this looks different. Any suggestion and assistance will be appreciated.
#navcontainer {
width: 150px;
height: 500px;
margin-top:auto;
}
#navcontainer ul {
margin-left: 0;
padding-left: 0;
list-style-type: none;
font-family: Arial, Helvetica, sans-serif;
}
#navcontainer a:link, #navlist a:visited {
color: #2200CC;
text-decoration: none;
display:block;
height:30px;
}
#navcontainer a:hover {
background-color: #369;
color: #fff;
display:block;
height:30px;
}
#navcontainer {
font-family: verdana,tahoma,helvetica;
font-size: 10pt;
background-color: #99CCFF;
border-top-width: 0;
border: solid 3px #d7d7d7;
border-top-color: #99CC66;
margin-left: 10pt;
float:left;
margin-top:-22px;
padding-left:20px;
}
#navcontainer #selected a {
background-color: white;
color:Black;
}
.basictab {
padding: 3px 0;
margin-left: 189px;
font: bold 12px Verdana;
border-bottom: 1px solid gray;
list-style-type: none;
text-align: left; /*set to left, center, or right to align the menu as desired*/
}
.basictab li {
display: inline;
margin: 0;
}
.basictab li a {
text-decoration: none;
padding: 3px 7px;
margin-right: 3px;
border: 1px solid gray;
border-bottom: none;
background-color: #f6ffd5;
color: #2d2b2b;
}
.basictab li a:visited{
color: #2d2b2b;
}
.basictab li a:hover{
background-color: #DBFF6C;
color: black;
}
.basictab li a:active{
color: black;
}
.basictab li.selected a{ /*selected tab effect*/
position: relative;
top: 1px;
padding-top: 4px;
background-color: #DBFF6C;
color: black;
}
body {
margin:0;
padding: 0;
text-align: left;
font-family:"Adobe Garamond Pro Bold", Georgia, "Times New Roman", Times, serif;
font-size: 13px;
color: #061C37;
}
* {
margin: 0 auto 0 auto;
text-align:left;
}
.contentBox {
width:auto;
height:auto;
background-color:#FFFFFF;
margin-top:10px;
float:left;
display:inline;
margin-left:210px;
margin-top:-400px;
}
.contentBox .innerBox {
height:auto;
top:10px;
margin-left:10px;
padding-bottom:35px;
}
#GridView1 {
margin-left:130px;
}
http://jsfiddle.net/TMKev/
Thanks
Use media queries to target different screen sizes.
See http://net.tutsplus.com/tutorials/html-css-techniques/quick-tip-a-crash-course-in-css-media-queries/
Are you talking about a fixed width for your overall page that centers in the screen?
CSS
.wrapper {
border: 1px solid #ccc;
margin: 0 auto;
width: 960px;
}
.sidecol {
background: #ccc;
margin-right: 2%;
width: 18%;
}
.main-content {
background: #efefef;
width: 80%;
}
.sidecol, .main-content {
float: left;
height: 400px;
}
HTML
<div class="wrapper">
<aside class="sidecol">
<h3>My sidebar</h3>
</aside>
<section class="main-content">
<h3>Content</h3>
<p> My content</p>
</section>
</div>
Codepen sketch

CSS drop down menu error

I have made a dropdown CSS menu and honestly can't figure out why it's getting indented...
Here is the screenshot:
If you see it is all aligned to the right no matter how I set the width.. :(
Here is the CSS:
(included all CSS but menu is: #mainMenu)
#charset "UTF-8";
/* CSS Document */
/* Background styling of all forms (should set is here) */
form#payment {
font-family: Arial, Helvetica, sans-serif;
font-size: 13px;
background-color:#f7fca3;
padding: 10px;
}
form {
font-family: Arial, Helvetica, sans-serif;
font-size: 13px;
background-color:#d6f5df;
padding: 10px;
}
/*styling for text inputs and password of homepage */
input[type="text"]#profile, textarea#profile, input[type="password"]#profile {
font-family: Arial, Helvetica, sans-serif;
font-size: 13px;
margin-bottom: 5px;
display: block;
padding: 4px;
border: solid 1px #35b459;
width:365px;
}
input[type="text"], textarea, input[type="password"]#inputArea {
font-family: Arial, Helvetica, sans-serif;
font-size: 13px;
margin-bottom: 5px;
display: block;
padding: 4px;
border: solid 1px #35b459;
width:300px;
}
p {
font-family:Arial, Helvetica, sans-serif;
color:#231f20;
}
h1 {
font-family:Arial, Helvetica, sans-serif;
color:#231f20;
}
h2 {
font-family:Arial, Helvetica, sans-serif;
color:#231f20;
}
h3 {
font-family:Arial, Helvetica, sans-serif;
color:#231f20;
}
/* Split homepage in two */
#span1 {
width: 330px; float: right;
}
#span2 {
width: 390px; float: left;
}
/* Homepage note */
#note {
border-style:dashed;border-color:red;
}
/* Registration button link style */
.regbutton a:hover {
color:#ff;
text-decoration:none;
}
.regbutton a {
color:#ff;
text-decoration:none;
}
.regbutton a:visited{
color:#ff;
text-decoration:none;
}
div#steps {
background-color:#f7fca3;
}
.regbutton
{
position:absolute;
color:#ff;
background:#E76600;
font-family:Arial, Helvetica, sans-serif;
padding:6px;
text-align:center;
left:550px;
bottom:30px;
}
.header{
position:relative;
width:650px;
align:center;
height:200px;
}
.logo{
position:absolute;
align:left;
left:30px;
top:50px
}
.menu{
position:relative;
align:center;
top:150px;
}
.content{
width:800px;
position:relative;
align:center;
}
#holder{
width:100%;
}
.homecontent{
position:relative;
width:700px;
top:20px;
height:500px;
}
a>div { display: none; }
a:hover>div { display: block; }
a span {display: none;}
a:hover span#hovImg {
position: relative;
right: 0px;
bottom: 0px;
display: block;
}
#mainMenu,
#mainMenu ul {
list-style: none;
}
#mainMenu {
float: left;
}
#mainMenu > li {
float: left;
}
#mainMenu li a {
display: block;
height: 2em;
line-height: 2em;
padding: 0 1.5em;
text-decoration: none;
}
#mainMenu ul {
position: absolute;
display: none;
z-index: 999;
}
#mainMenu ul li a {
width: 80px;
}
#mainMenu li:hover ul {
display: block;
}
/* Main menu
--*/
#mainMenu {
font-family: Arial;
font-size: 12px;
background: #2f8be8;
}
#mainMenu > li > a {
color: #fff;
font-weight: bold;
}
#mainMenu > li:hover > a {
background: #f09d28;
color: #000;
}
/* Submenu
--*/
#mainMenu ul {
background: #f09d28;
}
#mainMenu ul li a {
color: #000;
}
#mainMenu ul li:hover a {
background: #ffc97c;
}
ul elements have left padding by default in almost all browsers. Creating a JS Fiddle (http://www.jsfiddle.net) would be very helpful here. But try setting your
#mainMenu ul{
padding: 0;
margin: 0;
}
It is probably because of this, you are using CSS short-hand :
padding: 0 1.5em; /* Top-Bottom(0), Left-Right(1.5em) */
In
#mainMenu li a {
display: block;
height: 2em;
line-height: 2em;
padding: 0 1.5em; <------ Here
text-decoration: none;
}
First of all, what browser are you viewing it in? I also suggest using firebug or some sort of
add-on that helps you view the box method, as you can see if that is what's causing the problem in terms of margin, padding. and border issues. I'd like to see your html file and I can help your problem more efficiently. I also think it is a padding issue, though...
Try:
#mainMenu li a {
display: block;
height: 2em;
line-height: 2em;
padding-right:.2em; /* <-- */
text-decoration: none;
}

CSS position problem for horizontal menu on Safari/Chrome of text

I have searched high and low for an answer to this - there are a few things i've tried such as removing charset UTF 8, adding clear both, ensuring all container widths are set, and so on.
Can any of you spot the problem though in the CSS and HTML below as to why when I converted this custom theme from html into Wordpress it suddenly decided that it would render the menu differently in webkit browsers? It still works fine on Firefox.
Any help would be very much appreciated so i can get some sleep again!
This is for http://silvermoths.com
This is the HTML for the header
<body>
<div id="wrapper">
<div id="header">
<div id="social">
<ul>
<li id="spotify">
<li id="myspace">
<li id="twitter">
<li id="facebook">
</ul>
<form id="email" action='http://madmimi.com/signups/subscribe/29549' method='post'>
<label for='signup_email'>Enter Email:</label>
<input id='signup_email' class="text" name='signup[email]' type='text' /><br />
<input name='commit' class='button' type='submit' value='Signup now to keep informed' />
</form>
</div><!--end of social-->
<div id="banner">
<a href="http://silvermoths.com"><img src="<?php echo(get_bloginfo('template_directory')); ?>/images/logo.png" width="468" height="189" alt="Silvermoths" class="logo" />
<h1>Silvermoths</h1>
</div><!--end of banner-->
<div id="nav">
<ul>
<?php wp_page_menu('show_home=1'); ?>
</ul>
</div><!--end of navigation-->
</div><!--end of header-->
This is the CSS:
/*
Theme Name: Silvermoths
Theme URI: http://silvermoths.com
Description: Custome theme for Silvemroths
Author: Rylan Holey
Version: 1.0
Tags: orange, social buttons, two coloumn
License:
License URI:
General comments (optional).
*/
html,body,div,ul,ol,li,dl,dt,dd,h1,h2,h3,h4,h5,h6,pre,form,p,blockquote,fieldset,input,hr {margin:0; padding:0;}
h1,h2,h3,h4,h5,h6,pre,code,address,caption,cite,code,em,strong,th {font-size:1em; font-weight:normal; font-style:normal;}
ul,ol {list-style:none;}
fieldset,img,hr {border:none;}
caption,th {text-align:left;}
table {border-collapse:collapse; border-spacing:0;}
td {vertical-align:top;}
/* CSS Document */
#font-face {
font-family: 'DejaVuSerifBook';
src: url('DejaVuSerif-webfont.eot');
src: local('☺'), url('DejaVuSerif-webfont.woff') format('woff'), url('DejaVuSerif-webfont.ttf') format('truetype'), url('DejaVuSerif-webfont.svg#webfontO0VgJAHF') format('svg');
font-weight: normal;
font-style: normal;
}
#font-face {
font-family: 'TendernessRegular';
src: url('Tenderness-webfont.eot');
src: url('Tenderness-webfont.eot?iefix') format('eot'),
url('Tenderness-webfont.woff') format('woff'),
url('Tenderness-webfont.ttf') format('truetype'),
url('Tenderness-webfont.svg#webfontaYPTm82W') format('svg');
font-weight: normal;
font-style: normal;
}
body {
margin: 0;
padding: 0;
background:url('images/body_bg.jpg');
background-color:#f05323;
background-repeat:no-repeat;
background-position:center top;
font-family:Georgia, "Times New Roman", Times, serif;
width: 100%;
display: table;
}
.aligncenter, div.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}
.alignleft {
float: left;
}
.alignright {
float: right;
}
.wp-caption {
background-color: #f3f3f3;
border: 1px solid #ddd;
-khtml-border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px; /* optional rounded corners for browsers that support it */
margin: 10px;
padding-top: 4px;
text-align: center;
}
.wp-caption img {
border: 0 none;
margin: 0;
padding: 0;
}
.wp-caption p.wp-caption-text {
font-size: 11px;
line-height: 17px;
margin: 0;
padding: 0 4px 5px;
}
#wrapper {
position:relative;
text-align:left;
width: 960px;
margin-right: auto;
margin-left:auto;
border-bottom: #e87529 solid 10px;
}
#header {
width:960px;
height:350px !important;
}
#banner{
height: 189px;
width: 468px;
}
#banner img{
border-style: none;
}
#banner h1{
float:left;
text-indent: -9999px;
}
#banner .logo {
float:left;
width:468px;
margin-top: 45px;
margin-left: 20px;
}
#description h2{
text-indent: -9999px;
}
#social{
clear:both;
width:320px;
float:right;
margin-right: 10px
}
#social li, #social a {
height:64px;
display:block;
}
#social ul {
list-style:none;
margin:15px 0 0 0;
padding:0;
}
#social li {
display:inline;
float:right;
text-align:left;
margin-left:16px;
height:64px;
width:64px;
display:block;
}
#social a:link, #social a:visited {
text-decoration: none;
border-style: none;
}
#twitter {left:0px;width:64px;}
#twitter {background:url('images/twitter_sprite.png') 0 0;}
#twitter a:hover{background: url('images/twitter_sprite.png') 0 -65px;}
#twitter a:active{background: url('images/twitter_sprite.png') 0 -130px;}
#facebook {left:0px;width:64px;}
#facebook {background:url('images/facebook_sprite.png') 0 0;}
#facebook a:hover{background: url('images/facebook_sprite.png') 0 -65px;}
#facebook a:active{background: url('images/facebook_sprite.png') 0 -130px;}
#spotify {left:0px;width:64px;}
#spotify {background:url('images/spotify_sprite.png') 0 0;}
#spotify a:hover{background: url('images/spotify_sprite.png') 0 -65px;}
#spotify a:active{background: url('images/spotify_sprite.png') 0 -130px;}
#myspace {left:0px;width:64px;}
#myspace {background:url('images/myspace_sprite.png') 0 0;}
#myspace a:hover{background: url('images/myspace_sprite.png') 0 -65px;}
#myspace a:active{background: url('images/myspace_sprite.png') 0 -130px;}
#social img
{ border-style: none;
}
form#email
{
clear:both;
width:300px;
height:102px;
float:right;
display: block;
margin-top: 29px;
margin-bottom: 29px;
text-align: center;
padding:24px 0 0 0;
background-image: url(images/content_bg.png);
font-family:'TendernessRegular', Georgia, "Times New Roman", Times, serif;
font-size:22px;
}
label
{
color:#FFF;
}
#email .button {
margin-top:15px;
width:238px;
height:37px;
font-weight: bold;
font-size: 15px;
font-family:Arial, Sans serif;
color: white;
border: none;
background: url('images/signup_button.png') 0 0;
}
#email .button:hover {
margin-top:15px;
width:238px;
height:37px;
font-weight: bold;
font-size: 15px;
font-family:Arial, Sans serif;
color: white;
border: none;
background: url('images/signup_button.png') 0 -38px;
}
#email .button:active {
margin-top:15px;
width:238px;
height:37px;
font-weight: bold;
font-size: 15px;
font-family:Arial, Sans serif;
color: white;
border: none;
background: url('images/signup_button.png') 0 -77px;
}
#email .text {
height:30px;
}
#nav {
float:left;
clear:both;
font-family:'TendernessRegular', Georgia, "Times New Roman", Times, serif;
color: #e5e8e6;
font-size:30px;
height:70px;
width:960px;
text-align:left;
background-image: url('images/content_bg.png');
z-index:0;
}
#nav ul {
list-style:none;
margin:17px 0 0 0;
padding:0;
}
#nav li {
display:inline;
float:left;
text-align:left;
margin-left:0;
height:70px;
z-index:100;
}
#nav a:link, #nav a:visited {
padding: 15px 0.5em 15.5px 0.5em;
color: #e5e8e6;
text-decoration:none;
}
#nav a:hover {
color:#FFF;
}
#nav a:active {
color:#FFF;
font-weight:bold;
}
#sidebar {
float:right;
width:260px;
margin:15px 10px 15px 10px ;
padding:20px;
background-image: url('images/content_bg.png');
height: 100%;
}
#single img {
border:none;
background:none;
}
#content {
clear:both;
float:left;
width:580px;
margin:15px 10px 15px 10px;
padding:20px;
background-image: url('images/content_bg.png');
}
#content .post-image img {
float:left;
margin:15px 15px 15px 10px;
border-top: 1px solid #555;
padding: 10px;
background: #3c3a3a;
-webkit-box-shadow: 5px 5px 6px #242424;
-moz-box-shadow: 5px 5px 6px #242424;
box-shadow: 5px 5px 6px #242424;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
}
#placeholder {
height:350px;
border: 1px solid #bb3e26;
margin-top:10px;
background: #FFE7CF;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
}
#placeholder .meta {
margin: 150px 10px 0 10px;
text-align:left;
}
#placeholder h3 {
font-family:'TendernessRegular', Georgia, "Times New Roman", Times, serif;
color: #bb3e26;
font-size:18px;
margin-top:0;
margin-bottom:0;
font-style: italic;
}
#text {
clear:both;
}
#footer h1, #sidebar h1, #content h1 {
font-family:'TendernessRegular', Georgia, "Times New Roman", Times, serif;
color:#FFF;
font-size:50px;
margin-top:0.3em;
margin-bottom:0;
font-weight:bold;
}
#sidebar h2, #content h2 {
font-family:'TendernessRegular', Georgia, "Times New Roman", Times, serif;
color:#FFF;
font-size:30px;
margin-top:0;
margin-bottom:0;
font-weight:bold;
}
#sidebar h3, #content h3 {
font-family:'TendernessRegular', Georgia, "Times New Roman", Times, serif;
color:#FFF;
font-size:22px;
margin-top:0;
margin-bottom:0;
font-weight:bold;
}
#sidebar h1+p, #sidebar h2+p, #content h1+p, #content h2+p, #placeholder h3+p {
margin-top:0;
}
#sidebar p, #content p {
font-family:Georgia, "Times New Roman", Times, serif;
color:#FFF;
font-size:14px;
}
#content a:link, #content a:visited {
color: #bb3e26;
text-decoration:none;
}
#content a:hover {
color:#5e1f12;
}
#post {
padding-top:0.5em;
border-bottom:2px solid #5e1f12;
height:125px;
}
#post .thumb {
float:right;
border-style:solid;
border-color:#5e1f12 ;
border-width:2px;
margin:5px 10px 2px 5px;
}
#content a:link, #content a:visited {
color: #1D4896;
text-decoration:none;
}
#content a:hover {
color:#FFF;
background-color:#3c3a3a;
}
#content .post {
border-style: none;
}
#sidebar ul {
list-style:none
}
#searchform input {
margin-left:45px
}
#footer {
clear:both;
width:920px;
height:150px;
background-color:#f05323;
font-family:Georgia, "Times New Roman", Times, serif;
color: #fff;
padding:20px;
}
#footer .copyright {
float:right;
}
Looks as though the problem is being caused by a phantom empty link within the <div class="menu"> just above the <ul>. See attached image.
It's weird because it doesn't seem to be in the source code which leads me to think it's being generated by wordpress?
If you use Chrome's developer plugin you can inspect the element to view where the link is being generated.

Resources