Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • shanefrench Friend
    #119484

    On some of my pages I create with wysiwyg editor, I want to center some content, such as an image or text.

    Tagging it <p align=”center>content here</p> doesn’t center it.

    It must be inheriting an align: left from somewhere, but I can’t figure it out. Any ideas?

    Michael Casha Friend
    #217056

    Got a link mate?

    shanefrench Friend
    #217057

    Here ya go…the image and the text link should be centered in the content area. At least it was in my last template:

    http://www.roverradio.com/index.php?option=com_content&task=view&id=1252&Itemid=191

    shanefrench Friend
    #217485

    Any idea on this? I’ve been scratching my head for some time on this one. I was able to get this content to center:

    http://www.roverradio.com/index.php?option=com_content&task=view&id=1804&Itemid=72

    But other content, like this, won’t center:

    http://www.roverradio.com/index.php?option=com_content&task=view&id=1252&Itemid=191

    Can’t figure out why. Looked at source, seems to be the same, using <p align=”center”>content</p>

    Using same html editor, etc (even trying hand-coding). Also looked at CSS in firefox developer plugin, don’t see anything keeping it to the left.

    Anyone have any ideas?

    shanefrench Friend
    #217846

    SOLVED: Add width: 100%; to table.contentpaneopen in template_css.css. Recommend changing for all new template downloads (text won’t center on current css if text is one line only – text will center if it wraps line).

    Should read as follows:

    table.contentpaneopen {

    border: none;

    width: 100%;

    }

    ShannonN Friend
    #217914

    shanefrench;12556SOLVED: Add width: 100%; to table.contentpaneopen in template_css.css. Recommend changing for all new template downloads (text won’t center on current css if text is one line only – text will center if it wraps line).

    Should read as follows:

    table.contentpaneopen {

    border: none;

    width: 100%;

    }

    Thanks for the heads up Shane, you have probably demonstrated to most of us here why we hate CSS and it’s intricacies

    ShannonN

Viewing 6 posts - 1 through 6 (of 6 total)

This topic contains 6 replies, has 3 voices, and was last updated by  ShannonN 17 years, 7 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum