• Resolved riksan

    (@riksan)


    Hi
    Newbie who’s managing my site, which someone else built for me years ago. He is no longer available to ask!
    I’m having problems with left align (right align seems to wrap ok). Having trawled the forum I see it is often a problem with the theme CSS.
    I looked in my theme CSS and it is essentially empty bar for a few lines about the guy who developed it.
    I tried adding the code as suggested in other posts:

    img.alignright {float:right; margin:0 0 1em 1em}
    img.alignleft {float:left; margin:0 1em 1em 0}
    img.aligncenter {display: block; margin-left: auto; margin-right: auto}
    .alignright {float:right; }
    .alignleft {float:left; }
    .aligncenter {display: block; margin-left: auto; margin-right: auto}

    But nothing seems to happen.
    Does the CSS actually work – or is it being overridden from something else – given that it essentially is empty apart from what I’ve just put in.

    Thanks for your help

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

The topic ‘Left align not working – a CSS issue’ is closed to new replies.