Support » Fixing WordPress » next_posts_link

  • Resolved miowebdesigns

    (@miowebdesigns)


    I am using next_posts_link and previous_posts_link to move around my posts. The site is site link. The problem I have is that depending on the browser it doesn’t always render at the bottom where I placed it. Sometimes it shows up under the first row of posts which happens to be in the middle of the second row of posts. I will include the CSS and HTML.

    [code moderated - please follow http://codex.wordpress.org/Forum_Welcome#Posting_Code when posting code]

    [CSS code moderated - the link to your site is enough to access the stylesheet]

    Any ideas on how to get this to be consistent on all browsers?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Sorry the link to the site ended up as the text. My bad.

    absolute positioning uses the last positioned element as reference; if none is defined, that is the browser window.
    http://www.w3schools.com/css/css_positioning.asp

    the nav position is set in /css/work/css:

    #work_space .nav-box {
    	position: absolute;
    	bottom: -40px;
    	left: 0px;
    	}

    if you add position: relative; to the style of #main or #content, for instance, you would get a browser independant referendce point; then reconsider the position on the nav.

    Thank you. I over looked the position: relative. I thought I had it. I appreciate the help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘next_posts_link’ is closed to new replies.