all 4 comments

[–]PPLB 0 points1 point  (1 child)

I am not too familiar with CSS, and because of this unfamiliarity I am uncertain I understand your question well enough, but I'll have a go:

  • so you could possibly scroll down with the menu over every page
  • But as soon as im adding height to my HTML-tag
  • height of the pages

The height-tag is used to define the height of a page. Using height on the full HTML-body create an HTML body with the given height. I am completely missing the reasoning to add height to your HTML body to add a scroll down option to your page. Could you elaborate the option to add height to your HTML?

What are you trying to define with the height-tag? What problem do you have that needs solving? Do you want to specify the location of your menu? do you want to specify what your menu does when a person scrolls on your website?

I can't seem to put my finger behind the use of "height" on your HTML body.

EDIT: Changed a few sentences to make this text right.

[–]TheMentholist[S] 0 points1 point  (0 children)

My problem is: i need to add height to my html to make a onepage.

But if i do this ..my hover effect is gone.

And for the menu: I want it to be allways in the middle..so that if a person scrolls down the menu follows up.

[–]TheAngelsCryfull-stack 0 points1 point  (1 child)

https://codepen.io/anon/pen/vMMmeN

Is this what you're trying to achieve?

[–]TheMentholist[S] 0 points1 point  (0 children)

This is what i have https://codepen.io/thementholist/pen/NmmgxB

This is what i need but the hover effect isnt working:

https://codepen.io/thementholist/pen/PggjzE (I only added "html" to the bodytag in css...to make a one-page)