Quick CSS issue

Discussion in 'CSS' started by Blindkilla, May 26, 2009.

  1. #1
    Well if you look at the bottom of my page here: http://ihidenow.com. That blue box is supposed to be at the very bottom of the page, aligned with the bottom with no space underneath. No matter how much i change the margins, either adding to the top margin of the div or adding a negative to the bottom, there is always that little space at the bottom.


    Any help is appreciated.
     
    Blindkilla, May 26, 2009 IP
  2. Big0ne

    Big0ne Well-Known Member

    Messages:
    2,614
    Likes Received:
    81
    Best Answers:
    0
    Trophy Points:
    165
    #2
    This should work.

    *
    {
    	margin: 0;
    }
    body
    {
    	height: 100%;
    	background: #1b1b1b;
    	font-family: Verdana, Tahoma, Sans-Serif;
    	color: white;
    	font-size: 11px;
    	font-weight: normal;
    	padding-top: 100px;
    	padding-bottom: 100px;
    	text-align: center;
    }
    #header
    {
    	width: 361px;
    	margin: 0 auto;
    	text-align: center;
    }
    #url
    {
    	width: 361px;
    	margin: 0 auto;
    	margin-bottom: 10px;
    	margin-top: 10px;
    }
    #url ul
    {
    	list-style: none;
    	font-size: 1em;
    	text-align: center;
    }
    #url ul li
    {
    	display: inline;
    	margin: 3px;
    }
    #wrapper0
    {
    	width: 361px;
    	background: url('images/url_top.jpg') no-repeat;
    	height: 37px;
    	margin-top: 6px;
    }
    #url_top
    {
    	width: 100%;
    	height: 41px;
    	padding-left: 5px;
    	padding-right: 5px;
    	text-align: left;
    }
    #address_box
    {
    	width: 259px;
    	height: 20px;
    	background: url('images/url.jpg') no-repeat;
    	border: 0;
    	padding-top: 4px;
    	padding-left: 5px;
    	color: #cbc6c3;
    	font-family: Verdana, Sans-Serif;
    	font-size: 1.1em;
    }
    #go
    {
    	width: 76px;
    	height: 37px;
    	background: url('images/go.jpg') no-repeat;
    	border: 0;
    	cursor: pointer;
    	margin-left: 10px;
    }
    #wrapper1
    {
    	width: 361px;
    	background: url('images/url_bg.jpg') repeat-y;
    }
    #url_middle
    {
    	width: 100%;
    	padding-top: 5px;
    	padding-left: 5px;
    	padding-right: 5px;
    	color: #261606;
    	text-align: center;
    }
    #url_bottom
    {
    	width: 361px;
    	height: 13px;
    	background: url('images/url_bottom.jpg') no-repeat;
    }
    #wrapper2
    {
    	width: 397px;
    	background: #2d2d2d;
    	margin: 0 auto;
    }
    #content
    {
    	padding: 15px;
    	margin: 0 auto;
    	text-align: left;
    }
    #footer
    {
    	width: 397px;
    	height: 86px;
    	margin: 0 auto;
    	text-align: center;
    	color: black;
    	text-decoration: underline;
    	padding-top: 7px;
    }
    .clear
    {
    	clear: both;
    }
    h1
    {
    	font-size: 2.5em;
    	line-height: 1.5em;
    	margin: 0 0 0.5em 0;
    	padding: 0;
    	font-weight: normal;
    }
    h2
    {
    	line-height: 1.5em;
    	margin: 0 0 0.5em 0;
    	font-weight: bold;
    	width: 287px;
    	height: 21px;
    	font-size: 2.0em;
    	color: black;
    }
    h3
    {
    	font-size: 1.2em;
    	line-height: 1.3em;
    	margin: 0 0 0.5em 0;
    	padding: 0;
    	color: #feb808;
    	text-decoration: underline;
    }
    h4
    {
    	font-size: 1.1em;
    	line-height: 1.3em;
    	margin: 0 0 0.25em 0;
    	padding: 0;
    }
    h5
    {
    	font-size: 1.1em;
    	line-height: 1.3em;
    	margin: 0 0 0.25em 0;
    	padding: 0;
    }
    h6
    {
    	font-size: 1em;
    	line-height: 1.3em;
    	margin: 0 0 0.25em 0;
    	padding: 0;
    }
    ul
    {
    	line-height: 1.4em;
    	margin: 0 0 1.5em 0;
    	padding: 0;
    }
    ul li
    {
    	margin: 0 0 0.25em 30px;
    	padding: 0;
    }
    ol
    {
    	font-size: 1.0em;
    	line-height: 1.4em;
    	margin: 0 0 1.5em 0;
    	padding: 0;
    }
    ol li
    {
    	font-size: 1.0em;
    	margin: 0 0 0.25em 30px;
    	padding: 0;
    }
    dl
    {
    	margin: 0 0 1.5em 0;
    	padding: 0;
    	line-height: 1.4em;
    }
    dl dt
    {
    	font-weight: bold;
    	margin: 0.25em 0 0.25em 0;
    	padding: 0;
    }
    dl dd
    {
    	margin: 0 0 0 30px;
    	padding: 0;
    }
    p
    {
    	font-size: 1em;
    	margin: 0 0 1.5em 0;
    	padding: 0;
    	line-height: 1.4em;
    }
    blockquote
    {
    	border-left: 10px solid #ddd;
    	margin-left: 10px;
    }
    pre
    {
    	font-family: monospace;
    	font-size: 1.0em;
    }
    strong, b
    {
    	font-weight: bold;
    }
    em, i
    {
    	font-style: italic;
    }
    code
    {
    	font-family: "Courier New", Courier, monospace;
    	font-size: 1em;
    	white-space: pre;
    }
    a
    {
    	color: #feb808;
    }
    a:hover
    {
    	color: #feb808;
    	text-decoration: none;
    }
    a img
    {
    	border: 0;
    }
    #content a
    {
    	color: #cbc6c3;
    }
    #url ul li a
    {
    	color: #cbc6c3;
    }
    #network
    {
    	background-image: url('images/bgrepeat.png');
    	background-repeat: repeat-x;
    	height: 86px;
    	font: 12px/1.3 Verdana, Tahoma, Helvetica, Sans-serif;
    	margin-bottom: -100px;
    	margin-top: 50px;
    	margin-left: -8px;
    	margin-right: -8px;
    	height: auto !important;
    	height: 100%;
    	margin: 0 auto -86px;
    }
    #network ul
    {
    	line-height: 1.4em;
    	margin: 0 0 0.1em 0;
    	padding: 0;
    }
    #netimage
    {
    	margin-top: -15px;
    }
    #network table
    {
    	text-align: left;
    	margin-left: 150px;
    	height: 86px;
    }
    #network a, a:active
    {
    	font: 12px/1.3 Verdana, Tahoma, Helvetica, Sans-serif;
    	color: #FFF;
    	text-decoration: none;
    }
    #network a:hover
    {
    	color: #CCC;
    	text-decoration: none;
    }
    #network table ul
    {
    	float: left;
    	list-style: none;
    }
    #network table ul li
    {
    	padding-top: -15px;
    }
    PHP:
     
    Big0ne, May 26, 2009 IP
  3. Blindkilla

    Blindkilla Active Member

    Messages:
    103
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    80
    #3
    Thank you so much big, that did indeed fix it :)

    I can't thank you enough
     
    Blindkilla, May 26, 2009 IP
  4. MakemeSmile

    MakemeSmile Member

    Messages:
    110
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #4
    this was helpful to me as well thanks
     
    MakemeSmile, May 27, 2009 IP
  5. Big0ne

    Big0ne Well-Known Member

    Messages:
    2,614
    Likes Received:
    81
    Best Answers:
    0
    Trophy Points:
    165
    #5
    You are welcome guys.
     
    Big0ne, May 27, 2009 IP