Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Div Float Display Problem
Old 11-07-2010, 08:39 PM Div Float Display Problem
Junior Talker

Posts: 4
Name: Brian
Trades: 0
Here is my site:
http://bgallz.org/556/php-pagination-mysql/

The homepage displays okay, but if you see what I mean by the div's not displaying right with the float properties - it's how the left sidebar and the right sidebar are both pushed under neath of the center column.

-** I just came across this, it only seems to make this problem when you aren't logged in. **-

Thanks for any help!

Last edited by bgallz; 11-07-2010 at 08:41 PM..
bgallz is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-08-2010, 02:34 AM Re: Div Float Display Problem
Novice Talker

Posts: 5
Name: Waqas
Trades: 0
I believe the best thing would be to take out #leftcol out of the #centercol in t he code.

So it would look like:
<div id="leftcol">
whatever content
</div>

<div id="centercol">
whatever content
</div>

<div id="rightcol">
whatever content
</div>
speedguy is offline
Reply With Quote
View Public Profile
 
Old 11-08-2010, 08:29 AM Re: Div Float Display Problem
Junior Talker

Posts: 4
Name: Brian
Trades: 0
That doesn't seem to make any difference...

It's like that when logged in now, like here:
http://bgallz.org/programming/psd-css-converting/

I thought it was like a HTML/PHP misplacement or something but it shows up bad on that page logged in.
bgallz is offline
Reply With Quote
View Public Profile
 
Old 11-08-2010, 10:53 AM Re: Div Float Display Problem
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
You must make sure that all of your widths combined are not wider than their container, which is what it appears is happening, so you get float drop.

You must also understand that padding ADDS to the width of an element, it is NOT the space inside the box.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 11-08-2010, 04:43 PM Re: Div Float Display Problem
Junior Talker

Posts: 4
Name: Brian
Trades: 0
Yeah I thought about the widths and that doesn't seem to make a difference.

I changed the left and right columns to smaller widths and they still drop to the bottom. Plus I don't see why the widths would change on certain pages or when logged in/not logged in.

I'm still lookin around in the code. I'm gunna try expanding the page's width all together, but I'm pretty sure I already tried that haha
bgallz is offline
Reply With Quote
View Public Profile
 
Old 11-08-2010, 08:58 PM Re: Div Float Display Problem
Junior Talker

Posts: 4
Name: Brian
Trades: 0
I mean........ lolz?
bgallz is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Div Float Display Problem
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.25906 seconds with 12 queries