WordPress.org

Ready to get started?Download WordPress

Forums

whats wrong about this? (21 posts)

  1. john1000
    Member
    Posted 9 years ago #

    just added the comments plugin ....and as expected i cant get it valid...
    As podz helped me yesterday with simular thing i thought i just used the same tags but thats a no....no..
    So what is wrong about this.....
    <li id="commented">

  2. Commentaar......
    • <?php get_recently_commented(2); ?>

  • Mark (podz)
    Support Maven
    Posted 9 years ago #

    Try this ?
    <li id="commented">

  • Commentaar......

  • <?php get_recently_commented(2); ?>

  • john1000
    Member
    Posted 9 years ago #

    well podz you narrowed it down to just one error....
    Line 451, column 3: document type does not allow element "li" here; missing one of "ul", "ol", "menu", "dir" start-tag

  • Commentaar......


  • and what does that mean ?

  • Mark (podz)
    Support Maven
    Posted 9 years ago #

    Try this instead:

  • Commentaar......

  • <?php get_recently_commented(2); ?>

  • john1000
    Member
    Posted 9 years ago #

    still one podz.....lol
    Line 451, column 3: document type does not allow element "ul" here; assuming missing "li" start-tag

  • Mark (podz)
    Support Maven
    Posted 9 years ago #

  • Commentaar......
    <?php get_recently_commented(2); ?>
  • john1000
    Member
    Posted 9 years ago #

    that was it podz .....thanks again....
    btw before i forget,.....
    did you get the last mail i send you yesterday about the few things i need to take out of the comments popup ?
    i cannot find a few tags it shows and the space above the word....comments i want taken out...

  • Mark (podz)
    Support Maven
    Posted 9 years ago #

    This line
    <li id="recent">
    Change it to

  • Recent Posts
    Or what the dutch is for that anyway :)
    ============
    Comments.
    Open wp-comments-popup.php
    Find this line:
    <h1 id="header">"><?php echo get_settings('blogname'); ?></h1>
    Remove it.
    That will take away the white space.

  • john1000
    Member
    Posted 9 years ago #

    thanks podz....nice...very nice,
    where can i find these...
    <b>

    <i> <strike>

  • Mark (podz)
    Support Maven
    Posted 9 years ago #

    Same file, just further down :)

  • john1000
    Member
    Posted 9 years ago #

    ah got it.
    btw.....how do i change that comments stuff in the css so the background image covers the whole popup ?
    this was your code...
    ol#comments li p {
    font-size: 100%;
    }

    ol#commentlist li {
    border-left: solid 1px #ff0000;
    border-right: solid 1px #ff0000;
    border-top: solid 1px #ff0000;
    border-bottom: solid 1px #ff0000;
    margin: 10px;
    background-image: url('myback.jpg');
    }

  • Mark (podz)
    Support Maven
    Posted 9 years ago #

    #commentspopup {
    background-image: url('myback.jpg');
    }
    That should do it......

  • john1000
    Member
    Posted 9 years ago #

    indeed podz thanks,youve been a great help once again..... :)

  • Mark (podz)
    Support Maven
    Posted 9 years ago #

    This would bug me, so it might you.
    In Commentaar, the time is blue.
    This should change it:
    In index.php, you have this:

  • Commentaar......
    Change it to
    <li id="commentaar">Commentaar......
    Then, in the css, put this:
    #menu ul li#commentaar ul li {
    border: 0px none;
    letter-spacing: 0;
    margin-top: 0;
    padding-left: 12px; font-style:normal; font-variant:normal; font-weight:normal; line-height:115%; font-size:80%; font-family:Lucida Grande, Lucida Sans Unicode, Verdana, sans-serif; padding-right:0; padding-top:0; padding-bottom:0
    }
    That should make the date/time the same as the black text.
    If it doesn't, I'll help tomorrow - it's 1:10am, and I'm off to bed :)

  • john1000
    Member
    Posted 9 years ago #

    oh hi podz....
    sorry i saw to late that you posted again....
    i added the lines as you posted them and got no error and validates...
    but the colors are the same...

  • Mark (podz)
    Support Maven
    Posted 9 years ago #

    Put that in there as well :
    color: #000;

  • john1000
    Member
    Posted 9 years ago #

    oh okay....now its fine.
    he podz any easy way to give it some extra's here and there with some mouse-over effects...?

  • Mark (podz)
    Support Maven
    Posted 9 years ago #

    Mouseover.
    If it uses javascript, then some browsers won't be able to have that effect.
    If it's CSS and hover behaviour, then yes, to an extent, but anything fancy and you risk causing odd effects elsewhere on the page when they happen.
    Lots of scripts and directions here:
    http://www.dynamicdrive.com/

  • john1000
    Member
    Posted 9 years ago #

    yes i know but i was thinking within the css style,do you know anyone who made some ...or by examples...?

  • Mark (podz)
    Support Maven
    Posted 9 years ago #

    From my guide:
    This is an example of overkill!
    #menu ul ul li a:hover {
    font-size: 150%;
    border-bottom: 1px solid #809080;
    border-top: 2px dotted #00ff00;
    }
    And check the crayon blog there too.
    http://www.mfr.f2s.com/1css/

  • john1000
    Member
    Posted 9 years ago #

    ok thanks podz....

  • Topic Closed

    This topic has been closed to new replies.

    About this Topic

    Tags

    No tags yet.