![]() |
Any html gurus about (markup validation)
I have successfully removed 36 of 39 errors from my web site but have the following 3 errors still remaining in the source included at the bottom.
Quote:
|
Re: An php gurus about (markup validation)
Why PHP markup, you've tried to put it through the XHTML validator. It's not complaining about the PHP. Any chance of seeing the whole document that you're trying to validate, can sometimes pick things that are causing these errors further on. What doctype are you using? For staters it appears that you specified a list (li) without saying what kind (Unordered UL or ordered OL).
|
Re: An php gurus about (markup validation)
Quote:
---------- Post added at 22:52 ---------- Previous post was at 22:43 ---------- To fix the form validation errors, just put <fieldset></fieldset> around your input tags |
Re: An php gurus about (markup validation)
Quote:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> ful document is http://pinkforgirls.co.uk/wp-content...-101/index.php |
Re: An php gurus about (markup validation)
Sorry but I can't see what this has to do with php, and I know very little about html, which is what this appears to be.
Edit: NM, you replied at the same time. :) |
Re: An php gurus about (markup validation)
Quote:
|
Re: An php gurus about (markup validation)
And to fix the <li> validation just remove the opening and closing LI tag on line 55/56 as you don't need them, the document will then validate as XHTML strict (I've tried it)
so it should just read: <ul><li class="page_item"><a href="http://pinkforgirls.co.uk/?page_id=2" title="Why Pinkforgirls?">Why Pinkforgirls?</a></li></ul> |
Re: An php gurus about (markup validation)
Cheers for the help.
That bit of html is the output from these php lines. Code:
<div class="sideheading">pages</div> |
Re: An php gurus about (markup validation)
Looks like a call to a function to me, you'll have to search through your php files for the
PHP Code:
---------- Post added at 23:23 ---------- Previous post was at 23:19 ---------- Code:
<li class="pagenav"> <ul><li class="page_item"><a href="http://pinkforgirls.co.uCode:
<div class="pagenav"> <ul><li class="page_item"><a href="http://pinkforgirls.co.u |
Re: An php gurus about (markup validation)
Found the function , its a wordpress blog so it's pretty much as it came with a template over it.
edit almost found it, doh trying again right this is the fella PHP Code:
|
Re: An php gurus about (markup validation)
Try altering it to
PHP Code:
|
Re: An php gurus about (markup validation)
I looked at many options for the site from writing it from scratch to using a cms system. trialled wordpress and found it was great because it auto updates blog list and drives traffic to the site. Plus it's easy to add new posts to it.
As and when My php skills mature I will look at creating similar sites frm scratch and measuring the raffic against the blog site. |
Re: An php gurus about (markup validation)
meh i never validate my sites and they work fine :p:
|
Re: An php gurus about (markup validation)
It's good that you're trying to validate your site, especially to strict, that can be challenging. In theory doing so should mean that your site is viewed the same way in most modern browsers. Unfortunately though there are browsers such a Internet Explorer that just don't comply and get thrown into 'quirks' mode when they see anything they don't understand. This means now and then you ay have to use 'hacks', especially in CSS to mak sure the site is viewable how you want it across browsers. Standards are good, but not when browser makers choose not to implement them fully.
|
Re: An php gurus about (markup validation)
Quote:
Can I also just add thanks for the help so far. I really must get my **** on a new media course or something. |
Re: An php gurus about (markup validation)
Problem was I was experimenting with templates to be able to get the posts formated the same and wordpress has altered several characters in the posts to formatting and basically I was just generating errors and the site was not showing correctly.
On a mission to get to the bottom of this, after fixing 38 errors I'm buggered if the last one will go unchecked. ---------- Post added at 01:11 ---------- Previous post was yesterday at 00:46 ---------- Right now I've broken nthw :erm: [img]www.pinkforgirls.co.uk/images2/brokenthw.jpg[/img] |
Re: An php gurus about (markup validation)
Quote:
|
Re: An php gurus about (markup validation)
Well that break was amusing, happened right when I hit submit on my last post! And then it disappeared! Oh well glad I could help!
|
Re: An php gurus about (markup validation)
Are the helpy helpers still around?
Can any one get to the bottom of this one? Seems straight forward but I cannot see it. Decided to start from scratch and learn how to make web sites rather than butcher templates. This site is WIP though the colours and the image on the left will be about all that stay the rest will blend in a bit more. |
Re: An php gurus about (markup validation)
You need a <tr> tag in there to start a new row.
You have <table> and then <td>.... Each <td> needs to be within a <tr></tr> And don't forget to close the <tr> after the </td> and before the </table> |
Re: An php gurus about (markup validation)
|
| All times are GMT +1. The time now is 10:50. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum