Quote:
Originally Posted by basskiller
6.0
But I have found a way to fix it.. atleast on my end
whereas the original looks like this
Code:
<div id="wrap">
<!-- logo -->
<a name="top"></a>
<div id="logo_block">
<div class="logo-l"></div>
<div class="logo-m"><div style="text-align:center"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" />$ad_location[ad_header_logo]</a></div></div>
<div class="logo-r"></div></div>
and I moved the "div" closing tag (in red) to here
Code:
<div id="wrap">
<!-- logo -->
<a name="top"></a>
<div id="logo_block">
<div class="logo-l">
<div class="logo-m"><div style="text-align:center"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" />$ad_location[ad_header_logo]</a></div></div> </div>
<div class="logo-r"></div></div>
which seems to make it work for me ..
again..Thanks for the skin..Probably the best I've seen in quite some time..Great work!!!
One other question
which font are you using for the logo? is there somewhere I can find that easily?
Thanks again
|
Quote:
Originally Posted by ChaosBurnt
Okay, I think the problem is the use of the secondary div, which struck me as superfluous when I used it, but the day had been a long one, you know how it is. Finding the source of problems once the skin is finished is not so easy, but the secondary div still makes no sense to me, so let's try this.
Find this:
Code:
<div id="logo_block">
<div class="logo-l"></div>
<div class="logo-m"><div style="text-align:center"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" />$ad_location[ad_header_logo]</a></div></div>
<div class="logo-r"></div>
</div>
Replace with this:
Code:
<div id="logo_block">
<div class="logo-l"></div>
<div class="logo-m" style="text-align: center;"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" />$ad_location[ad_header_logo]</a></div>
<div class="logo-r"></div>
</div>
Let me know how it goes 
|
Quote:
Originally Posted by basskiller
It seems to create the same problem as before
|
Quote:
Originally Posted by ChaosBurnt
I have to say basskiller, I'm lost for an answer, there is no reason what so ever for the code not to work I can think of.
Placing the end div where you say you have it will result in the div content being completely out of alignment.
I have searched extensively on the net for any other people reporting similar problems to the one you suggest but have yet to find anything the same, and most certainly have not found a solution. I could understand if the code was bad but the code I have used is perfectly correct, I'm at a loss mate
Just so you can see what I mean, this is the result of your notion in FF:
|
I think this problem is for some reasons in some browsers which they read every <div> in it's own line.
you can try this to make the two div in the same line and i think this will fix the problem:
add style="float: left;" so your code will be like this:
Code:
<div id="wrap">
<!-- logo -->
<a name="top"></a>
<div id="logo_block">
<div class="logo-l" style="float: left;"></div>
<div class="logo-m"><div style="text-align:center"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" />$ad_location[ad_header_logo]</a></div></div>
<div class="logo-r"></div></div>
OR
Code:
<div id="logo_block">
<div class="logo-l" style="float: left;"></div>
<div class="logo-m" style="text-align: center;"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" />$ad_location[ad_header_logo]</a></div>
<div class="logo-r"></div>
</div>
and of course you can set the
float for each
div there