Support » Fixing WordPress » Why wont WP editor display border

  • Resolved Bryan Cady


    To make a long story short. I can do what I need to do, (put a border around some text next to a picture) by coding manually and putting attributes in my style sheet.
    My brother, who I am doing this work for wants to be able to add content the page though and he can only work in the WP visual editor so I am trying to set up the page only through the visual editor for him and using the plugin “Tinymce Advanced” to create the table.

    Here is my problem. The picture below is what I want to achieve.

    Like I said, I’m using TinyMCE Advance to create the border and for some reason, the WP visual editor WILL show a border around my text like you see below.

    but the output on a webpage shows this

    I cannot figure out for the life of me, why a border won’t show. Like I said, I can do this in CSS but I want to be able to only do this in the Visual WP editor so I can show my brother how to get this done for himself.

    Here is the code:

    <table style="border-color: #000000; border-width: 1px;" border="1">
    <p>Mistakes are made in every other human endeavor. Why should nuclear weapons be exempt?….</p>
    <p>After I became an American citizen, the thing that stands out so clearly in my mind is the Reagan /Gorbachev summit at Reykjavik. The leaders of the two most powerful nations on earth were actually discussing the elimination of nuclear weapons. Such a breathtaking possibility. I still remember the thrill of it. I’ll never forget the photos of a grim President Reagan as he left the summit after the negotiations broke down. Even though the negotiations failed, I think the very talks themselves reassured the world. The world saw that both nations desired to be free of the nuclear curse</p>
    <p><a href="" target="_blank">Full Address</a></p>

    Thanks a bunch. I’m learning alot on this board and with HTML in general but things like this want me to pull out the little hair that I have.


Viewing 2 replies - 1 through 2 (of 2 total)
  • Christine Rondeau


    Volunteer Forum Moderator

    Try this instead and see if it works:

    <table style="border: 1px solid #000000;">

    If it doesn’t please provide a link to your site so that we can look at the source code.

    Thanks…that work!!!. I don’t know why tinymce advance table maker wouldn’t.

    Ultimately I have this piece of code in there now
    <table class="alignright" style="width: 375px; border: 1px solid #000000; padding: 15px;">

    My brother is smart enough to remember where to put this. Then he will be insert a picture..make a basic table and add this for what he needs.

    Thanks for your help

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Why wont WP editor display border’ is closed to new replies.