September 18, 201213 yr Morning, I admit, I'm a complete novice when it comes to web design, however I'm trying to create a basic website for a charity which I am a trustee of. Was wondering whether somebody would mind taking a quick look at where I've gone wrong? The website address is http://www,lewisedgethebrighteststar.org.uk The homepage appears roughly how I'd like it to, however if you go to http://www.lewisedgethebrighteststar.org.uk/about.html you'll see that everything has pushed out to the very edges of the page, losing the white border from the homepage. I'm sure it's something simple, maybe I've deleted a tag or added in an incorrect tag, but can't figure it out! Any help very much appreciated. Many thanks, Ps. Please forgive what I'm sure is VERY untidy and poor code...I did say I was a novice!
September 18, 201213 yr First, check for errors here http://validator.w3.org/ It shows 14 errors and 3 warnings including end tag for element "div" which is not open. Then post again if you still have a problem. Edited September 18, 201213 yr by Wickham
September 18, 201213 yr Author Thanks, is that extra end tag likely to be causing the issue? I've run it through the validator and am getting the same result - It's saying that the extra end tag is on line 105, but I only have 104 lines of code?
September 18, 201213 yr http://validator.w3.org/check?verbose=1&uri=http%3a%2f%2fwww.lewisedgethebrighteststar.org.uk%2fabout.html Yes, fix all you can, especially the li, ul and div issues then try.
September 18, 201213 yr Author Have got rid of the extra div tags, but when I try to correct things like - "End tag for "li" omitted" by inserting an end tag, it then tells me that there's an extra end tag for an element which is not open...
September 18, 201213 yr The LI/UL errors are being thrown up because it doesn't like the <br> statements between them. As for the layout. If you compare your front page to the one that doesn't work you use a class="center" to achieve this but you're not doing so on the About page. Work through your DIVs to make sure you have things as expected.
Create an account or sign in to comment