Forum Bugs

min-width attribute

rsands
I have a div being covnerted from html file to pdf but it isnt listening to the min-width: property.

I have a div with style="min-width:395px; text-align:right;"

On conversion it doesnt use min-width and doesnt align the text right. if i change it to width: 395px it works correctly?
jim_albright
Have you tried this in a CSS?

div#xyz {min-width:345px ; text-align: right}


I like to add a background color to make sure that I really am selecting the text properly.

div#xyz {min-width:345px ; text-align: right: background-color: pink ;}


This assumes

<div id="xyz">Here is stuff in the div</div>

Jim Albright
Wycliffe Bible Translators