Edit box changes code
5 posters
Page 1 of 1
Edit box changes code
I've been having the problem in post edit boxes and in the AP edit boxes. When I put in a code and click Preview, the code will display properly. If I hit preview again, the code is changed. It happens in multiple browsers and on multiple forums, including here.
This is a simple code that I used for several years with no problems. It's been in the last six months or so that I've had this problem.
It's easy to duplicate: just copy/paste my code into a reply edit box. Click Preview once, then a second time.
I've re-written the code in HTML and get the same results. I have several different codes in my Homepage Message Box that are doing something similar when I hit the save button a second time.
Any suggestions?
Thanks
http://squarefoot.creatingforum.com/
This is a simple code that I used for several years with no problems. It's been in the last six months or so that I've had this problem.
- Code:
- Code:
[table width="400" background="http://i62.servimg.com/u/f62/14/92/49/47/interl11.gif" style="margin-left: auto; margin-right: auto; border:1px solid black;moz-border-radius: 10px; webkit-border-radius: 10px; border-radius: 10px;"][tr][td width=10] [/td][td][img]http://boffers.omgforum.net/users/2011/12/68/81/avatars/2-4.gif[/img][/td][td ][center][color=black][font=verdana]Let me tell you 'bout the old days when...
we used to do our gardening on the ground![/font][/color][/center][/td][/tr][/table]
- The first time I hit preview:
- The second time I hit preview:
It's easy to duplicate: just copy/paste my code into a reply edit box. Click Preview once, then a second time.
I've re-written the code in HTML and get the same results. I have several different codes in my Homepage Message Box that are doing something similar when I hit the save button a second time.
Any suggestions?
Thanks
http://squarefoot.creatingforum.com/
Re: Edit box changes code
Do you have it set up where HTML is activate for the whole forum?
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Edit box changes code
For some reason it is removing this part of the code:
- Code:
background="http://i62.servimg.com/u/f62/14/92/49/47/interl11.gif"
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Edit box changes code
SLGray wrote:For some reason it is removing this part of the code:
- Code:
background="http://i62.servimg.com/u/f62/14/92/49/47/interl11.gif"
Hi
Following his post, why don't you try implementing it in the style area instead? You can do something like:
- Code:
style="background-image:url(img link here);"
If that doesn't work, re-upload the picture in another server.
Regards,
Pizza Boi
Pizza Boi- Hyperactive
- Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!
Re: Edit box changes code
It appears that putting background image in style might be the answer for this code. I'll play with the other codes more tonight. Thanks. (Not completely solved yet!)
Re: Edit box changes code
the only thing i can say is
dont preview just send after add the code and make your own change
and dont worry it will apper right as you want
dont preview just send after add the code and make your own change
and dont worry it will apper right as you want
Michael_vx- Forumember
- Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt
Re: Edit box changes code
Hi
Following what he said, just put all the styles in the Css but make sure you declare a name and do something like:
And this in the post:
Regards,
Pizza Boi
Following what he said, just put all the styles in the Css but make sure you declare a name and do something like:
- Code:
.tdesign {
Style}
And this in the post:
- Code:
[table class="tdesign"][tr][td][/td][/tr][/table]
Regards,
Pizza Boi
Pizza Boi- Hyperactive
- Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!
Re: Edit box changes code
Hello boffer10,
The background attribute for tables does not seem to be supported anymore by the current editor. As Pizza boi has recommended, you should use the style attribute to write your CSS styles for tables.
Ex :
The background attribute for tables does not seem to be supported anymore by the current editor. As Pizza boi has recommended, you should use the style attribute to write your CSS styles for tables.
Ex :
- Code:
[table style="background:url('http://i62.servimg.com/u/f62/14/92/49/47/interl11.gif'); width:400px; margin-left: auto; margin-right: auto; border:1px solid black;moz-border-radius: 10px; webkit-border-radius: 10px; border-radius: 10px;"][tr][td style="width:10px;"] [/td][td][img]http://boffers.omgforum.net/users/2011/12/68/81/avatars/2-4.gif[/img][/td][td ][center][color=black][font=verdana]Let me tell you 'bout the old days when...
we used to do our gardening on the ground![/font][/color][/center][/td][/tr][/table]
Re: Edit box changes code
I've tried the style attribute in several other tables that were doing the same thing, and that appears to be the fix.
Thanks for the help. This one can be marked solved.
Thanks for the help. This one can be marked solved.
Re: Edit box changes code
Topic Solved & Archived
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Similar topics
» edit about this code
» Category and Edit Buttons CSS Code
» Homepage Message edit box is changing code
» Daemon's reply code edit
» edit about electronic journal code
» Category and Edit Buttons CSS Code
» Homepage Message edit box is changing code
» Daemon's reply code edit
» edit about electronic journal code
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum