Web Design & Development |
| |

| | Thread Tools |
|
12-Jul-2007, 02:44 PM
#1 |
| Wordpress Template Trouble In firefox everything is fine. When i view the site in IE 6 the top half of the posts, look fine, but the bottom half look like some content is aligned to the left. Site in question is www.stopgeek.com. Please take a look at it if you have IE 7 and tell me if it does the same thing. Here is the CSS for inspection. Code: /***** GLOBAL FORMATTING *****/
* {
padding: 0;
margin: 0;
}
body {
background: #809ab1 url(images/bg_blue.gif) repeat-x;
font-size: 12px;
color: #000;
font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
}
img {
border: 0;
}
a {
color: #da790b;
text-decoration: none;
}
a:hover {
color: #49647d;
text-decoration: underline;
}
a:visited {
color: #49647d;
}
/***** PAGE STRUCTURE FORMATTING *****/
#wrapper {
display: block;
margin: 0 auto;
width: 900px;
position: relative;
background: #fff url(images/contentBg2.gif) repeat-y;
border-left: 1px solid #000;
border-right: 1px solid #000;
}
#header {
width: 900px;
background: #fff url(images/header.gif) top center no-repeat;
height: 104px;
margin-top: 0;
color: #fff;
}
.title {
padding: 5px 5px 5px 20px;
color: #fff;
}
#Nav {
display: block;
}
#content {
width: 510px;
float: left;
color: #000;
padding: 20px;
}
#sidebarRight {
width: 160px;
float: right;
color: #000;
background: #dcddca;
padding-right: 15px;
padding-left: 15px;
padding-top: 10px;
}
* html #sidebarRight {
width: 135px;
}
#sidebarLeft {
width: 135px;
float: right;
color: #000;
padding-left: 10px;
padding-top: 10px;
}
* html #sidebarLeft {
width: 135px;
}
#footer {
clear: both;
width: 871px;
background: #000;
color: #fff;
text-align: left;
height: 33px;
padding: 8px 8px 12px 21px;
border-bottom: 1px solid #000;
border-top: 1px solid #000;
}
#footer a {
color: #fff;
}
/***** NAVIGATION BAR FORMATTING *****/
ul#Nav {
margin: 0;
padding: 0;
list-style: none;
width: 900px;
float: left;
background: #49647d url(images/navOnBlue.gif) repeat-x;
font-family: "Lucida Grande", Lucida, Arial, sans-serif;
font-size: 14px;
border-top: 1px solid #000;
border-bottom: 1px solid #000;
}
ul#Nav li {
float: left;
border-right: 1px solid #fff;
}
ul#Nav li.first {
border-left: none;
}
ul#Nav a {
display: block;
float: left;
padding: 0 1.45em;
line-height: 25px;
text-decoration: none;
color: #fff;
}
ul#Nav a:hover {
background: #cf7f26 url(images/navOff.gif) repeat-x;
text-decoration: none;
}
ul#Nav li.current_page_item a {
color: #fff;
background: url(images/navOff.gif) repeat-x;
text-decoration: none;
}
/***** GENERAL TEXT FORMATTING *****/
.post {
margin-bottom: 20px;
}
blockquote {
color: #000;
margin: 0 30px 20px 30px;
border-left: 5px solid #ACAB7B;
background: #e8e9dc url(images/bqt_Bg.png) top no-repeat;
padding: 10px 10px 4px 10px;
font-size: 11px;
font-family: "Lucida Grande", Lucida, Verdana, Arial, Helvetica, sans-serif;
}
p {
margin-bottom: 15px;
line-height: 1.6em;
}
p a {
border-bottom: 1px solid #ccc;
text-decoration: none;
}
p a:hover {
border-bottom: 2px solid #999898;
text-decoration: none;
}
p.center {
text-align: center;
}
.postmeta {
background: #e4e5d4;
border: 1px solid #a0abb4;
padding: 3px;
font-size: 10px;
}
.postmeta a {
border-bottom: none;
}
.postmeta a:hover {
border-bottom: none;
}
.small {
font-size: 10px;
}
code {
font: 12px 'Courier New', Courier, Fixed;
}
h1 {
font-size: 20px;
letter-spacing: -0.8px;
text-align: left;
font-weight: normal;
margin-bottom: 8px;
font-family: "Century Gothic", "Trebuchet MS", "Lucida Grande", Lucida, Arial, sans-serif;
}
h1.title {
font-size: 45px;
letter-spacing: -2.5px;
font-weight: normal;
padding: 10px 10px 10px 17px;
}
h4 {
margin: -5px 0 10px 0;
padding: 0;
font-weight: normal;
font-size: 10px;
color: #424040;
}
/***** LISTS FORMATTING *****/
html>body .post ul {
margin-left: 0px;
padding: 0 0 10px 30px;
list-style-image: url(images/bullet.png);
padding-left: 30px;
}
html>body .post li {
margin: 7px 0 8px 10px;
}
.post ol {
padding: 0 0 0 35px;
margin: 0;
}
.post ol li {
margin: 0;
padding: 0;
}
/***** SEARCH FORM FORMATTING *****/
#searchform {
display: inline;
float: right;
margin: 0 20px 0;
padding: 10px 0 0;
text-align: left;
}
#searchform #s {
width: 160px;
padding: 4px;
margin: 0 0 5px 0;
background: #fff;
border: 1px solid #000;
color: #000;
font-size: 11px;
font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
}
#searchIcon {
padding: 2px;
color: #000;
display: inline;
}
/***** SIDEBAR FORMATTING *****/
h2 {
font-size: 14px;
letter-spacing: -0.8px;
text-align: left;
padding: 2px;
text-transform: uppercase;
font-weight: normal;
color: #49647d;
border-bottom: 2px #fff solid;
margin-bottom: 5px;
font-family: "Century Gothic", "Trebuchet MS", "Lucida Grande", Lucida, Arial, sans-serif;
}
#sidebarRight a {
color: #d8882f;
text-decoration: none;
}
#sidebarRight a:hover {
background: none;
color: #49647d;
text-decoration: underline;
}
#sidebarLeft a {
color: #d8882f;
text-decoration: none;
}
#sidebarLeft a:hover {
background: none;
color: #49647d;
text-decoration: underline;
}
#sidebarLeft a:visited {
color: #49647d;
}
/***** SIDEBAR LISTS FORMATTING *****/
.sidebarIcon ul, .sidebarIcon ol {
margin: 0 0 1em 0;
font-size: 11px;
}
.sidebarIcon ul {
list-style-image: url(images/tag.png);
list-style-position: inside;
}
.sidebarIcon li {
margin: 0 0 0.2em 0;
}
.sidebarIcon ul li ul, .sidebarIcon ul li ol, .sidebarIcon ol li ul, .sidebarIcon ol li ol {
margin: 0.5em 0 0.5em 5px;
}
.sidebar ul, .sidebar ol {
margin: 0 0 1em 0;
font-size: 11px;
}
.sidebar ul {
list-style-type: none;
}
.sidebar li {
margin: 0 0 0.6em 0;
}
.sidebar ul li ul, .sidebar ul li ol, .sidebar ol li ul, .sidebar ol li ol {
margin: 0.5em 0 0.5em 5px;
}
/***** FOOTER FORMATTING *****/
#footer p {
font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
text-align: left;
letter-spacing: -0.1px;
margin-bottom: 0px;
}
#footer a {
color: #afb65b;
text-decoration: none;
border-bottom: none;
}
#footer a:hover {
color: #5c7c9a;
background: none;
border-bottom: none;
}
#icons {
display: inline;
margin-top: -30px;
float: right;
text-align: right;
}
#footerIcons {
padding: 2px;
color: #000;
display: inline;
float: right;
}
/***** IMAGE FORMATTING *****/
img.post {
padding: 5px;
border: 1px solid #000;
margin: 10px;
float: right;
}
img.center {
display: block;
margin-left: auto;
margin-right: auto;
padding: 5px;
border: 1px solid #000;
}
img.alignright {
padding: 5px;
border: 1px solid #000;
background: #fff;
margin: 10px;
display: inline;
}
img.alignleft {
padding: 5px;
border: 1px solid #000;
margin: 8px;
display: inline;
}
/***** MISCELLANEOUS FORMATTING *****/
.alignright {
float: right;
}
.alignleft {
float: left
}
.navigation {
display: block;
text-align: center;
margin-top: 10px;
margin-bottom: 60px;
}
.postspermonth {
margin: 5px 0 10px 0;
list-style: none;
padding-left: 25px;
}
/***** COMMENTS FORMATTING *****/
#commentform input {
width: 170px;
padding: 2px;
margin: 5px 5px 1px 0;
border: 1px solid #49647d;
}
#commentform textarea {
width: 500px;
padding: 5px;
margin: 2px;
border: 1px solid #49647d;
font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
}
#commentform #submit {
margin: 0;
float: right;
border: 1px solid #49647d;
font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
}
.commentlist li, #commentform input, #commentform textarea {
font-size: 11px;
}
.commentlist li {
font-weight: bold;
}
.commentlist cite, .commentlist cite a {
font-weight: bold;
font-style: normal;
font-size: 1.1em;
}
.commentlist p {
font-weight: normal;
line-height: 1.5em;
text-transform: none;
}
#commentform p {
font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
}
.commentmetadata {
font-weight: normal;
font-size: 10px;
font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
}
.alt {
margin: 0;
padding: 10px;
}
.commentlist {
padding: 0;
text-align: justify;
}
.commentlist li {
margin: 10px 0 3px;
padding: 5px 10px 3px;
list-style: none;
}
.commentlist p {
margin: 10px 5px 10px 0;
}
#commentform p {
margin: 5px 0;
}
.nocomments {
text-align: center;
margin: 0;
padding: 0;
}
.commentmetadata {
margin: 0;
display: block;
} Code: <div id="content">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post">
<h1><a href="<?php the_permalink() ?>" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h1>
<h4><img src="<?php bloginfo('template_directory'); ?>/images/calendar.png" align="top" alt="Date" /> <?php the_time('F j, Y'); ?> <?php edit_post_link('edit', '', ' '); ?></h4>
<?php the_content('Read the rest of this entry »'); ?>
<p class="postmeta"><img src="<?php bloginfo('template_directory'); ?>/images/tag.png" align="top" alt="Category" /> Posted in <?php the_category(', ') ?> <img src="<?php bloginfo('template_directory'); ?>/images/comments.png" align="top" alt="Comments" /> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?>
</div>
<?php endwhile; ?>
<div class="navigation">
<div class="alignleft"><?php next_posts_link('« Previous Entries') ?></div>
<div class="alignright"><?php previous_posts_link('Next Entries »') ?></div>
</div>
<?php else : ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
<?php endif; ?>
</div>
__________________ Hostmyjpg.com - Host your photos/images for free. |
![]() |

| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |

| Thread Tools | |
| |
| You Are Using: |
Advertisements do not imply our endorsement of that product or service. All times are GMT -4. The time now is 08:49 PM. Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved. Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd. Search Engine Optimization by vBSEO 3.1.0 | |





