Problem making new page for website

  You are currently not logged in. You can view the forums, but cannot post messages. Log In | Register

27-May-09 23:40
This is my website :

www.blascanto.com/home_es.html

And I recently made a new page :

www.blascanto.com/tours_es.html

I know its not a huge problem, but I copied the exact HTML code from one of the other pages on the site and there is a gap at the top of the page where the image is. I've looked through all of the code and it is the same as the others and I really can't spot the problem, can anyone else help me ?

THANK YOU in advance,

Caroline.
28-May-09 00:55
Caroline, try changing:

<td background="images/bg.jpg" height="100%">

to:

<td valign="top" background="images/bg.jpg" height="100%">

In general you might want to go through the markup and clean it up - there are quite a few errors:

http://validator.w3.org/check?uri=http%3A%2F%2Fwww.blascanto.com%2Ftours_es.html&charset=(detect+automatically)&doctype=Inline&group=0

For example, you have two opening <body> tags!

Hope that helps

Cheers,
Matt

--
Matt Doyle, Elated
Second Edition of my jQuery Mobile book out now! Learn to build mobile web apps. Free sample chapter: http://store.elated.com/
28-May-09 14:52
Thank you.

I know there are alot of mistakes lol
Im no expert at HTML thats why I LOVE elated pages
01-Jun-09 00:15
To be honest I suspect some of the errors were in the original PageKit (it looks like quite an old one!). Anyway I hope that fixed your problem.

Matt

--
Matt Doyle, Elated
Second Edition of my jQuery Mobile book out now! Learn to build mobile web apps. Free sample chapter: http://store.elated.com/

 
New posts
Old posts

Follow Elated