Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
How Do I Fix Floating Comment Forms?
For some reason on all my permalinked entries my comment form tends to just float in the middle of the entry.
Example: http://11.acesaura.com/articles/46/metallic-gold
I can’t do nopop up comments because it always does the same thing. I can’t see anything wrong in my coding but I’m hoping this is a common problem that can be easily fixed. I looked through the FAQs but didn’t see anything unless I missed it.
I’d appreciate any guesses as to whats wrong with it because I can’t figure it out!
Thanks
Offline
Re: How Do I Fix Floating Comment Forms?
Hi Crystal,
You are missing some elements like the <body>
tag in your template. Also doctype is missing. Try to validate your page. Once some of those are corrected I guess all that you will need is something like
.comments-wrapper {clear:both;}
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: How Do I Fix Floating Comment Forms?
The issue is not that it floats but that it is absolutely positioned.
On line 48 of your CSS you have a selector:-
div {
...
position:absolute;
...
}
Set the styling for .comments-wrapper
to static
or relative
.
By the way, positioning a generic tag like div with such specific CSS isn’t a good idea. I noticed that most things are positioned absolutely which will make things difficult to order. I think you are going to need to take another look at the whole CSS and use position:static
, floats and clearers instead of absolutely positioning everything.
Last edited by Timid&friendly (2009-06-03 11:49:53)
I think, therefore I AM, … … er … I think :-?
Offline