<div> not working properly

Thread Solved

Join Date: Mar 2008
Posts: 7
Reputation: ohtechie is an unknown quantity at this point 
Solved Threads: 0
ohtechie ohtechie is offline Offline
Newbie Poster

<div> not working properly

 
0
  #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
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 154
Reputation: Suomedia is an unknown quantity at this point 
Solved Threads: 19
Suomedia Suomedia is offline Offline
Junior Poster

Re: <div> not working properly

 
0
  #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 7: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 Quick reply to this message  
Join Date: Mar 2008
Posts: 7
Reputation: ohtechie is an unknown quantity at this point 
Solved Threads: 0
ohtechie ohtechie is offline Offline
Newbie Poster

Re: <div> not working properly

 
0
  #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 Quick reply to this message  
Join Date: Mar 2008
Posts: 154
Reputation: Suomedia is an unknown quantity at this point 
Solved Threads: 19
Suomedia Suomedia is offline Offline
Junior Poster

Re: <div> not working properly

 
0
  #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 Quick reply to this message  
Join Date: Jan 2007
Posts: 3,210
Reputation: MidiMagic has a spectacular aura about MidiMagic has a spectacular aura about 
Solved Threads: 165
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Nearly a Senior Poster

Re: <div> not working properly

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

Re: <div> not working properly

 
0
  #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 Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the HTML and CSS Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC