Forums

[resolved] No formatting appearing (3 posts)

  1. EstebanMartinez
    Member
    Posted 8 months ago #

    I've made a site recently:

    http://www.holdbacktoblock.com/2011/09/9611-sfae-8-on-the-break/

    And everything seems to be in working order. However, when include bolded text in my posts, they don't appear bolded once published. In my html code however, the <b> tags appear.

    Can anyone help? I'm guessing it's the css reset I'm using, but I'm not quite sure.

  2. enile8
    Member
    Posted 8 months ago #

    Yes it's the reset that is causing this, try using this for the reset CSS instead:

    html, body, div, span, applet, object, iframe,
    h1, h2, h3, h4, h5, h6, p, blockquote, pre,
    a, abbr, acronym, address, big, cite, code,
    del, dfn, em, font, img, ins, kbd, q, s, samp,
    small, strike, strong, sub, sup, tt, var,
    b, u, i, center,
    dl, dt, dd, ol, ul, li,
    fieldset, form, label, legend,
    table, caption, tbody, tfoot, thead, tr, th, td {
    	background: transparent;
    	border: 0;
    	margin: 0;
    	padding: 0;
    	vertical-align: baseline;
    }
    body {
    	line-height: 1;
    }
    h1, h2, h3, h4, h5, h6 {
    	clear: both;
    	font-weight: normal;
    }
    ol, ul {
    	list-style: none;
    }
    blockquote {
    	quotes: none;
    }
    blockquote:before, blockquote:after {
    	content: '';
    	content: none;
    }
    del {
    	text-decoration: line-through;
    }
    /* tables still need 'cellspacing="0"' in the markup */
    table {
    	border-collapse: collapse;
    	border-spacing: 0;
    }
    a img {
    	border: none;
    }

    Taken from the twenty ten theme.

  3. EstebanMartinez
    Member
    Posted 8 months ago #

    Worked like a charm. Thanks!

Reply

You must log in to post.

About this Topic