Jump to content

AppleScript "append html" omits some inline CSS.


Recommended Posts

I wanted to append html with applescript with some inline css:

 

<div style=\"text-align:center;\">
 <hr style=\"float:left;margin-left:auto;margin-right:auto;width:40%;\">
  TEXT
 <hr style=\"float:right;margin-left:auto;margin-right:auto;width:40%;\">
</div>

My note looks like this though:

<div style="text-align:center;">
 <hr style="float:left;"/>
  TEXT
 <hr style="float:right;"/>
</div>

 

Are some of these tags not allowed?

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...