Forums

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

Home Forums CSS centering slide via css

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #43176
    moer2237
    Member

    I’m starting to love this forum!

    Anyone can help me center the slide? Preferably via CSS of course.

    [This is the webpage](http://www.mytravel22.com/login/kemaman/strong.html “”)

    #127124
    wolfcry911
    Participant

    if all the images will be the same width (as the two currently are) then give the ul that width and center it with auto left and right margins

    #127134
    moer2237
    Member

    tried it as per below:-

      Still doesn’t works. Any more ideas???

    #127136
    wolfcry911
    Participant

    the images are 1122px wide – why would you give the parent ul a width of 500px (furthermore, why would you do it via inline styling)? I said to use left and right auto margins (like your nav uses) – not the align attribute (which is deprecated – use css).

    .rslides {
    width: 1122px;
    margin: 0 auto;
    }

    #127144
    moer2237
    Member

    Sorry…didn’t get u the 1st time. Now it’s clear & solved. Thanks wolfcry911.

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