Need help? Check out our Support site, then


Posting source code

  1. gracianotorrao
    Member

    I post code using: http://gracianotorrao.wordpress.com/2008/05/01/como-publicar-codigo-fonte/

    When i insert an image and select (left alignment) in a post where i also post some sourcecode using the above link technique, things get a bit mixed up, like this: http://gracianotorrao.wordpress.com/2010/05/31/debianmyconfig-abrir-a-partir-do-navegador-de-ficheiros-com-o-botao-direito-do-rato-a-directoria-corrente-na-consola/

    Showld i do some HTML editing or what?

    Thanks

    The blog I need help with is gracianotorrao.wordpress.com.

  2. WordpPress.com have created a shortcode you can wrap around source code that preserves its formatting and even provides syntax highlighting for certain languages. See > http://en.support.wordpress.com/code/posting-source-code/

  3. I would contact support about that. It looks like a definite bug to me.

    http://en.support.wordpress.com/contact/

  4. panaghiotisadam
    Member

    @tt: He is using the sourcecode shortcode.

    @gracianotorrao: Apparently the sourcecode shortcode is designed to occupy the whole of the available width. Edit your post in the html editor and change it to this:

    <table>
    <tr>
    <td>IMAGE CODE HERE</td>
    <td>REST OF CONTENT HERE</td>
    </tr>
    </table>
  5. @Panos
    Thanks

  6. gracianotorrao
    Member

    So i had to go for option 2 (HTLM editing)
    Now it looks OK

    @all
    Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic