WordPress.org

Forums

Positioning element relatively to one another (3 posts)

  1. Parneix
    Member
    Posted 4 years ago #

    Hi,

    I'm using 3.0.1 and styling a child theme based on Hybrid parent theme.

    I'm using the WP-Pagenavi plugin.

    With the settings I'm using (the settings specific with this widget), I'm left with 3 elements : current-page-of-total-pages, previous, next.

    Using the absolute property, I'm able the position them wherever I want. But I'd like them to be position relatively to one another, inside a box, a container, a table or something.

    Why? So when I go from "1 of 100" to "100 of 100" they stay centered with equal spacing between one another.

    Any suggestions will be appreciate.

    Thanks a lot,

    P.

  2. Parneix
    Member
    Posted 4 years ago #

    More precisely, I'd like all three element positioned relatively to one another within a fixed positioned container (or box or table).

    Like creating a field (top, right, bottom, left) which will be fixed in the page (won't move according to browser window size) and in which three elements could be, say align left, center, right.

    Thanks again,

    P.

  3. Parneix
    Member
    Posted 4 years ago #

    Ok, it's solved.

Topic Closed

This topic has been closed to new replies.

About this Topic