WordPress.org

Support

Support » How-To and Troubleshooting » Copying styles in Visual Styles

Copying styles in Visual Styles

  • 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.

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

    @wpyogi

    Forum Moderator

    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.

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Copying styles in Visual Styles’ is closed to new replies.
Skip to toolbar