B
B
bigbaraboom2011-10-17 18:16:18
css
bigbaraboom, 2011-10-17 18:16:18

Position:fixed only horizontally

There is a picture on the site, it has position: fixed so that it is always visible on the screen.

The site has a vertical and horizontal scroll. I want it to be fixed only horizontally, and for the vertical it would be absolute.

In this case, you cannot use an iframe (variants of this solution are also possible with it).

Tell me, I've already broken my head.

Thanks in advance for your reply.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Softlink, 2011-10-17
@Softlink

In general, from me so far such a decision is a link .

B
bigbaraboom, 2011-10-17
@bigbaraboom

Found a solution www.rickyh.co.uk/css-position-x-and-position-y/
But still I want to understand is it really impossible to solve a similar problem even with CSS3?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question