943,960 Members | Top Members by Rank

Ad:
Mar 22nd, 2008
0

<div> not working properly

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
ohtechie is offline Offline
7 posts
since Mar 2008
Mar 22nd, 2008
0

Re: <div> not working properly

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.
Reputation Points: 15
Solved Threads: 19
Junior Poster
Suomedia is offline Offline
154 posts
since Mar 2008
Mar 22nd, 2008
0

Re: <div> not working properly

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

Click to Expand / Collapse  Quote originally posted by Suomedia ...
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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
ohtechie is offline Offline
7 posts
since Mar 2008
Mar 22nd, 2008
0

Re: <div> not working properly

You can read about it here: http://www.w3schools.com/css/pr_class_clear.asp


Matti Ressler
Suomedia
Reputation Points: 15
Solved Threads: 19
Junior Poster
Suomedia is offline Offline
154 posts
since Mar 2008
Mar 25th, 2008
0

Re: <div> not working properly

You need a clear: both; style to get full width again.
Reputation Points: 730
Solved Threads: 181
Nearly a Senior Poster
MidiMagic is offline Offline
3,314 posts
since Jan 2007
Mar 25th, 2008
0

Re: <div> not working properly

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

Reputation Points: 10
Solved Threads: 0
Newbie Poster
ohtechie is offline Offline
7 posts
since Mar 2008

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in HTML and CSS Forum Timeline: set target in a cell of table
Next Thread in HTML and CSS Forum Timeline: Css With Different resolution





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC