danfickle / danfickle/openhtmltopdf

bottom-center large text

Open
#269 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.2k
Forks
423
PR merge metrics
No merged PRs in 30d

Description

Hello. I am trying leave a text in the left middle zone (margin), but there are a long text and get weird results. I will add an Example:

`@left-middle { content: "Texto de Prueba. Texto de Prueba. Texto de Prueba. ";}`
With this, I get these text in the correct zone multilined)

Then, I try make it vertical:
`@left-middle {
content: "Texto de Prueba. Texto de Prueba. Texto de Prueba. ";
-webkit-transform: rotate(-90deg);
-moz-transform: rotate(-90deg);
-ms-transform: rotate(-90deg);
-o-transform: rotate(-90deg);
transform: rotate(-90deg);
}`
![image](https://user-images.githubusercontent.com/3408992/44539855-7edeb600-a705-11e8-9e3c-41877ce969ed.png)

Finally, I try make it single-line:
```
overflow: hidden;
white-space: nowrap;
```
And all text move to middle screen instead the left, this is caused by white-space property, any idea?:
![image](https://user-images.githubusercontent.com/3408992/44540147-4db2b580-a706-11e8-85dc-223fdbf51622.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.