AARGH! - Wordpress chewing up my code

4 replies
  • WEB DESIGN
  • |
Can someone help please?

I have having the devil of a job inserting a premade form within a table into a wordpress page.

The code works perfectly on a standard html page in internet explorer, see here:
click please

It ALSO looks perfect in firefox when I view the html file that's on my computer but the online version of the file (with exactly the same code) above seems slightly chewed up..


On a wordpress page this DISASTER happens: click please

There are no references to tables in the css file on the blog so I would have expected the table to appear "as is"

Anyone know why this should happen? I've been fiddling with it ALL DAY!

thanks Guys!
#aargh #chewing #code #wordpress
  • Profile picture of the author NetMan
    Originally Posted by helpandinfo View Post

    Can someone help please?

    I have having the devil of a job inserting a premade form within a table into a wordpress page.

    The code works perfectly on a standard html page in internet explorer, see here:
    click please

    It ALSO looks perfect in firefox when I view the html file that's on my computer but the online version of the file (with exactly the same code) above seems slightly chewed up..


    On a wordpress page this DISASTER happens: click please

    There are no references to tables in the css file on the blog so I would have expected the table to appear "as is"

    Anyone know why this should happen? I've been fiddling with it ALL DAY!

    thanks Guys!
    There might have several reasons for that to happen.

    How are you inserting that code in your WP page?

    DO NOT use WP WYSIWYG editor, clean the code, copy and paste and use only the HTML editor in worpress for these kind of job.

    Sometimes the time spent trying to to do a job one as no experience for, instead of outsourcing the job to a pro, is not a saving at all but a waste. Don't forget that the site is not productive $$$ untill it is completed.

    Best regards,

    Andre Foisy
    {{ DiscussionBoard.errors[1906404].message }}
  • Profile picture of the author HomeComputerGames
    Hello!
    Give this a try:
    Edit your style sheet -
    http://www.helpandinfo.com/newbiemoneysites/wp-content/themes/Purple_Marketer/style.css

    Find:
    .article img, img.article
    {
    border-style: solid;
    border-width: 0px;
    border-color: #90C9D0;
    margin: 1em;
    }

    make the margin 0

    This worked in FF for me

    Good luck
    Signature

    yes, I am....

    {{ DiscussionBoard.errors[1906433].message }}
    • Profile picture of the author helpandinfo
      Net mAN: Yes I only used the html tab

      HCG: Hey mate that worked an absolute treat in IE
      and now it looks perfect in Bill's browser but still FF is breaking it up, not as bad as it was but still enough to make it unusable..

      Anybody know how to fix it for Firefox?
      Signature

      I created and run the only truly automatic website backlinking system (3 years and still going strong!) We provide HIGH PR links (ALL done manually by my own staff) every month on complete autopilot (for the Client). These are now posted from UNIQUE IP addresses. When you're sick of hours creating backlinks AND STILL getting nowhere consider this hands free service. (WF Coupon code JH1960) Website | WF Thread | Support Desk

      {{ DiscussionBoard.errors[1908467].message }}
      • Profile picture of the author NetMan
        Originally Posted by helpandinfo View Post

        Net mAN: Yes I only used the html tab

        HCG: Hey mate that worked an absolute treat in IE
        and now it looks perfect in Bill's browser but still FF is breaking it up, not as bad as it was but still enough to make it unusable..

        Anybody know how to fix it for Firefox?
        I believe I already told you what you needed to try keep in mind that FF is the REAL standard not IE. Plus doing the changes you'd been suggested in the CSS file is not recommended at all, even though it seems to "fix" the problem in IE. If these CSS codes for images are in there, they.re meant for that specific theme, keep in mind that if you modify this it will affect ALL the images in the theme and you might enconter more problems eventually. You better add some specific code, like the you're suggested for example, with a class and add that class to your HTML code for the form, and again USE the HTML editor in WP, I'm not kidding, for this kind of edition otherwise it is nightmarish...

        Best regards,

        Andre Foisy
        {{ DiscussionBoard.errors[1909562].message }}

Trending Topics