Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Problem with divs in single.php (WordPress)

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #24786
    omaha82
    Member

    Hey,

    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

    Code:

    should appear AFTER the comments and AFTER the comment form.

    Here is my single.php code:

    Code:


    ‘,’

    ‘); ?>

    Sorry, no posts matched your criteria.



    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.

    Thanks,
    omaha

#57133
apostrophe
Participant

Add overflow: hidden to .entrybottom and validate your html.

#57139
AshtonSanders
Participant

I personally prefer

Code:
clear:both

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:

Code:
.entrybottom {
background:transparent url(images/layout/entrybottom.png) repeat scroll 0 0;
clear:both;
height:21px;
width:661px;
}
#57258
omaha82
Member

Thanks for the help, it really works and i went for the

Code:
clear: both;

solution.

Thanks again :)

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.