HTML & CSS
I've been trying to use 2 different sliders (bxslide and responsiveslides) and both of them appear on the left side of my website.
I want them centered.. How I can fix it?
Either the full code you're using or a link to your page would allow us to help without the need for a crystal ball.
In the absence of that, have you tried margin: auto ?
When you use the value auto, you’re allowing the browser to calculate the margins for you automatically. In most cases, the calculated value will default either to zero or to the distance required to reach the parent element’s edge. In the case of a block element that has a specified width, left and right margins to which a value of auto is applied will be set to be equal. This will effectively center the element in the available space.
Normally you'd have the slider inside a container like a div that's already centered, or inside a centered wrapper. As TechnoBear says, we need to see something to help.
This topic is now closed. New replies are no longer allowed.