MyBB Community Forums

Full Version: Everything Centers (but only in IE)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've had problems with IE and my forum before. This time, everything centers apart from the last post.
hey

umm sorry !! i didn't get what u mean, can u pls explain more, and give some links

thx
Hi. Thanks for the relpy. My forum is here. All the text centers, the toplinks and logo are supposed to, but the text isnt.
Hey

umm actually the link isn't working ( it should be http://www.rawunleashed.co.uk/forum instead, u have an extra e after S Wink)

but in case all your text is centered , follow This thread

Quote:zaher1988:

helo there,

make sure of the align in Admin Cp> Themes,

it should be text-align: right;

regards


also umm it seems you have edited your templates, so if the above didnt help, please reset the changes you made, and as it seems u want the logo to be centered,

just go to admin cp > templates > expand > header

and find

Code:
div id="header">
            <div class="logo"><a href="$settings[bburl]/index.php"><img src="$theme[logo]" alt="$settings[bbname]" border="0" /></a> </div>

replace it by this

Code:
<div id="header">
            <div class="logo">
            ��<div align="center"><a href="$settings[bburl]/index.php"><img src="$theme[logo]" alt="$settings[bbname]" border="0" /></a> </div>
            </div>

the same for the top links.

regards
zaher1988 Wrote:Hey

umm actually the link isn't working ( it should be http://www.rawunleashed.co.uk/forum instead, u have an extra e after S Wink)

but in case all your text is centered , follow This thread

Quote:zaher1988:

helo there,

make sure of the align in Admin Cp> Themes,

it should be text-align: right;

regards


also umm it seems you have edited your templates, so if the above didnt help, please reset the changes you made, and as it seems u want the logo to be centered,

just go to admin cp > templates > expand > header

and find

div id="header">
			<div class="logo"><a href="$settings[bburl]/index.php"><img src="$theme[logo]" alt="$settings[bbname]" border="0" /></a> </div>

replace it by this

<div id="header">
			<div class="logo">
			  <div align="center"><a href="$settings[bburl]/index.php"><img src="$theme[logo]" alt="$settings[bbname]" border="0" /></a> </div>
			</div>

the same for the top links.

regards

This is what i had for the logo:

<div id="header">
			<div class="logo"><div align="Center"><a href="http://www.rawunleashed.co.uk/forum/index.php"><img src="images/logo.gif" alt="Raw Unleashed Forums" border="0" /> </a></div>

and i replaced it with the code you gave me, but it doesn't seem to have worked Sad This is what i have for the toplinks:

<ul><div align="center">
                                        <li><a href="http://www.rawunleashed.co.uk"><img src="http://www.ssa.se/menu/home.gif" border="0" alt="$lang->Home" />Main Site</a></li>
                                        <li><a href="http://www.rawunleashed.co.uk/forum/usercp.php"><img src="http://bbs.tol24.com/images/status/computer-16x16.gif" border="0" alt="Profile" />Profile</a></li>
					<li><a href="$settings[bburl]/search.php"><img src="$theme[imgdir]/toplinks/search.gif" border="0" alt="$lang->toplinks_search" />$lang->toplinks_search</a></li>
					<li><a href="$settings[bburl]/memberlist.php"><img src="$theme[imgdir]/toplinks/memberlist.gif" border="0" alt="$lang->toplinks_memberlist" />$lang->toplinks_memberlist</a></li>
                                       <li><a href="http://www.rawunleashed.co.uk/forum/misc.php?action=rules&fid=2"><img src="http://www.nintendolounge.com/images/star.gif" border="0" alt="Rules" />Rules</a></li>
                                       <li><a href="http://www.rawunleashed.co.uk/forum/portal.php"><img src="http://paintnation.net/board/images/images2/toplinks/portal.png" border="0" alt="Portal" />Portal</a></li>
                                        <li><a href="$settings[bburl]/misc.php?action=help"><img src="http://www.exoplatform.com/skin/portlet/decorators/default-action-icons/help-16x16.gif" border="0" alt="FAQ" />FAQ</a></li>
				</ul></div>

The css file says text-align: right; so it can't be that
helooo there,

actually keep the your code of logo as u had it, it's OK!! both are same
and so for the top links.

but my question, did u also align the whole site like that ?
are other things also aligned to center?

also please can u try to add text-align: right; to all the extra CSS fileds in themes.just to make sure.

Thanks for the help, sorted now. I changed them all to 'text-align: left;'