Why does position sticky not work?
Hi guys,
If you click on "AC-brytare" there will be som content on the right.
I want this content (.tabcontent) to automatically scroll down using position: sticky;
How come it does not work?
Best, Anders
<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style type="text/css">* {box-sizing: border-box} <body> {font-family: "Lato", sans-serif;} /* Style the tab */ .tab { float: left; border: 1px solid #ccc; background-color: #f1f1f1; width: 40%; height: 100%; }
How come position sticky does not work?
Hi all,
How come position sticky does not work for .tabcontent?
If you press "AC-brytare" you can see some content on the right.
I would like .tabcontent (right) to follow down the page as the left menu scrolls.
Thanks,
Anders
* {box-sizing: border-box}
body {font-family: "Lato", sans-serif;}
/* Style the tab */
.tab {
float: left;
border: 1px solid #ccc;
background-color: #f1f1f1;
width: 40%;
height: 100%;
}
Simple CSS positioning
I need to fix two elements on a page.
The first element is an .svg image, this one need to be in the middle of the page, always!
The second element is a text line, this one need to be in the bottom/center of the page, always!
The page is ready, but the second element is in the wrong position, it is at the top of the page, but I want it at the bottom.
That's what I've done...
Download link
https://we.tl/yXVBUBObWM
Change position custom css wordpress site
Hi all,
Im pretty new to css, so I hope you can help.
On this website: https://dinal.online/restaurants/ I would like to change the position of the "Location" and "km" bars. I was them to be on the same row. The Location-bar should be about 80% of the width and the km bar about 20%, with a little bit of space between them.
Someone a idea of what custom css could fix this?
Thanks for you time and help!
CSS (Weebly) blog sidebar, content width, scrollbars - Help, please!
Hi, everyone! I am new here and new to CSS!
