Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter shadowhk

    (@shadowhk)

    thx for reply. I have already resolved that. I had it in front of my eyes :).

    I shortend the code for more classical one:

    img.alignright {
    padding: 0px;
    margin: 3px 3px 1px 10px;
    display: inline;
    }

    img.alignleft {
    padding: 0px;
    margin: 3px 10px 1px 3px;
    display: inline;
    }

    and when writing a new post, i use now a following code:

    <img class=”alignleft” alt=”xxxxxxxxx.jpg” id=”imagexx” title=”xxxxxxxx.jpg” src=”http://www.shadowblog.cz/………&#8230;.jpg” />

    or class=”alignright”.

    I have edited all my posts and it’s ok now even under IE.

    BEFORE:

    I used WYSIWYG TinyMCE interface and simply chose to align left/right image (in HTML code: align=”left”/”right”. And for this align=”left”/”right” it used a defined style:

    img.alignright, img[align=”right”] {
    padding: 0px;
    margin: 3px 3px 1px 10px;
    display: inline;
    }

    img.alignleft, img[align=”left”] {
    padding: 0px;
    margin: 3px 10px 1px 3px;
    display: inline;
    }

    And everything worked fine but IE.

    And as I said above, in order to make it work also in IE, I had to abandon this approach and use a more traditional one, i.e. simply I had to use defined style classes “alignleft” and “alignright” and put them directly in the img tag. And of course I had to delete the part of code in the square brackets.

    So, now it works fine, but without wysiwyg. Maybe it will work in some more sophisticated one than the default one. I will have a look.

    IE doesn’t work obviously with more complex CSS codes 🙂

    (and sorry for my grammar, I am Czech 🙂 ).

Viewing 1 replies (of 1 total)