Forums

how CSS controls style? (3 posts)

  1. Chema
    Member
    Posted 6 years ago #

    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... ;)

  2. moshu
    Member
    Posted 6 years ago #

    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.

  3. Chema
    Member
    Posted 6 years ago #

    that is... thanks... ;) I set the default font style to all containers and it works.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags