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

Home Forums CSS [Solved] Text outside the div

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #157569

    Hi guys, im new to this world, i finished my site for the school’s practice but a problem appeared in front of me. Here the code and the preview:

    The site works fine with Chrome and IE11, but not with Firefox, as you can see the “quote” go outside of the div. Maybe the problem is the submenu, because if i put “overflow: hidden” in the header section the “quote” go inside the div but anyway you can’t see the submenu of “pianeti”.

    Sorry for my english, i hope that you can help me.


    The problem is with the image:

    .menu img {
      vertical-align: top;

    And then also remove #header’s height, because you don’t need it once the rule above is in place.

    It would be a good idea to create those header lines at left and right with just CSS.


    Thank you Merri, the solution was so easy…:/

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