View Full Version : Anchor Tag Problem, anyone help?
Stationery-Direct
30th April 2009, 08:11
Hi Guys n Gals
Having a bit of a problem today if somebody can point me in the right direction...
Visit this page http://www.stationery-direct.co.uk/business-card-printing.php
Under "Optional Extras" you will notice a section that says...
Multiname business cards, see below for details
If you click "see below" you will see my problem, the bar that displays behind the top nav shows up and there is a problem with the footer.
Any ideas??
Many thanks
Damon
fisicx
30th April 2009, 08:54
The problem appears to be in your CSS. If you look at the site using opera in accessibility layout (no CSS) it works fine.
This is going to be a needle in a haystack type job as you hunt for the the one line of code that's buggering things up. A good palce to start would be to remove the id="multinamebusinesscards" style from the document (it doesn't appear to be in the CSS). I'd then set up another named anchor withing the document and see if the same thing happens again. If this is the case then they maybe a problem with your url mod rewrite.
I hate problems like these as it's usually some innocent line of code that is conflicting with somethign else.
jadexsoln
30th April 2009, 09:44
Could be you have too many closing DIV's. A quick count shows 25 opening <div> but 26 closing </div>.
Often when I've had this sort of problem it's been because there is a missing closing tag or an extra opening/closing tag. So the elements don't quite get bounded where you expect. My first port of call in this situation is to start adding borders as construction lines to each block level element to search out the offending item.
The other thing is to make sure both your HTML and CSS validate, this is always the first port of call.
Stationery-Direct
30th April 2009, 12:07
Thanks guys, will take a look at the divs.
I think we worked on a few problems before did we?
Best of luck - I admire your DIY attitude to your site!
Need any more help drop me a line.
:)