Question

The following answer explains this for a CSS style sheet: https://stackoverflow.com/a/15535447/2263084

How can I do this as an inline style? (I am creating a webpage within a Wordpress site, do not have edit rights on the theme CSS file)

Was it helpful?

Solution

You can define a full style definition inside the html

<style type="text/css">
    .gist { width: 250px; }
</style>
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top