Jump to content

[SOLVED] Display value, when position:absolute


coolpro

Recommended Posts

1) At first display was none, i use javascript to display it when the event happens, and i use clientX and clientY to use absolute position in window. Of course, first i have to change display:none to other value. Is it big difference between using display:inline or display:block in my case? If not, why?

 

2) What is the difference between position:fixed and postion:absolute?

 

Thanks for answers

1) Maybe. You haven't given us enough information to say.

2) position fixed means that it will stay in the same position even if you scroll down on the screen. Position absolute means it will stay wherever you position it, but won't scroll.

 

Why don't you try these things out and see for yourself? It's usually easier than asking.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.