how to left justify anythingslider instance
# May 15, 2013 at 5:11 pm
How do I left justify the anythingslider instance? Right now it is in the center of the page, and no combination of positioning (static/absolute/relative…) seems to move it to the left. Right now I have the slider div directly inside a td element, and there is a lot of space between the leftmost td boder, and the left side of the slider. I want the left side of the slider to touch the leftmost td border.# May 15, 2013 at 6:47 pm
I’ve set the padding to 0 0 0 0 on the ‘anythingSlider’ div. This reduced the padding, and when I switch to absolute positioning, it moves to the upper left of the parent div, but this messes up the formatting. With relative positioning, the ‘anythingSlider’ still has a significant width, and the images appear in the middle. Is there another style I need to change?# May 15, 2013 at 6:49 pm
Um, er, like for instance, MARGIN! (blush) I set margin to 0, and the slider jumped left. A helpful discussion (although covers more than needed), is here:
You must be logged in to reply to this topic.