Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: Top margain / footer css advice

  1. #11
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,881
    Thanks
    49
    Thanked 266 Times in 258 Posts
    Blog Entries
    56

    Default

    The basic page is fine now. But I don't see the script. Where is it?

  2. #12
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,132
    Thanks
    158
    Thanked 3 Times in 3 Posts

    Default

    At the bottom of the page lower let

  3. #13
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,881
    Thanks
    49
    Thanked 266 Times in 258 Posts
    Blog Entries
    56

    Default

    I don't get it. Are we talking about the same page? Here's what I did:
    1) I went to http://www.theremotedoctor.co.uk/basic.html
    2) I did a right-click and selected 'view source'
    3) At the top of the source page, I clicked on 'Edit'
    4) I then selected 'search' and typed 'scroll'
    5) The only thing I got was:
    Code:
    $('html, body').animate({
                scrollTop: $("#mainImage").offset().top
            }, 1000);
    Not the script I gave you.

  4. #14
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,132
    Thanks
    158
    Thanked 3 Times in 3 Posts

    Default

    Hi,
    Sorry about that,internet been on/off today.
    I seen the code that you advise and thought i can then just edit the code at the top being <li class="current"><a href="basic.html#top">Home page</a></li>
    Thanks for the help.

  5. #15
    Join Date
    Nov 2014
    Location
    On A Scottish Island
    Posts
    488
    Thanks
    0
    Thanked 62 Times in 58 Posts

    Default

    Have you run your page through the W3C Markup Validation Check? It reports 58 errors and 12 warnings. Any one of those could be the source of your problem.

  6. The Following User Says Thank You to styxlawyer For This Useful Post:

    theremotedr (05-20-2015)

  7. #16
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,132
    Thanks
    158
    Thanked 3 Times in 3 Posts

    Default

    Didn't know of such a thing so no.
    More work!

  8. #17
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,132
    Thanks
    158
    Thanked 3 Times in 3 Posts

    Default

    UPDATE
    I have gone through my pages and made edits reducing the error messages,thanks for the web link.
    Can you advise how i would correct the errors below.

    http://www.theremotedoctor.co.uk/basic.html#top
    Message 1 & code,
    Line 178, Column 83: End tag div seen, but there were open elements.
    <center><img src="m-images/uk-seller.jpg" alt="logo" class="border"></div>

    Message 2 & code,
    Line 178, Column 17: Unclosed element center.
    <center><img src="m-images/uk-seller.jpg" alt="logo" class="border"></div>

    http://www.theremotedoctor.co.uk/accaudi.html#topnav
    Message 3 & code,
    Line 160, Column 22: Section lacks heading. Consider using h2-h6 elements to add identifying headings to all sections.
    <section id="content">

  9. #18
    Join Date
    Nov 2014
    Location
    On A Scottish Island
    Posts
    488
    Thanks
    0
    Thanked 62 Times in 58 Posts

    Default

    HTML must be nested correctly so:

    Code:
    <div>...<center>...</div>...</center>
    will show as an error. The correct sequence is:

    Code:
    <div>...<center>...</center>...</div>

  10. The Following User Says Thank You to styxlawyer For This Useful Post:

    theremotedr (05-20-2015)

Similar Threads

  1. Need some advice or help.
    By VsUK in forum JavaScript
    Replies: 1
    Last Post: 06-05-2010, 05:17 PM
  2. I need an advice
    By Beesquetike in forum ASP
    Replies: 0
    Last Post: 04-02-2009, 10:24 PM
  3. i need some serious advice!
    By stoneymontana in forum ASP
    Replies: 1
    Last Post: 04-01-2008, 04:13 AM
  4. advice please
    By Foundas in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 11-30-2007, 08:01 AM
  5. Need an advice!
    By biochimistu in forum JavaScript
    Replies: 1
    Last Post: 05-22-2007, 08:39 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •