style attribute of div tag disappears
-
hi, i tend to write the pages and posts of my blog in HTML edit, and on some of the pages i use the style attribute in the div tag to give a block of text certain characteristics, a simple one being :
<div id=”Dec2015″ style=”text-align:right;”>Back to Top</div>
however, today i’ve noticed that after i edited one of my pages all the style information has disappeared – has there been a recent change where in-line styling of div tags is no longer enabled ?
an example of the page where such a change has happened is the following :
https://marnixbirdgallery.wordpress.com/blog-list-by-date-2016/which should look exactly like the following :
https://marnixbirdgallery.wordpress.com/blog-list-by-date/but no longer does after i’ve edited the former page earlier tonight
can anyone clarify what’s going on ?
The blog I need help with is: (visible only to logged in users)
-
I had the same problem. Until yesterday I use style=”text-align: justify;” and works ok, but today I can use this style in the web online editor but when I save the page I lose all the style tags :-(
-
Note that all CSS editing is theme specific editing and all threads in the CSS forums do get Staff support.
-
I have also experienced the same problem today. The editor strips away valid CSS codes. For example:
<div style=”text-align: center; line-height: 1.5; font-size: x-large; font-weight: bold; margin-top: 1em;”>Some Heading</div>
becomes
<div>Some Heading</div>
-
Hello –
There was a code change that temporarily affected the issue you’re describing. Have you already tried clearing your browser cache?
Please let me know if the issue persists after clearing your cache.
-
-
-
-
- The topic ‘style attribute of div tag disappears’ is closed to new replies.