I have an element that has styling like so:
h1#myId {
float: left;
width: 760px;
height: 40px;
font-family: Lato,Helvetica,Arial,sans-serif;
font-size: 28px;
font-weight: bold;
font-stretch: normal;
font-style: normal;
line-height: 1.43;
letter-spacing: normal;
text-align: left;
color: #373739;}
I would like to change this particular h1 to display:flex;justify-content:space-between;
using inline styles. I can't figure out how to clear the width attribute however.
Currently it looks something like:
<h1 id="myId" style="width: 784px;font-family: Lato,Helvetica,Arial,sans-serif;">
I would like to change it to:
<h1 id="myId" style="font-family:Lato,Helvetica,Arial,sans-serif;display:flex;justify-content:space-between;">
But I still have the width attribute in the CSS class that I don't want there.