CSS - Just Another <div> Issue
I'm sure this is an easy fix but I've been tweaking it for hours now. My site is toybugle.com, and you'll see I've got an image on the far left that's set as the background image in the body...what's got me stymied is how to replicate that on the right side. I've inserted a div for it, but unless I have text there, the image doesn't show up, and if I do have text there, it pushes the banner down (currently there are two periods there for demo purposes).
I'm sure there's just that one missing thing that I'm forgetting to do--anyone know what it is? Any help would be appreciated! Similar TutorialsWHAT IS THE TYPICAL CSS PROBLEM FOR THIS ISSUE? w w w. jaywayproductions . c o m/portfolio/work_history.html It suppose to look the way it looks in IE. It is a little off in Firefox. I have been try'n several things to solve this particular issue but cannot. It seems as if the bottom and top row stretches and makes the effect I was trying to accomplish look off in FF. You can understand what I'm sayin' when you view both. Does anyone know why it is doing this? Any help would be greatly appreciated! Hello Guys, I am trying to get the the css to work but having a hard time with it and need some help.. Here is the content lined up in fire fox. http://content.screencast.com/users/dank2009/folders/Jing/media/4198ca5c-6c75-4196-a2e7-ba1c423caca7/2011-08-22_1550.png Ad this is what it looks like in IE (See my issue) http://content.screencast.com/users/dank2009/folders/Jing/media/c9f0dcd6-19c9-48f6-83f8-9c55d7417fcc/2011-08-22_1551.png Here is the code Code: echo '<div class="listing"><img src="'.$listing_photo.'"><span class="listlink"><a href="index.php?content=subcats&id='. $listing_id.'">'.$listing_title2.'</a></span><br><span class="listbody">'.$listing_body2.'<span class="readmore"><a href="index.php?content=subcats&id='. $listing_id.'"> Read more</a></span>>>></div>'; Here is the CSS Code: .listing { width:560px; height:auto !important; margin: 0 auto; text-align: left } .listlink { float:left; margin-left: 10px; margin-top: 20px; position: absolute; text-decoration:underline; } .listbody { float: left; margin-left: 110px; margin-top: -30px; width:440px } .listingdiv{ border-bottom: 2px dotted #9EABB5; color:#FFF; } Please advise how to fix this.. Thanks for your help in advance.. Dan Hello I am having difficulties with a site I am working on. First, if you look at it in IE and roll your mouse to the right of the site the whole thing shifts to the left. No idea why it does this. Second: In Firefox it looks like a disaster! Help! http://www.tombraiders.net/katie/shelly/index.html User: letme Pass: in Thank you! Hi everyone, For years I've been using tables solely to position elements on web pages but it's come to my attention that this is now "frowned" upon in the web community so I figured if I'm going to start doing things the more common way (with DIVs) I might as well start now. I'm not a professional website developer (C programmer here...eek! haha), but I do part time web work for some important clients of mine. So I have a very simple layout done with DIVs/CSS to start (code at the bottom). The problem is when you render it you'll see a large gap between the bottom of the layout and bottom of the page. My hypothesis is that this is due to where the "DIVs" would normally have been, except I moved them around. It sounds very similar to the problem encountered he http://forums.devshed.com/css-help-116/how-to-remove-blank-space-at-bottom-554773.html but I don't see what he did to solve it. Note that ultimately what I want is only the "header" and "footer" to have a fixed width/height. The leftcol and content should have fixed widths, but height grow with what ever is in them. And it should be centered in the page the way it is now. I tried various "text-wrap" and "height: 100%" and a few different codes but no luck. I really don't want to have to give up on DIV's but I am finding them a tad frustrating . I've altered the code from here (http://www.devarticles.com/c/a/Web-Style-Sheets/DIV-Based-Layout-with-CSS/3/). I tried "floating" them but that didn't seem to help either or is messes up my centering, plus I don't want it expanding to different resolutions. Thanks in advance if you can give a DIV newbie a heads up. Code: Code: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>TWO-COLUM FIXED LAYOUT WITH FIXED BOXES</title> <style type="text/css"> <!-- #header { background: #0f0; position: relative; z-index: 1; top: 0px; left: 0px; width: 800px; height: 100px; } #leftcol { background: #f00; position: relative; z-index: 2; top: 0px; left: -325px; width: 150px; height: 600px; } #content { background: #ff0; position: relative; z-index: 3; top: -600px; left: 75px; width: 650px; height: 600px; } #footer { background: #0f0; position: relative; z-index: 4; top: -600px; left: 0px; width: 800px; height: 100px; } --> </style> </head> <body style="margin: 0pt;"> <div align="center"> <div id="header">Header Section</div> <div id="leftcol">Left Section <p align="left"> Test </p> </div> <div id="content">Content Section</div> <div id="footer">Footer Section</div> </div> </body> </html> I'm having trouble pinning down an issue with just one part of a page. I can't seem to figure out if the issue is a css issue or an HTML issue. I have a tab that is under a picture that has a floating height and fixed width. Under the picture when the page first loads a div element that is supposed to be a css tab seems to float over it until I reload the page. When the page is reloaded the tab moves back to its static position. This only happens in IE7 by the way. Hey, I'm having issues w/ the right and bottom of this site... URL Here's the coding Code: <style type="text/css"> <!-- .topleft { position: absolute; height: 61px; width: 52px; left: 0px; top: 0px; background-color: #000000; background-image: url(storefront/topleft.jpg); } .topcenter { position: absolute; height: 61px; width: 100%; left: 52px; top: 0px; right: 51px; background-color: #000000; background-image: url(storefront/topcenter.jpg); background-repeat: repeat-x; } .topright { position: absolute; height: 61px; width: 51px; top: 0px; right: 0px; background-color: #000000; background-image: url(storefront/topright.jpg); } .centerleft { position: absolute; height: 100%; width: 52px; left: 0px; top: 0px; bottom: 0px; background-color: #000000; background-image: url(storefront/centerleft.jpg); background-repeat: repeat-y; } .centerright { position: absolute; height: 100%; width: 51px; top: 0px; right: 0px; bottom: 0px; background-color: #000000; background-image: url(storefront/centerright.jpg); background-repeat: repeat-y; } .bottomleft { position: absolute; height: 38px; width: 52px; left: 0px; bottom: 0px; background-color: #000000; background-image: url(storefront/bottomleft.jpg); top: 0px; } .bottomcenter { position: absolute; height: 38px; width: 100%; left: 52px; right: 51px; bottom: 0px; background-color: #000000; background-image: url(storefront/bottomcenter.jpg); background-repeat: repeat-x; top: 0px; } .bottomright { background-color: #000000; background-image: url(storefront/bottomright.jpg); position: absolute; height: 38px; width: 51px; right: 0px; bottom: 0px; top: 0px; } .storefront { position: absolute; height: 100%; width: 100%; left: 125px; top: 160px; right: 0px; bottom: 0px; overflow: visible; } .center { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #000000; background-color: #FFFFFF; position: absolute; height: 100%; width: 100%; left: 52px; top: 0px; right: 51px; bottom: 0px; } body,td,th { color: #FFFFFF; } body { background-color: #000000; } a:link { color: #FF0000; text-decoration: none; } a:visited { text-decoration: none; color: #990000; } a:hover { text-decoration: underline; color: #666666; } a:active { text-decoration: none; color: #990000; } .bottom { position: absolute; height: 38px; width: 100%; left: 0px; right: 0px; bottom: 0px; overflow: visible; } .hori-center { position: absolute; height: 100%; width: 100%; left: 0px; top: 61px; right: 0px; bottom: 38px; } .top { position: absolute; height: 61px; width: 100%; left: 0px; top: 0px; right: 0px; } --> </style> <div class="storefront" id="storefront"> <div class="top" id="top"> <div class="topleft" id="topleft"></div> <div class="topcenter" id="topcenter"></div> <div class="topright" id="topright"></div> </div> <div class="hori-center" id="hori-center"> <div class="centerleft" id="centerleft"></div> <div class="center" id="center">INSERT ALL TEXT HERE ```````!</div> <div class="centerright" id="centerright"></div> </div> <div class="bottom" id="bottom"> <div class="bottomleft" id="bottomleft"></div> <div class="bottomcenter" id="bottomcenter"></div> <div class="bottomright" id="bottomright"></div> </div> </div> Pretty much, it's supposed to be a white box (w/ the cool edges) that expands height and width wise to fit the screen (the top and left margins are set for a header and left side global navigation) This is SOO important that I fix this today and I'd love and adore anyone that could help me MORE than you will ever know. Please let me know if you can help. And if you need more info contact me on AIM my screen name is taxgirlsrh or PM me or something. Please and thank you!! Hey i don't know if this can be fixed by now i have looked everywhere and tried everything. i have a style sheet that does not work in IE6 and i don't know why. Code: body{ margin: 0; padding: 0; line-height: 1.5em; } b{font-size: 110%;} em{color:red;} #maincontainer{ width: 940px; /*width of main container*/ margin: 0 auto; /*Center container on page*/ } #topsection{ background: #EAEAEA; height: 90px /*Height of top section*/ } #topsection h1{ margin: 0; padding-top: 12px; background: url(images/png_logo.gif) no-repeat right bottom; } #contentwrapper{ float: left; width: 100%; } #contentcolumn{ margin: 0 190px 0 188px; /*margins for content column. should be "0 right columnwidth 0 leftcolumn width*/ } #leftcolumn{ float: left; width: 188px; /*width of left column in pixel*/ margin-left: -940px; /*set margin to that of -(maincontainerwidth)*/ background: #C8FC98; } #rightcolumn{ float: left; width: 195px; /*width of right column in pixel*/ margin-left: -195px; /*set margin to -(rightcolumnwidth)*/ background: #336699; } #footer{ clear: left; width: 100%; background: black; color: #FFF; text-align: center; padding: 4px 0; } #footer a{ color: #FFFF80; } .innertube{ margin: 2px; /*margins for inner div inside each column (to provide padding)*/ margin-top: 0; } A.menulink{ display: block; width: 170px; text-align: left; text-decoration: none; font-family: arial; font-size: 11px; color: #000000; border: none; border: solid 1px #ffffff; } A.menulink:hover { border: solid 1px #6100c1; background-color: #f0e1ff; } the html code is Code: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" > <link href = "style.css" rel = "stylesheet" type = "text/css"> <title></title> </head> <body> <div id="maincontainer"> <div id="topsection"><div class="innertube"> <h1>PowerNet Global </h1> </div> </div> <div id="contentwrapper"> <div id="contentcolumn"> <div class="innertube"> Thank you for visiting PowerNet Global, please ignore the mess as we update our site to bring you more up to date information to help you needs a little better. The site may continue to change over the next few months, if you have any suggestions on how to improve our site to bring you better service please feel free to eamil us at <a href="mailto:support@pngusa.net">Support@pngusa.net</a> <script src="http://gmodules.com/ig/ifr?url=http://www.google.com/ig/modules/tabnews.xml&up_ned=us&up_items=7&up_show_image=0&up_font_size=13pt&up_selectedTab=0&up_tabs=&up_last_url=&synd=open&w=315&h=260&title=Google+News&lang=en&country=ALL&border=%23ffffff%7C0px%2C1px+solid+%23004488%7C0px%2C1px+solid+%23005599%7C0px%2C1px+solid+%230077BB %7C0px%2C1px+solid+%230088CC&output=js" type="text/javascript"> </script> </div> </div> </div> <div id="leftcolumn"> <div class="innertube"><strong>Navigation</strong> <table border="0" width="180"> <tr> <td ><h5>Sevice Information</h5> </td> </tr> <tr> <td width="100%" bgcolor="#e6e6e6"><a href="services.html" class="menulink">Overview Of Services</a> </td> </tr> <tr> <td width="100%" bgcolor="#e6e6e6"><a href="http://webmail.pngusa.net/src/login.php" class="menulink">View Mail</a> </td> </tr> </table> </div> </div> <div id="rightcolumn"> <div class="innertube"> <script src="http://gmodules.com/ig/ifr?url=http://blog.outer-court.com/homepage/miniweb.xml&synd=open&w=180&h=330&title=Mini+Web&border=%23ffffff%7C0px%2C1px+solid+%23004488%7C0px%2C1px+solid+%23005599%7C0px%2C1px+solid+%230077BB %7C0px%2C1px+solid+%230088CC&output=js" type="text/javascript"> </script> </div> </div> <div id= "footer"> <a href="http://www.pngusa.net">Go back Home</a> </div> </div> </body> </html> " In IE6 the right column does not show up and i am unable to give a link as it is on internal test server. I have this website he galeriashqiptare.net With Firefox looks everything fine, but with IE the logo is not showing at all. Any idea where may be the problem and how to fix it? Regards. Hi to all I am having some issues with a few of my sites... they all work fine on PC and on IE and FF etc. but last time i viewed one of them on a MAC while i was overseas it had some errors where i use CSS tags for bg tiled images... my portfolio is at http://www.blackdropdesign.com/portfolio.html is it possible for someone who uses a mac to quickly run through these and let me know which ones arent working and why...? is there any way for me to see what my site would be looking like on a mac from my PC? cheers! hey guys!!! as normal , h1 takes a complete line and an automatic <BR> is inserted after an h1 (and other headings). how can that be avoided ???? I am confident this is a css issue http://www.sweetbyholly.com/index2.php The navigation in the site above, in IE7 only, shifts to the left on hover. I can't for the life of me figure out why. Can anyone pinpoint this issue? It seems the second nav item is loosing some margin or padding on the left on hover. I can figure it out. Hi guys, I have a page entity that is meant to be displayed like this: But in IE7 and IE8 on Windows is displaying like this: The page is: http://www.drivinglessonsoxford.com/ Any thoughts smart people? I was fixing up an existing layout by doing a pretty simple task of adding a link and placing it above the containing box without moving the code. I successfully did that with changing the position and whatnot. The only problem is in IE 7 and 8 it thinks the link is inside of a li and copies that li's properties for some reason. Here's the layout, there is a box that is a span with li's with hover classes that contain a few spans and an anchor. Outside of the li's, but still in the span box is another span that contains the link that I was fixing, it's the very last thing in the main span. What happens is when I hover over the last li it also changes the span that has my link in it to the same properties as the li. Code and Image follows. The Issue CSS Code: #invitees {float:left; border:1px;border-style:solid;margin-bottom:10px;position:relative;margin-top:10px;} #invitees li {list-style:none;font-size:12pt;padding:10px;letter-spacing:.2pt;} #invitees li .email {min-width:300px;display:inline-block;} #invitees li .sentts {min-width:300px;display:inline-block;} #invitees li .hasvoted {min-width:100px;display:inline-block;} #invitees li:hover .header {} #invitees li.header{font-weight:bold;background-color:#EBEBEB !important; color:#3E4041 !important;} #invitees li.odd {background-color:white;} #invitees li.even {background-color:#EBEBEB;} #invitees li:hover{background-color:gray; color:#FFFFFF;} #invitees li:hover a{background-color:gray; color:#C9EA5A;} #invitees li a{font-weight:bold;} #invitees #sendall {position:absolute;top:-20px;left:0px;} #invitees #sendall a {font-weight:normal;color:#799712;text-decoration:none;} #invitees #sendall a:hover {background-color: transparent;} HTML Code: <!-- invitees --> <span id="invitees" class="clearfix"> <li class="header"> <span class="email">Invitations Have Been<br/>Sent To</span> <span class="sentts">Sent At</span> <span class="hasvoted">Did They<br/>Vote?</span> </li> <li class="odd" /> <span class="email">swindle.james@ymail.com</span> <span class="sentts">Thu, Jun 24 2010 01:08 PM</span> <span class="hasvoted">no</span> <span id="6815"><a href="javascript:resendInviteEmail(6815);">Send Reminder</a></span> </li> <li class="even" /> <span class="email">wilingua@hotmail.com</span> <span class="sentts">Fri, Jun 25 2010 11:58 AM</span> <span class="hasvoted">no</span> <span id="6913"><a href="javascript:resendInviteEmail(6913);">Send Reminder</a></span> </li> <span id="sendall"><a href="javascript:resendAllInvites([6815, 6913]);">Resend to everyone who hasn't voted.</a> </span> </span> P.S. I know the XHTML is not valid, I didn't create this, I'll work on that after I get this CSS down. Hopefully Google showed me to a site that can help Thanks in advance for any advice Edit: My dumb butt figured out the issue...It's because there was no ul for the li's, issue solved. Feel kinda dumb though :/ lol Hello all On the following page: http://planning.northumberland-national-park.org.uk/ if viewed in Mac IE (I believe version 5.0), the dotted lines below each left-hand menu item extend beyond the width of the menu across the whole of the main frame. The menu is a <ul>. The CSS is located at http://planning.northumberland-national-park.org.uk/css/style.css. Does anyone have any ideas? Thanks Tom I am having an issue with IE using the .htc file to render the CSS menu system I have. I am not sure why though. I think it has to do with the server that I have the site up on. Unfortunitly, I am unable to do anything to the server, so I will have to work around this issue. The menu system works the way it should in Firefox, but not IE. So if you can look at it (in Firefox) and help me figure out what I need to do to make it work in IE I would greatly appreciate it. The site is: www.fired-up.ca First take a look at the site in firefox or chrome: cristianoronaldo(dot)info as you can see the footer works great. However, when the site is viewed in IE (specifically IE8) the footer is displayed in the middle of the page. This happens throughout the whole site/blog when browsing with IE8 I have tried many things, such as trial and error, but nothing seems to work. Does anyone have any ideas on how to go about this? nevermind it was a doc declaration issue Hey I have a few containing divs and three divs in the last containing div so basically it's three columns. Well, I'm trying to get the middle column to always span 100% height of the content, not the page. I have a min-height so it's not too small, but if the content is big, I want the column to basically stretch to fit the content inside. Here is the pertaining code: Code: html,body { font-family: verdana, arial, helvetica; margin: 0px; padding: 0px; height: 100%; } #container { padding: 0px; border: solid 1px #fff; width: 900px; margin: 0px auto; text-align: left; background-color: #000; min-height: 1000px; height: 100%; } html>body #container { height: auto; } // because Mozilla actually interprets the height:100% correctly..*sigh* // Second containing div #content_main { background-color: #000; width: 900px; height: 100%; color: #000; font-size: 11px; margin: 0px; } // All columns #leftcolumn,#middlecolumn,#rightcolumn { margin: 0px; min-height: 900px; } // Middle column #middlecolumn { width: 493px; height: 100%; float: left; margin-left: -10px; } html>body #middlecolumn { margin-left: 0px; } // Third containing div #thecontent { width: 460px; height: 100%; min-height: 400px; float: left; margin-left: 10px; margin-top: 10px; } Pertaining HTML: Code: <div id="middlecolumn"> <div id="thecontent"> <div id="contentheader"><p>'.$contentHeader.'</p></div> '.$form.' <div id="thecontent2"> '.$pagecontents.' </div> <div id="contentbottom"></div> '.$formend.' </div> </div> Oh here are the other divs that are in "thecontent": Code: #thecontent2 { width: 445px; min-height: 600px; background-color: #fff; line-height: 1.8em; font-size: 11px; padding: 15px 0px 0px 15px; text-align: left; margin-left: 10px; height: 100%; } #contentheader { background: url(images/contenttop.gif) no-repeat; width: 488px; height: 35px; padding-top: 3px; text-align: center; margin: 0px auto; margin-bottom: -3px; margin-left: -2px; } #contentheader p { color: white; font-size: 14px; font-weight: bold; margin-top: 6px; } #contentbottom { background: url(images/contentbottom.gif) no-repeat; width: 471px; height: 28px; margin-left: 3px; } Ok that's alot of code IE does it correctly as I'm sure most of you know, but how can I get the 100%-height-content span for Mozilla? Thanks When I resize the browser then scroll across my div tag images move along. Last time I fixed this problem with "min-width:100px;" etc but now it won't work. Hoping someone can figure out this problem :P <html> <head> <link rel="stylesheet" type="text/css" href="layout.css"/> </head> <body bottommargin="0" leftmargin="0" topmargin="0" > <div id="designLayout" align="center"> <img src="echo_rain.jpg" alt="" /> <div class="button_facebook"> <form> <input type="button" value="" class="button_fb" onclick="window.location.href='()"> </form> </div> <div class="button_twitter"> <form> <input type="button" value="" class="button_tw" onclick="window.location.href='()"> </form> </div> <div class="button_soundcloud"> <form> <input type="button" value="" class="button_sc" onclick="window.location.href='()"> </form> </div> <div class="button_youtube"> <form> <input type="button" value="" class="button_ut" onclick="window.location.href='()"> </form> </div> </div> </div> </body> </html> @charset "utf-8"; /* CSS Document */ body { background-color:#000; } .button_facebook { top:-135px; left:-230px; width:0px; height:0px; position:relative; } .button_fb { background:url(facebook.png) ; border:none; width:80px; height:80px; } .button_fb:hover { border:none; background:url(hover_fb.png); width:80px; height:80px; } .button_twitter { top:-135px; left:-115px; width:0px; height:0px; position:relative; } .button_tw { background:url(twitter.png) ; border:none; width:80px; height:80px; } .button_tw:hover { border:none; background:url(hover_tw.png); width:80px; height:80px; } .button_soundcloud { top:-133px; left:0px; width:0px; height:0px; position:relative; } .button_sc { background:url(soundcloud.png); border:none; width:75px; height:75px; } .button_sc:hover { border:none; background:url(hover_sc.png); width:75px; height:75px; } .button_youtube { top:-138px; left:115px; width:0px; height:0px; position:relative; } .button_ut { background:url(youtube.png); border:none; width:80px; height:80px; } .button_ut:hover { border:none; background:url(hover_ut.png); width:90px; height:90px; } Cheers in advance. i am trying to make a site for our scholl and i have manged to get it all working, on firefox and opera but on Ie everything is, out of focus or messed up, if you view it in opera or firefox, but ie it does not work, i do know about the ie but it only effects 5.* i am on 6 and it does not work, can anyone help me? http://webzine.dragongamer.net css Code: Original - css Code html { background: #000 url("/images/bg_main.gif") repeat 0 1px fixed; } #sidebar { float: right; /*margin-top: -40px;*/ position: relative; right: 0; width: 255px; z-index: 100; } body { background: transparent url("images/bg_wrapper.gif") repeat-y 50% 0 fixed; color: #333; font: 0.7em/160% Verdana, Arial, Helvetica, sans-serif; } h1, h2, h3, h4, h5, h6 { font-family: "Trebuchet MS", Trebuchet, Verdana, Arial, Helvetica, sans-serif; } #sidebar .section { background: #747474 url("images/bg_sidebarsection.gif") no-repeat 0 100%; color: #f1f1f1; margin-bottom: 1px; padding-bottom: 5px; } #sidebar h3 { background: #434343 url("images/bg_sidebarsection_heading.gif") no-repeat 0 0; color: #f88600; font-size: 110%; font-weight: normal; letter-spacing: 0.05em; height: 40px; line-height: 42px; margin-bottom: 0.7em; padding: 0 15px; text-transform: uppercase; } * html #sidebar h3 { /* less line-height for IE */ line-height: 40px; } #sidebar .first h3 { background-position: -5px 0; } #sidebar h4 { color: #7c4c24; font-size: 110%; padding: 0 15px; } #sidebar a { color: #f1f1f1; text-decoration: underline; } #sidebar a:hover { background-color: transparent; text-decoration: underline; } #sidebar p, #sidebar ul, #sidebar ol { margin-bottom: 1em; padding: 0 15px; } #sidebar ul { list-style: none; } #sidebar ul a { background: transparent url("images/bg_listitem.gif") no-repeat 0 3px; color: #f1f1f1; padding-left: 16px; text-decoration: none; } #sidebar .alternate ul a { color: #0e3a73; } #sidebar #ad-rightside { padding: 20px 60px; } #navigationbar { background: #f1f1f1 url("images/bg_navigationbar.gif") no-repeat 100% 100%; color: #a4a4a4; float: left; padding-bottom: 2em; width: 173px; } #header { background: #1a1a1a url("images/bg_header.gif") repeat-x 0 0; height: 120px; position: relative; width: 940px; } #navigation { left: 173px; padding-left: 10px; position: absolute; top: 80px; } #searchform { background: transparent url("images/bg_search.gif") no-repeat 10px 7px; left: 0; height: 40px; position: absolute; top: 80px; width: 173px; } #header h1 { background: #c60000 url("/themes/Blue/images/logo.gif") no-repeat 0 0; height: 120px; overflow: hidden; text-indent: 200px; width: 173px; } #header h1.planetlogo { background: #c60000 url("images/planet-logo.gif") no-repeat 0 0; } #header h1 a { position: absolute; left: 15px; height: 40px; overflow: hidden; top: 20px; width: 135px; } #header h2 { color: #fa8900; font: normal 125% "Georgia", "Times New Roman", Times, serif; letter-spacing: 0.07em; position: absolute; left: 193px; top: 34px; width: 270px; } #header a, #header a:hover { color: #fff; text-decoration: none; } /*** Navigation Components ****************************************************/ #navigation ul, #navigation li, #navigation a { float: left; list-style: none; } #navigation a { color: #aaa; font-family: "Trebuchet MS", Trebuchet, Verdana, Arial, Helvetica, sans-serif; height: 40px; line-height: 40px; padding: 0 10px; text-transform: uppercase; } #navigation a:hover { background: #141414 url("images/bg_navi_hover.gif") repeat-x 0 0; } #navigation .current_page_item a, #navigation .current_page_item a:hover { color: #fff; } #navigation .current_page_item a { background: transparent url("images/bg_navi_selected.gif") no-repeat 50% 100%; } #navigation .feedicon { padding-top: 12px; height: 16px; width: 16px; } /*** Navigationbar Components *************************************************/ #navigationbar h3 { color: #a4a4a4; font-size: 120%; letter-spacing: -0.05em; padding: 0 15px; text-transform: uppercase; } #navigationbar ul, #navigationbar ol { list-style: none; padding: 0 15px; } #navigationbar a { color: #1a1a1a; text-decoration: none; } #navigationbar a:hover { text-decoration: underline; } #navigationbar div { margin: 20px 0; padding: 0; } #navigationbar #archives { margin-bottom: -0.5em; } /*** Search Components ********************************************************/ #searchform input { background: transparent; border: none; color: #999; font-size: 90%; height: 18px; line-height: 18px; margin: 14px 0 0 20px; width: 95px; } #searchform input.focus { color: #000; } * html #searchform input { /** less margin-top for IE */ margin-top: 10px; } #searchform.issafari { background: transparent; } #searchform.issafari input { color: #000; font-size: 100%; height: auto; margin: 10px 0 0 15px; width: 115px; } #searchform button { border: none; background: transparent url("images/bg_searchbutton.gif") no-repeat 0 0; cursor: pointer; overflow: hidden; text-indent: 50px; width: 26px; height: 26px; position: absolute; right: 10px; top: 7px; } #searchform button:active { background-position: 0 -26px; } #wrapper { background: #fff url("images/bg_wrapper.gif") repeat-y 50% 0 fixed; margin: 0 auto; overflow: hidden; padding: 0 12px; width: 940px; } * { margin: 0; padding: 0; } #footer { background: #1a1a1a url("images/bg_header.gif") repeat-x 0 0; clear: both; color: #666; margin-top: 2em; padding: 20px; width: 900px; } /*** Footer Components ********************************************************/ #footer a { color: #fff; text-decoration: none; } #footer a:hover { background-color: transparent; text-decoration: underline; } #footer .feed { background: transparent url("images/icon_feed.gif") no-repeat 0 70%; padding: 0.2em 20px; padding-right: 0; } #pagebody { position: relative; width: 940px; }
|