My question is a little hard to explain! Basically, I'm designing a website in HTML/CSS, and I need the logo to always be at the top left. On a windows machine, you can resize the browser from any side if I resize from the left hand side, my logo gets cut off.
A good example of what I'm looking for is facebook, however you resize the screen the logo will stay locked in the top left corner.
Am I having a blonde moment here, or is there a specific way of doing it?
You can use two values top and left along with the position property to move an HTML element anywhere in the HTML document. Move Left - Use a negative value for left. Move Right - Use a positive value for left. Move Up - Use a negative value for top.
Does this CSS not do the trick?
position:absolute;
left:0;
top:0;
position:fixed; top:0; left:0;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With