Recent Topics

1 Apr 09, 2009 23:40    

My b2evolution Version: 2.x

hello! i'm pretty new to this forum but i've been a longtime fan as i peruse through for tips and tricks!

however, i'm having a really frustrating problem with a blog that i am currently designing..

my template utilizes floating columns.

everything looks great on my PC in both Mozilla and IE6..
it even looks fine on a MacBookPro in Mozilla.

but for some reason the center column is truncated when I use MacBooks!? (on Mozilla)

i've searched throughout this forum and others around the web and i've just come to a deadend.. so i thought i'd ask the pro's directly!

this is my stylesheet (i've removed a lot except for the basic structure div classes..)


div#wrapper {
	background:#cccc99;
	width: 1000px;
	margin: 0 auto;
	padding: 0;
}

div#MainPage{
	background:#cccc99;
	width: 1000px;
	margin: 0 auto;
	padding: 0;
}

div.pageHeader {

	background: url(img/HomeHeader.jpg) no-repeat bottom center;
	width: 1000px;
	height: 140px;
	border-left: 1px solid;
	border-right: 1px solid;
}

div.pageHeaderLinks {
	background: #990000;
	border: 1px solid;
	width: 1000px;
	height: 30px;
}

/*Left of Post Box*/
.bSideBar {

	width: 230px;
	float: left;
	position:absolute;
	overflow: hidden;
	border-left: 1px solid;
	/* background: #900; */
}

/*Right of Post Box*/
.bChatBox {
	position: relative;
	width: 280px;
	float: right;
	padding: 10px 10px 10px 10px;
	background-color:#CCCC99;
	border-right: 1px solid;
}

.bPosts {
	margin-left: 230px;
	margin-right: 280px;
	overflow: hidden;
}

here's my template (again, i've removed all of the php code and lots of the excess tags for readability)


<div id="wrapper">


<div class="pageHeader">
</div>

<div class="pageHeaderLinks">

		<table id="Table_01" width="1000" height="30" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td>
			<a href="http://www.bulgeacrossamerica.com/home.php">
				<img src="/../../../images/home.jpg" width="78" height="30" border="0" alt=""></a></td>

		<td>
			<a href="http://www.bulgeacrossamerica.com/about.php">
				<img src="/../../../images/about.jpg" width="84" height="30" border="0" alt=""></a></td>
		<td>
			<a href="http://www.bulgeacrossamerica.com/bio.php">
				<img src="/../../../images/bio.jpg" width="51" height="30" border="0" alt=""></a></td>
		<td>
			<a href="http://www.bulgeacrossamerica.com/photos.php">
				<img src="/../../../images/photos.jpg" width="96" height="30" border="0" alt=""></a></td>

		<td>
			<a href="http://www.bulgeacrossamerica.com/videos.php">
				<img src="/../../../images/videos.jpg" width="90" height="30" border="0" alt=""></a></td>
		<td>
			<img src="/../../../images/header-blankspace.jpg" width="220" height="30" alt=""></td>
		<td>
			<a href="http://www.bulgeacrossamerica.com/alwin.php">
				<img src="/../../../images/alwin.jpg" width="77" height="30" border="0" alt=""></a></td>
		<td>

			<a href="http://www.bulgeacrossamerica.com/bryce.php">
				<img src="/../../../images/bryce.jpg" width="81" height="30" border="0" alt=""></a></td>
		<td>
			<a href="http://www.bulgeacrossamerica.com/carl.php">
				<img src="/../../../images/carl.jpg" width="73" height="30" border="0" alt=""></a></td>
		<td>
			<a href="http://www.bulgeacrossamerica.com/joey.php">
				<img src="/../../../images/joey.jpg" width="66" height="30" border="0" alt=""></a></td>
		<td>

			<a href="http://www.bulgeacrossamerica.com/peter.php">
				<img src="/../../../images/peter.jpg" width="84" height="30" border="0" alt=""></a></td>
	</tr>
</table>

</div>

<div id="MainPage">

<!-- ==================== START OF LEFT SIDEBAR ===================== -->
<div class="bSideBar">


</div>

</div>

<!-- ============= START OF RIGHT SIDEBAR ==========

<div class=”bChatBox”>

</div>




<!-- =============== START OF MAIN AREA =============== -->
<div class="bPosts">


</div>




</div>

please yell at me if i've screwed something up royally or if you need me to post more of the code.. :)

i can't thank you guys enough! i'm just at a loss of what to do now..

2 Apr 09, 2009 23:48

Hi moodecaribou. Welcome to active participation in the forums ;)

First goodest question to ask and ensure is a "yes" answer is this: does your blog page have valid xhtml and css? google xhtml validator and css validator to find the pages that'll let you know, and then take care of what you can - if there is anything to take care of.

Oh and this is only a shot in the dark. Basically all I know about MacBooks is they're books by a guy named Mack. Or something like that. BUT valid xhtml and css are pretty much the place to start with display problems.

I think. Usually gets me in trouble but I do it anyway.

3 Apr 10, 2009 07:20

buy me an Macbookpro and i ll solve it P:

a.) provide a screenshot so that we can actually see what the problem looks like..

b.) what skin are you using / which skin is your skin derived from

c.) try adding position: relative to your floated divs

4 Apr 10, 2009 09:29

thanks a lot for the speedy replies! it's always nice to be happily surprised :)

and i'll be sending that macbookpro in the mail once our roadtrip gets sponsored by redbull or mtv :) hahaha

i was actually thinking about posting some screenshots up tonight so i'm glad you asked!

i also realized that the problem is unique to the webkit rendering engine found on both safari and google chrome (so i could actually pinpoint the problem on my computer as well now)

this is with firefox:

http://www.bulgeacrossamerica.com/correct.jpg

this is with googlechrome (webkit rendering)

http://www.bulgeacrossamerica.com/truncate.jpg

but in the mean time i'll try some of your suggestions..

(and i was able to validate the css.. so i guess that was fine..)

and once i again i will bow to your wisdom!

thanks..[/img]

5 Apr 10, 2009 10:07

You may like to look at your layout in IE6 as well ;)

¥

6 Apr 10, 2009 10:13

overflow:hidden seems like a good place to look considering g content in bPost is indeed "hidden" .
Also check for any "ChatBox" script issues.

7 Apr 10, 2009 11:42

John wrote:

overflow:hidden seems like a good place to look

i had a similar problem particular with google chrome.. dont remember exactly what it was, but it may well be overflow:hidden..

other possible solutions; try

adding: position: relative; not to the .bPost but to the parent div..(i may advise which that is if you provide a link to your blog)

adding: z-index: 20 /*a positive value greater than bPost's if it has any*/


Form is loading...