• Resolved alvinsoon

    (@alvinsoon)


    One question I could never figure out is how come in Firefox my centre column isn’t perfectly aligned:

    (Firefox screengrab)

    http://lifecoachesblog.com/wp-content/files/lcb_firefox.jpg

    While in IE it is?

    (IE screengrab)

    http://lifecoachesblog.com/wp-content/files/lcb_ie.jpg

    Could someone help me with this? My background in CSS is as a complete noob.

    This is my CSS

    <br />
    /* Type CSS rules here and they will be applied<br />
    to pages from 'editcss'<br />
    immediately as long as you keep this window open. */

    /**** LINK-tag style sheet style.css ****/

    /* Type CSS rules here and they will be applied<br />
    to pages from 'editcss'<br />
    immediately as long as you keep this window open. */

    /**** LINK-tag style sheet style.css ****/

    /* Type CSS rules here and they will be applied<br />
    to pages from 'editcss'<br />
    immediately as long as you keep this window open. */

    /*<br />
    Theme Name: 3c-Black-LetterHead<br />
    Theme URI: http://aydin.net/blog/2006/02/13/wordpress-theme-three-column-black-letterhead/<br />
    Description: Based on Robin Hastings' Letterhead, and modifications by Ulysses Ronquillo, but with a three column layout.<br />
    Author: Hakan Aydin<br />
    Author URI: http://www.aydin.net/blog<br />
    Version: 1.0

    .<br />
    CSS colors modified by Ulysses Ronquillo located at http://ulyssesonline.com.<br />
    .<br />
    This theme was originally designed and built by Robin Hastings, whose blog you will find at<br />
    http://www.rhasting.net. It uses the default Kubrick theme as a base.

    The CSS, XHTML and design is released under GPL:<br />
    http://www.opensource.org/licenses/gpl-license.php<br />
    .<br />
    */

    /* Begin Typography & Colors */<br />
    body {<br />
    font-size: 70%; /* Resets 1em to 10px */<br />
    font-family: Arial, Verdana, Helvetica, Sans-Serif;<br />
    background-color: #FFFFFF;<br />
    color: #000000;<br />
    text-align: center;<br />
    }

    #page {<br />
    background-color: white;<br />
    text-align: left;<br />
    }

    #header {<br />
    background-color: white;<br />
    }

    #content {<br />
    font-size: 1.2em<br />
    }

    .widecolumn .entry p {<br />
    font-size: 1.05em;<br />
    }

    .narrowcolumn .entry, .widecolumn .entry {<br />
    line-height: 1.4em;<br />
    }

    .widecolumn {<br />
    line-height: 1.6em;<br />
    }

    .narrowcolumn .postmetadata {<br />
    text-align: center;<br />
    }

    .alt {<br />
    background-color: white;<br />
    border-top: 1px solid #ddd;<br />
    border-bottom: 1px solid #ddd;<br />
    }

    #footer {<br />
    background-color: white;<br />
    }

    small {<br />
    font-family: Verdana, Arial, Helvetica, Sans-Serif;<br />
    font-size: 0.9em;<br />
    line-height: 1.5em;<br />
    }

    h1, h2, h3 {<br />
    font-family: Arial, Verdana, Helvetica, Sans-Serif;<br />
    }

    h1 {<br />
    font-size: 2.5em;<br />
    font-weight: bold;<br />
    text-align: center;<br />
    text-transform: uppercase;<br />
    letter-spacing: .2em;<br />
    }

    .description {<br />
    font-size: 0;<br />
    text-align: center;<br />
    letter-spacing: .3em;<br />
    left: -1000px;<br />
    }

    h2 {<br />
    font-size: 1.7em;<br />
    }

    h2.pagetitle {<br />
    font-size: 1.6em;<br />
    }

    h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited {<br />
    color: #FF0000;<br />
    }

    h2 a:hover, h3 a:hover {<br />
    color: #FF0000;<br />
    background: #FFFFFF;<br />
    text-decoration: underline;<br />
    }

    #sidebar h2 {<br />
    font-family: Verdana, Arial, Sans-Serif;<br />
    font-size: 1.2em;<br />
    }

    #sidebar2 h2 {<br />
    font-family: Verdana, Arial, Sans-Serif;<br />
    font-size: 1.2em;<br />
    }

    h3 {<br />
    font-size: 1.3em;<br />
    }

    h1, h1 a, h1 a:visited, .description {<br />
    text-decoration: none;<br />
    color: #ff0000;<br />
    }

    h1 a:hover {<br />
    text-decoration: none;<br />
    color: #CC0000;<br />
    background: #ff0000;<br />
    }

    .entry p a:visited {<br />
    color: #FD5A1E;<br />
    }

    .commentlist li, #commentform input, #commentform textarea {<br />
    font: 0.9em Verdana, Arial, Sans-Serif;<br />
    }

    .commentlist li {<br />
    font-weight: bold;<br />
    }

    .commentlist cite, .commentlist cite a {<br />
    font-weight: bold;<br />
    font-style: normal;<br />
    font-size: 1.1em;<br />
    }

    .commentlist p {<br />
    font-weight: normal;<br />
    line-height: 1.5em;<br />
    text-transform: none;<br />
    }

    #commentform p {<br />
    font-family: Verdana, Arial, Sans-Serif;<br />
    }

    .commentmetadata {<br />
    font-weight: normal;<br />
    }

    #sidebar {<br />
    font: 1em Verdana, Arial, Sans-Serif;<br />
    }<br />
    #sidebar2 {<br />
    font: 1em Verdana, Arial, Sans-Serif;<br />
    }

    small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {<br />
    color: #666;<br />
    }

    code {<br />
    font: 1.1em 'Courier New', Courier, Fixed;<br />
    }

    acronym, abbr, span.caps<br />
    {<br />
    font-size: 0.9em;<br />
    letter-spacing: .07em;<br />
    }

    a {<br />
    color: #fd5a1e;<br />
    text-decoration: none;<br />
    }

    a:hover {<br />
    color: #FFFFFF;<br />
    text-decoration: none;<br />
    background: #CC0000;<br />
    }

    /* End Typography & Colors */

    /* Begin Structure */<br />
    body {<br />
    margin: 0;<br />
    padding: 0;<br />
    }

    #page {<br />
    background: transparent url(images/background.jpg) repeat-y top center;<br />
    width: 920px;<br />
    background-color: white;<br />
    margin: 0 auto;<br />
    padding: 0;<br />
    }

    #header {<br />
    padding: 0;<br />
    margin: 0 auto;<br />
    height: 114px;<br />
    width: 100%;<br />
    background: transparent url(images/header.jpg) no-repeat top center;<br />
    }

    .narrowcolumn {<br />
    float: left;<br />
    padding: 0 0 20px 25px;<br />
    margin: 0px 0 0;<br />
    width: 460px;<br />
    }

    .widecolumn {<br />
    padding: 10px 0 20px 0;<br />
    margin: 5px 0 0 100px;<br />
    width: 550px;<br />
    }

    .pagepost {<br />
    margin: 0 0 40px;<br />
    }

    .post {<br />
    margin: 0 0 40px;<br />
    text-align: justify;<br />
    }

    .widecolumn .post {<br />
    margin: 0;<br />
    }

    .narrowcolumn .postmetadata {<br />
    padding-top: 5px;<br />
    }

    .widecolumn .postmetadata {<br />
    margin: 30px 0;<br />
    }

    #footer {<br />
    padding: 0 0 0 1px;<br />
    margin: 0 auto;<br />
    width: 899px;<br />
    clear: both;<br />
    }

    #footer p {<br />
    margin: 0;<br />
    padding: 20px 0;<br />
    text-align: center;<br />
    }<br />
    /* End Structure */

    /* Begin Headers */<br />
    h1 {<br />
    padding-top: 40px;<br />
    margin: 0;<br />
    }

    .description {<br />
    text-align: center;<br />
    }

    h2 {<br />
    margin: 30px 0 0;<br />
    }

    h2.pagetitle {<br />
    margin-top: 30px;<br />
    text-align: center;<br />
    }

    #sidebar h2 {<br />
    margin: 5px 0 0;<br />
    padding: 0;<br />
    }<br />
    #sidebar2 h2 {<br />
    margin: 5px 0 0;<br />
    padding: 0;<br />
    }

    h3 {<br />
    padding: 0;<br />
    margin: 30px 0 0;<br />
    }

    h3.comments {<br />
    padding: 0;<br />
    margin: 40px auto 20px ;<br />
    }<br />
    /* End Headers */<br />
    /* Begin Lists

    Special stylized non-IE bullets<br />
    Do not work in Internet Explorer, which merely default to normal bullets. */

    html>body .entry ul {<br />
    margin-left: 0px;<br />
    padding: 0 0 0 30px;<br />
    list-style: none;<br />
    padding-left: 10px;<br />
    text-indent: -10px;<br />
    }

    html>body .entry li {<br />
    margin: 7px 0 8px 10px;<br />
    }

    .entry ul li:before, #sidebar ul ul li:before {<br />
    content: "0BB 020";<br />
    }

    .entry ol {<br />
    padding: 0 0 0 35px;<br />
    margin: 0;<br />
    }

    .entry ol li {<br />
    margin: 0;<br />
    padding: 0;<br />
    }

    .postmetadata ul, .postmetadata li {<br />
    display: inline;<br />
    list-style-type: none;<br />
    list-style-image: none;<br />
    }

    #sidebar ul, #sidebar ul ol {<br />
    margin: 0;<br />
    padding: 0;<br />
    }

    #sidebar ul li {<br />
    list-style-type: none;<br />
    list-style-image: none;<br />
    margin-bottom: 15px;<br />
    }

    #sidebar ul p, #sidebar ul select {<br />
    margin: 5px 0 8px;<br />
    }

    #sidebar ul ul, #sidebar ul ol {<br />
    margin: 5px 0 0 10px;<br />
    }

    #sidebar ul ul ul, #sidebar ul ol {<br />
    margin: 0 0 0 10px;<br />
    }

    ol li, #sidebar ul ol li {<br />
    list-style: decimal outside;<br />
    }

    #sidebar ul ul li, #sidebar ul ol li {<br />
    margin: 3px 0 0;<br />
    padding: 0;<br />
    }<br />
    /* End Entry Lists */

    /* Begin Form Elements */<br />
    #searchform {<br />
    margin: 10px auto;<br />
    padding: 5px 3px;<br />
    text-align: center;<br />
    }

    #sidebar #searchform #s {<br />
    width: 115px;<br />
    padding: 2px;<br />
    background-color: #909090;<br />
    border-style: ridge;<br />
    }

    #sidebar #searchsubmit {<br />
    padding: 1px;<br />
    background-color: #909090;<br />
    }

    .entry form { /* This is mainly for password protected posts, makes them look better. */<br />
    text-align:center;<br />
    }

    select {<br />
    width: 130px;<br />
    }

    #commentform input {<br />
    background: #ffffff;<br />
    border: 1px solid #e9e9d9;<br />
    color: #595949;<br />
    font-size: 11px;<br />
    margin: 0;<br />
    padding: 0 10px;<br />
    }

    #commentform textarea {<br />
    width: 100%;<br />
    background: #ffffff;<br />
    border: 1px solid #e9e9d9;<br />
    color: #595949;<br />
    font-size: 11px;<br />
    margin: 0;<br />
    padding: 2px;<br />
    }

    #commentform #submit {<br />
    margin: 0;<br />
    float: right;<br />
    }<br />
    /* End Form Elements */

    /* Begin Comments*/<br />
    .alt {<br />
    margin: 0;<br />
    padding: 10px;<br />
    }

    .commentlist {<br />
    padding: 0;<br />
    text-align: justify;<br />
    }

    .commentlist li {<br />
    margin: 15px 0 3px;<br />
    padding: 5px 10px 3px;<br />
    list-style: none;<br />
    }

    .commentlist p {<br />
    margin: 10px 5px 10px 0;<br />
    }

    #commentform p {<br />
    margin: 5px 0;<br />
    }

    .nocomments {<br />
    text-align: center;<br />
    margin: 0;<br />
    padding: 0;<br />
    }

    .commentmetadata {<br />
    margin: 0;<br />
    display: block;<br />
    }<br />
    /* End Comments */

    /* Begin Sidebar */<br />
    #sidebar<br />
    {<br />
    padding: 20px 0 10px 0;<br />
    margin-left: 730px;<br />
    width: 160px;<br />
    background-color: #FFFFFF;<br />
    }

    #sidebar form {<br />
    margin: 0;<br />
    }

    #mailing-list {<br />
    padding: 5px 10px 5px 10px;<br />
    background: #fff url(images/mailinglist.jpg) no-repeat;<br />
    }

    /* End Sidebar */

    /* Begin Sidebar2 */<br />
    #sidebar2<br />
    {<br />
    padding: 20px 0 10px 0;<br />
    margin-left: 20px;<br />
    width: 160px;<br />
    float: left;

    }

    #sidebar2 form {<br />
    margin: 0;<br />
    }<br />
    /* End Sidebar2 */

    /* Begin Various Tags & Classes */<br />
    acronym, abbr, span.caps {<br />
    cursor: help;<br />
    }

    acronym, abbr {<br />
    border-bottom: 1px dashed #999;<br />
    }

    blockquote {<br />
    margin: 15px 30px 0 10px;<br />
    padding-left: 20px;<br />
    border-left: 5px solid #bde0f8;<br />
    }

    blockquote cite {<br />
    margin: 5px 0 0;<br />
    display: block;<br />
    }<br />
    hr {<br />
    display: none;<br />
    }

    .center {<br />
    text-align: center;<br />
    }

    a img {<br />
    border: none;<br />
    }

    .navigation {<br />
    display: block;<br />
    text-align: center;<br />
    margin-top: 60px;<br />
    margin-bottom: 60px;<br />
    }

    #submit {<br />
    background: #ffffff;<br />
    border: 1px solid #e9e9d9;<br />
    color: #595949;<br />
    font-size: 11px;<br />
    margin: 0;<br />
    padding: 0 10px;<br />
    }

    .author {<br />
    color: #000000;<br />
    font-size: 23px;<br />
    font-weight: normal;<br />
    font-family: Arial, 'Lucida Sans', 'Lucida Sans Unicode', Helvetica, sans-serif;<br />
    margin: 0;<br />
    padding: 0;<br />
    text-decoration: none;<br />
    }

    .date {<br />
    color: #000000;<br />
    font-size: 13px;<br />
    font-family: Arial, 'Lucida Sans', 'Lucida Sans Unicode', Helvetica, sans-serif;<br />
    letter-spacing: 0.09em;<br />
    margin: 0;<br />
    padding: 0 0 0 0px;<br />
    }

    /* separate list from subsequent content */<br />
    div.wrapper<br />
    {<br />
    margin-bottom: 1em;<br />
    }

    ul#introboxbody {<br />
    color: #595949;<br />
    font-family: Arial, Verdana, Helvetica, Sans-Serif;<br />
    font-size: 13px;<br />
    margin: 10px 0 0 0;<br />
    padding: 8px 8px 8px 8px;<br />
    background: #f7f7f0;<br />
    border: 1px solid #f0f0e0;<br />
    position: relative;<br />
    }

    /* End Various Tags & Classes*/

    /*- Menu Tabs --------------------------- */

    #tabs ul, #tabs ul li {<br />
    font-size:1.2em;<br />
    font-weight: bold;<br />
    list-style: none;<br />
    margin: 0;<br />
    padding: 0;<br />
    }

    #tabs ul {<br />
    text-align: center;<br />
    margin-top: 90px;<br />
    }

    #tabs ul li {<br />
    display: inline;<br />
    margin-right: 0;<br />
    }

    #tabs ul li.last {<br />
    margin-right: 0;<br />
    }

    #tabs li a {<br />
    padding: 5px 1em;<br />
    }

    #tabs ul li a:hover span {<br />
    color: #FFFFFF;<br />
    background: none;<br />
    text-decoration: underline;<br />
    }

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Central column is straying’ is closed to new replies.