Copying styles in Visual Styles (3 posts)

  1. josecek
    Posted 3 years ago #

    In HTML editor I have code like: <table class="white">sth...</table> and
    <div style="float: left; width: 35%;"> sth... </div>. If I switch between HTML and Visual editor, it's ok. Problem is, if I select whole table in Visual editor and want to copy this table again, under the old one. Table is copying, but style is missing ~ second table isn't same as the parent. I tried many WISIWYG editors, with the same reslut - always missing styles. I'm using default WP theme - TwentyEleven.

  2. WPyogi
    Forum Moderator
    Posted 3 years ago #

    Looks like you are using inline styles? It's always much better (for a number of reasons) to use external CSS -- and that would solve this problem.

  3. josecek
    Posted 3 years ago #

    I agree with your opinion about external styles. But I didn't use CSS styles in HTML editor. For example, I use this: <table class="fist">sth...</table> ... and it didn't works.

Topic Closed

This topic has been closed to new replies.

About this Topic