-
AuthorPosts
-
April 2, 2007 at 3:23 am #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 FriendMichael Casha
- Join date:
- September 2014
- Posts:
- 2561
- Downloads:
- 1
- Uploads:
- 32
- Thanks:
- 41
- Thanked:
- 119 times in 1 posts
April 2, 2007 at 3:36 am #217056Got a link mate?
April 2, 2007 at 3:40 am #217057Here 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
April 8, 2007 at 7:28 pm #217485Any 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?
April 12, 2007 at 10:30 pm #217846SOLVED: 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 FriendShannonN
- Join date:
- July 2006
- Posts:
- 1947
- Downloads:
- 0
- Uploads:
- 9
- Thanks:
- 16
- Thanked:
- 172 times in 49 posts
April 13, 2007 at 4:08 pm #217914shanefrench;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
-
AuthorPosts
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