User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 391,770 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,268 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 532 | Replies: 5 | Solved
Reply
Join Date: Mar 2008
Posts: 7
Reputation: ohtechie is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
ohtechie ohtechie is offline Offline
Newbie Poster

Help <div> not working properly

  #1  
Mar 22nd, 2008
Hi Guys me again, still working on the ohiochirorelief.com site. problem i'm having now is I'm trying to add a footer that spans the width along the bottom. but it doesn't. the text and graphic just appear at the end of the right column instead of the bottom of the left - center - right columns.

any ideas?

Thanks again..

OHTechie
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Mar 2008
Posts: 153
Reputation: Suomedia is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 19
Suomedia Suomedia is offline Offline
Junior Poster

Re: <div> not working properly

  #2  
Mar 22nd, 2008
Sounds like you have an open <div> tag, most likely in your right column..... looking.... nope, tag counts match.

Try this in your footer class: clear:both;

Try also fixing these errors: http://validator.w3.org/check?uri=ht...orelief.com%2F



Matti Ressler
Suomedia
Last edited by Suomedia : Mar 22nd, 2008 at 6:45 pm.
If you want your dreams to come true, the first thing you must do is to wake up....
Suomedia - Dynamic Content Management
Reply With Quote  
Join Date: Mar 2008
Posts: 7
Reputation: ohtechie is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
ohtechie ohtechie is offline Offline
Newbie Poster

Solution Re: <div> not working properly

  #3  
Mar 22nd, 2008
Ok, fixed the p tag, validated ok.. still not working in firefox worked ok in IE6 (even before fixing the p tag).. then i noticed the clear:both suggestion... that seems to have fixed it... thank you so much.. i'll do some research but can you tell me what the clear:both is? i haven't seen reference to it yet...

Thanks again

Originally Posted by Suomedia View Post
Sounds like you have an open <div> tag, most likely in your right column..... looking.... nope, tag counts match.

Try this in your footer class: clear:both;

Try also fixing these errors: http://validator.w3.org/check?uri=ht...orelief.com%2F



Matti Ressler
Suomedia
Reply With Quote  
Join Date: Mar 2008
Posts: 153
Reputation: Suomedia is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 19
Suomedia Suomedia is offline Offline
Junior Poster

Re: <div> not working properly

  #4  
Mar 22nd, 2008
You can read about it here: http://www.w3schools.com/css/pr_class_clear.asp


Matti Ressler
Suomedia
If you want your dreams to come true, the first thing you must do is to wake up....
Suomedia - Dynamic Content Management
Reply With Quote  
Join Date: Jan 2007
Posts: 2,510
Reputation: MidiMagic is on a distinguished road 
Rep Power: 7
Solved Threads: 103
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Posting Maven

Re: <div> not working properly

  #5  
Mar 25th, 2008
You need a clear: both; style to get full width again.
Daylight-saving time uses more gasoline
Reply With Quote  
Join Date: Mar 2008
Posts: 7
Reputation: ohtechie is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
ohtechie ohtechie is offline Offline
Newbie Poster

Re: <div> not working properly

  #6  
Mar 25th, 2008
Thanks Midimagic, that indeed was the correct solution. Suomedia pointed me to that as well as the information on what clear was.

Thanks for the info though

Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb HTML and CSS Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the HTML and CSS Forum

All times are GMT -4. The time now is 4:40 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC