Author Topic: My error  (Read 3195 times)

Offline PeterP

  • Jr. Member
  • **
  • Posts: 27
    • Coromandel Town weather
My error
« on: November 22, 2012, 04:53:30 PM »
Hi Forum, I have done some bad programming, can anyone help me fix my error that is causing the footer to be not straight? Something to do with the link I think.

www.coromandeltownweather.net

thanks,
Peter

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: My error
« Reply #1 on: November 24, 2012, 07:39:36 AM »
Hi Peter,

Your problem is not with the bottom menu itself, but with last thing before this menu!
You have inserted "NIWA links" at bottom of right column, but since it contain a few
mistakes it reflects on lines below him(footer menu)

Then you only have to correct these:

Small errors (called "warnings"):
-  You have misplaced tags alt="..." and title="..."
you have included them in your <a href="http://..." alt="..." title="...">
instead of the right place... on the image, like this:
<img src="..." alt="..." title="...">

Reminders:
alt="" stands for "alternative text" to display when image is not available for some reason
title="" is for "tooltip" text displayed when mouse is over, but this is not a real "error",
just a not logical (a text to explain a text), but is allowed.

Mistake :
On line 172, you're using <image src="...  instead of <img src="... 

Error :
On your niva link, you forgot a simple character ">"
<a href="..."</a> instead of <a href="...">Click HERE</a> for Niwa UV Index.
Also, I've pointed in green that the text for your link is misplaced.
That is not a big error since browsers are clever enough to correct things like that.

Then, as you see only a few little mistakes

Best regards,
Jacques
« Last Edit: November 24, 2012, 07:44:54 AM by Mr.Meteo »
Please, consider supporting this site 

Offline PeterP

  • Jr. Member
  • **
  • Posts: 27
    • Coromandel Town weather
Re: My error
« Reply #2 on: November 24, 2012, 04:22:05 PM »
Thank you Mr Meteo!

I have learnt so much from you, I have only learnt by doing, and your guidance is so helpful.

I have so much fun I stay up until 2.00 a.m and start to make silly mistakes :( but the results are worth it.

Now to play with the "gallery" page, my aim is to present  images with nivo slider like from "Weather Blues".

Thanks again!

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: My error
« Reply #3 on: November 24, 2012, 05:47:04 PM »
Hi Peter,

You know when we do nothing, we don't do errors...
but my Dad said: "Experience is sum of all past errors!"  ;)

Gallery will be a great addition to your template!!!
I am in a hurry to see images of your 'corner of country' (??)!

Best regards,
Jacques
Please, consider supporting this site 

Offline PeterP

  • Jr. Member
  • **
  • Posts: 27
    • Coromandel Town weather
Re: My error
« Reply #4 on: November 24, 2012, 09:02:47 PM »
I have completed the setup of the gallery! Not as "smooth" or polished as "Weather Blues" though. but functional.

http://www.coromandeltownweather.net/images.php

Would welcome any suggestions to improve.

Now to add some custom images.

Peter
« Last Edit: November 24, 2012, 09:04:23 PM by PeterP »

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: My error
« Reply #5 on: November 25, 2012, 07:36:58 AM »
Hi Peter,

Things are going good!

If you want some hints, I can give you these:

1 - To edit file easier, Notepad++ is very good as it help you with a common mistake
(you made), forgetting to close things; like <div>...</div>. When you put your cursor
on a pair of tag like this, it highlight both tags as far as they can be in the text!!
Then, if you put cursor on a <div> (as example), if it doesn't highlight, you know that
the closing </div> is missing... very usefull!

Then, as you will see, after this comment: <!-- content ends -->.... 4 </div> is missing!
Keep in mind, in XHTML, all is open (like <p>), must be closed...</p>

2 - Your slideshow is out of center, you could correct it by modifying file gallery.css
find in it the section: #gallery and modify number in this line: width: 800px;

3 - Finally, in your file jquery.ad-gallery.css, at line 63, you wil find a section starting:
.ad-gallery .ad-image-wrapper .ad-image
in that section, simply remove line position: absolute;

A little detail, the .css files are hide in a sub-sub folder, a good way to find them is to look
in you top <head> section, you will find line <link... refering to them as this:
<link rel="stylesheet" type="text/css" href="lib/gallery/gallery.css" />

Then I wish you a lot of fun, and don't forget; Only way to have experience is to do errors!!  ;)

Best regards,
Jacques
Please, consider supporting this site