You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Online

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

#106496 The WIDTH attribute disappears

Posted in ‘Editor’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by Ryan on Wednesday, 27 January 2021 19:36 GMT

adimedia
Hi. We are using JCE Pro 2.6.38 on Joomla 1.5 so we cannot update any more. When we add the following in the Code Tab:

<table width = "100%" style = "background: #dddddd;">
If we switch to the Editor Tab and go back to the Code Tab, the html has changed to the following:

<table style = "background: #dddddd; width: 100%;">
How can we do so that it does not change? We want the code with the WIDTH attribute to be kept. Thank you.

Ryan
In the Editor Global Configuration, set Doctype to HTML4 or Mixed.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

adimedia
I've already done it but it doesn't work.

Ryan
It does not appear that it is possible in this version to use the width or height attributes on tables (which are deprecated attributes anyway).

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.