The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Graphic central alignment problem
I'm having trouble getting some graphics to align centrally in both IE and FireFox and I need to ask for some help please.
If you look at my main site in IE6/7 the top block and logo block are aligned, but if you view it in FireFox there is a drift to the right! http://skins4forums.com/vbskins/index.php I am using this as the html: Code:
<div id="top_block"> <div class="top-l"></div> <div class="top-m"></div> <div class="top-r"></div> <div id="topbar"><div style="text-align:center"><img src="$stylevar[imgdir_misc]/top-tag.gif" border="0" alt="" /></div></div> </div> and this as the css: Code:
/* top cells ================================== */ #top_block { margin: 0px; margin-left: auto; margin-right: auto; padding: 0px; width: 100%; clear: both; } #topbar { background-repeat:no-repeat; background-position:center; width: auto; height: 36px; padding: 0px; margin: -36px 0px 0px 0px; } .top-l { background-image: url(images/skins/finite/misc/top-l.gif); background-repeat: no-repeat; float: left; height: 36px; width: 70px; padding: 0px; margin:0px; } .top-m { background-image: url(images/skins/finite/misc/top-m.gif); background-repeat: repeat; height: 36px; margin: 0px 70px 0px 70px; width: auto; padding: 0px; } .top-r { background-image: url(images/skins/finite/misc/top-r.gif); background-repeat: no-repeat; height: 36px; float: right; margin-top:-36px; width: 70px; padding: 0px; } /* ================================================================================ */ The same applies for the logo block! Can anyone see what I'm getting wrong? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|