The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Center Align Div having width 100%

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #168344

    Im using this plugin for my website .. The Wireframe of my website looks like

    As you can see the path is in white color and the boxes are the divs which needs to be placed. i want my div to be 100% in width and center aligned but when i do it the divs are not in the center they float towards right but when the size is less than 800px they remain at the center… Can anyone please help me out ??!

    Alan C

    Can you show me an example in codepen? I’m sorry but I’m having trouble visualizing the issue and it would be easier with code to play with.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.