Title: how CSS controls style?
Last modified: August 18, 2016

---

# how CSS controls style?

 *  [Chema](https://wordpress.org/support/users/chema/)
 * (@chema)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/how-css-controls-style/)
 * I use the Travelogue theme, and itâ€™s all ok, but when a
 * div style=â€?text-align: left;â€? (or right or center)
 * appears in the html of a post, the size and format of the font changesâ€¦ Iâ€™m not
   a css programer, but I have some practiceâ€¦ how can I fix this problem about aling?
 * thanks for all guysâ€¦ ðŸ˜‰

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/how-css-controls-style/#post-310178)
 * I never put anything like that in the post (or Page); I always define these divs
   in my stylesheet, so I have to add only `div class="myleft"` and is good to go.
   
   Not having the font defined in the line you put in, it probably defaults to the
   font of the body or some container element.
 *  Thread Starter [Chema](https://wordpress.org/support/users/chema/)
 * (@chema)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/how-css-controls-style/#post-310773)
 * that isâ€¦ thanksâ€¦ ðŸ˜‰ I set the default font style to all containers and it works.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic â€˜how CSS controls style?â€™ is closed to new replies.

 * 2 replies
 * 2 participants
 * Last reply from: [Chema](https://wordpress.org/support/users/chema/)
 * Last activity: [20 years, 4 months ago](https://wordpress.org/support/topic/how-css-controls-style/#post-310773)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
