Why positioning is not working?
-
Hi, I am trying to position My Account button to the right and the logo at the left but both should be at the same level. I am trying below code but the top position is not working. Why?
Please check this image[^] Thanks, Jassim[^]
Technology News @ www.JassimRahma.com
-
Hi, I am trying to position My Account button to the right and the logo at the left but both should be at the same level. I am trying below code but the top position is not working. Why?
Please check this image[^] Thanks, Jassim[^]
Technology News @ www.JassimRahma.com
Maybe your elements' position is
relative
. Try to change it toabsolute
. Something like:<img src="images/logo.jpg" style=" margin-top: 0; margin-left: 0px; position: absolute;">
<img src="images/my_account.png" style="margin-top: 0; margin-left: 500px; position: absolute;"> -
Hi, I am trying to position My Account button to the right and the logo at the left but both should be at the same level. I am trying below code but the top position is not working. Why?
Please check this image[^] Thanks, Jassim[^]
Technology News @ www.JassimRahma.com
Just use
float
property