Hi,
I want to put a background-image to a table-cell.
To do this, i click on "source" , and add my style to the td tag, like this :
<td style="background-image: url(http://www.mywebsite.com/IMG/cache_format_liste/img1-1.jpg);">
When i click again on "source" to view the result, i see the image in background, but when i go back to "source", capital letters "IMG" in the background-image's adress has been replace by lower-case letters (and the semicolon at the end disappear too).
So my code became :
<td style="background-image: url(http://www.mywebsite.com/img/cache_format_liste/img1-1.jpg)">
And when i click again on source to view the result again, the background-image doesn't display.
It's the same result if i save my work on data base.
I tested it on firefox on internet explorer 8. This problem appears only on internet explorer.
Can you help me please?
Re: Problem with capitals in source code (internet explorer)
Do you know if there is a transition script, which processed data before save it or transmit it to an other script?
It's probably the way i've to search.
Re: Problem with capitals in source code (internet explorer)
If there is something in CKEditor which is changing "IMG" into "img" it's because "img" is also the name of an HTML tag.
Within the context you are using "IMG" it would still be a bug for it to get automatically changed to "img" but changing the directory name (if possible and practical) would avoid the bug.
Re: Problem with capitals in source code (internet explorer)
Thank you to answer.
It's not the problem, because the real adress contain an other directory name AIC, so the adress is :
and the real result is :
And when i try to use an image with capitals in name, it's transformed to a lower-case name too.
So
become
All capitals are transform to lower-case letters.
Do you have an idea?
Re: Problem with capitals in source code (internet explorer)
That's due to http://dev.ckeditor.com/ticket/5930