I am new to web design and have recently put my first site online. All seemed to be working okay until I discovered the other day that on a couple of pages there is a problem with some of my links.
I can’t see what is wrong and the only thing I can think of is that the Google Adsense ads are somehow causing the problem since this is really all that has changed.
Any help would be much appreciated as it is very frustrating!
It doesn’t seem to be a problem in IE8 but is is Firefox and IE6.
Thank you
Emma
PS Sorry if this is the wrong forum - I used PHP to develop the site hence I am posting it here.
This isn’t a php issue because web browsers use html and css to render and produce the web page, not php. php is a serverside programming language, so a web browser cannot ever see the php code.
The first few pages here give an overview of how it all works. I think it’s very important to understand this once you start using php to make websites.
But anyway, if the web page doesn’t look or work correctly, it’s almost always an html/css issue.
The error messages aren’t always crystal clear, but they at least point you towards the issues. Try to fix all errors, because one error can cascade and cause other errors. Main thing is you haven’t properly nested or closed some of your html tags.
Web browsers do their best to try to cope with your mistakes, but ultimately, you should strive to make it validate because you’ll get more consistent results. Otherwise, a browser has to guess to correct it, and they each guess differently, and they will guess wrong often.
Some text editors have nice support for html. For example, when you put the cursor on an html tag, it might highlight the opening and closing tag. This helps you spot these kind of mistakes. Also, being a total neat freak when it comes to indenting your html tends to be pretty helpful in avoiding improperly nested, or unclosed tags.
thanks for your quick reply. I will use the validator tool you suggest. I have used Dreamweaver to design my site and used the validiation tool there which didn’t identify any errors but I will see what this one shows up.
I think it is a CSS problem to do with positioning but just need to figure out what it is!