I am working on a new design for my movie blog, the work in progress can be found here: http://test.filmabend.info
I have a problemm with my single.php and specifically the way Firefox displays it:
I want the commentform to appear within the white background of the "post" div, that means the bottom with the rounded corners
should appear AFTER the comments and AFTER the comment form.
Here is my single.php code:
< ?php if (have_posts()) : while (have_posts()) : the_post(); ?>
Veröffentlicht von < ?php the_author() ?> am < ?php the_time('d. F Y') ?> um < ?php the_time('H:i') ?> Uhr in < ?php the_category(', ') ?> | < ?php the_tags( 'Tags: ', ', '); ?>
< ?php comments_template(); ?>
< ?php wp_link_pages();?>
< ?php endwhile; else: ?>
Sorry, no posts matched your criteria.
< ?php endif; ?>
< ?php get_sidebar(); ?>
< ?php get_footer(); ?>
The funny thing is that it works the way i want it in IE7, but not in Firefox, Firefox will push the fields for the commentform outside of the background…
First i thought i closed too many divs or something, but i can`t find my mistake. Would be nice if someone could help.
Add overflow: hidden to .entrybottom and validate your html.
I personally prefer
Overflow:hidden seems like an accident that was not originally intended to work that way… and I don’t know how to use it right ;). It looks like either one would work here.
Using clear both would make your bottom div CSS:
Thanks for the help, it really works and i went for the
Thanks again :)
You must be logged in to reply to this topic.