I have a div in a page which needs to be vertically centered. The css property is not getting applied unless i refresh the page
Im using css property "vertical-align: middle;" to make my div centered vertically. This works only when i reload the page. If i navigate to other page and come back to current page it is still the same. I had to reload the page again to make it appear in center
Can anyone help me out on this
Alle Antworten (2)
Can you post a link to a publicly accessible page (i.e. no authentication or signing on required)?
Then we can check if we can replicate this issue.
Also,
In order to better assist you with your issue please provide us with a screenshot. If you need help to create a screenshot, please see How do I create a screenshot of my problem?
Once you've done this, attach the saved screenshot file to your forum post by clicking the Browse... button below the Post your reply box. This will help us to visualize the problem.
Thank you!