WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Dead Links Stump the Band (5 posts)

  1. malger
    Member
    Posted 2 years ago #

    I've been coding since TBL was in short pants and I have never seen this happen. I've seen bad code cause a page to barf on its shoes, but I've never seen a page that loaded and displayed according to its styling AND REFUSE TO SHOW ANY LINKS. I'm hoping this is one for the books, 'cause I sure don't want to see it again.

    At my current sandbox: http://ottoprint.dreamhosters.com , the home.php page will load and display text and graphics correctly. But hover over any link (they're all over the place) and it won't do whatever it's supposed to do (mostly just change color), and the URL won't appear in the status bar. Clicking on link objects returns no results. (Well, a dumb bovine look from me, but otherwise, nothing.)

    The HTML and CSS run clean through W3C's validators. This can be reproduced on (I believe) any machine and browser. It has been tested on three and in MSIE, FF, Opera, Safari, and Chrome. Flushing the cache doesn't fix anything. I've done the permalinks setting "Save changes", the .htaccess file is fine, inspected the code, read the source, it all looks fine. I've had someone who's more savvy than I look at it to no avail.

    At this point, I'm hoping it's either something dumb and simple I'm overlooking or something rare and equally stupid I've never heard of, 'cause otherwise, I'm stumped.

    Please he'p!

    Regards,
    Mark Alger

  2. Arie Putranto
    Member
    Posted 2 years ago #

    CSS and HTML may be valid according to W3C, but it doesn't guarantee the page will load properly. I have visit your site and indeed it act weird. Despite that, I can assure you that it is not WordPress bug. Navigating from source is doable, it's just the links cannot be clicked on the live page.

    I suggest you to check your CSS once again, a simple layer positioned as absolute with an index of 1000, 1000px height and 1000% may cause a problem even they are valid CSS.

  3. michael.mariart
    Member
    Posted 2 years ago #

    I jsut ran the page through the W3C validator, and it picked up 5 errors. The first one was:

    Line 1, Column 1: Non-space characters found without seeing a doctype first. Expected <!DOCTYPE html>.

    This means that there's something being output to the page before your <!DOCTYPE> tag, and that's not allowed.

    I don't know if this i sgoing to help much, but when I looked at the source code in FireFox it showed that out in big red text as an error so I have a feeling that's what's causing the error.

  4. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    why the z-index of -10 ?

    #page {
    	width: 1000px;
    	position: relative;
    	top: 0px;
    	z-index: -10;
    	margin: 0 auto;
    	padding: 0;
    	height:  auto;
    	border:  none;
    	float:  none;
    	overflow:  hidden;
    }
  5. malger
    Member
    Posted 2 years ago #

    That is the detritus of an abandoned experiment. And eliminating it fixed the problem. Guess who won't do THAT again. Thanks ever-so.

    Regards,
    Mark Alger

Topic Closed

This topic has been closed to new replies.

About this Topic