Hello Peoples.
I am learning to code, and I'm actually finding it easier than I thought.
But, I am stuck on one problem.
When using a jquery Slider.
I got it all working okay, except for one thing. It stays to the left, even when enlarging the browser window. I do have responsive code for it, so it changes when browser window is shrunk.
I tried using margin: auto; but that centers it in browser screen, and the slider is offset to the left to allow a text box on the right. When it is margin: auto;, it overlaps the text box.
I also tried to set margin:auto; left: -229px and that works somewhat, but still doesn't scale right to browser size.
Is there a way to keep the left side of it aligned with the rest of the page when the browser resizes? I tried doing a search for the code, but couldn't find it. Maybe because I didn't know the right things to type into google.
Here's what I got for that slider box div line....
<div id="slider1_container" style="position: absolute; top: 365px; left: 0px; width: 800px; height: 456px; z-index: 100; background: #191919; overflow: ">
I have chosen a width of 1268 for the width of the webpage. For webpages 1280 x
? That extra 12px should allow for the slider bar on the right.
fyi, I tried to use relative as well, no difference.
Thanks in advance for your help, Codemasters!