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.

CSS Forum


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



Reply
Divs wont stay inside main div
Old 11-08-2010, 07:04 AM Divs wont stay inside main div
Average Talker

Posts: 15
Trades: 0
Hi,

i could really do with some help on a new website im doing for a charity.
basically i dont think i understand how floating works properly, and ive tried reading up on it.

I did the home page for a wbesite to get the layout etc. When i was working on it locally the site displayed fine. When i uploaded it to our test site the footer started behaivng really oddly. With the top border positioning at the top of the page and the text where it should be!

www.pandacomputingsolutions.info

If someone could help me out id super appreciate it.
Ive checked the width of the divs compared to the main one, and the numers seem to add up.

also, the header div is totally not displaying on test site!

Anyway, any help would be really appreciated.
Andy

Last edited by CraftyPanda; 11-08-2010 at 07:05 AM..
CraftyPanda is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-08-2010, 07:22 AM Re: Divs wont stay inside main div
edgray's Avatar
Super Moderator

Latest Blog Post:
Frantic
Posts: 4,264
Name: Sugarcane Gray
Location: Hell, Southern Spain
Trades: 0
looks like a float issue to me. you need to clear them:

http://www.webmaster-talk.com/css-fo...you-clear.html
__________________

Please login or register to view this content. Registration is FREE
- a project in video and sound.

Please login or register to view this content. Registration is FREE
"Absolute Rubbish, an insult to the blues." - NME.

Please login or register to view this content. Registration is FREE
- Come use our agency :)
edgray is offline
Reply With Quote
View Public Profile Visit edgray's homepage!
 
Old 11-08-2010, 07:25 AM Re: Divs wont stay inside main div
Average Talker

Posts: 15
Trades: 0
Quote:
Originally Posted by edgray View Post
looks like a float issue to me. you need to clear them:

http://www.webmaster-talk.com/css-fo...you-clear.html

Can I ask you which div I should clear? Ive read the link you posted, thanks for that, but something is still not clicking, becuase i dont understand.
CraftyPanda is offline
Reply With Quote
View Public Profile
 
Old 11-08-2010, 07:43 AM Re: Divs wont stay inside main div
Average Talker

Posts: 15
Trades: 0
Does matter, ive sorted it.

I read the float post you linked for me, then read it again, and then read it again!

So after all my head ache all i had to do was clear the floats for the footer! Im such a fool!
CraftyPanda is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Divs wont stay inside main div
 

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.16659 seconds with 12 queries