Forums

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
    Posts
  • #168344
    e6z6a6z
    Participant

    Im using this plugin http://joelb.me/scrollpath/ for my website .. The Wireframe of my website looks like http://i.stack.imgur.com/ohcoa.png

    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 ??!

    #168371
    Alan C
    Participant

    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.