corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Geek Day » HTML gurus...


New Topic

New Poll
  Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author HTML gurus...
Dan
Premium Member

Avatar

Registered: 22nd Apr 02
Location: Gorleston on Sea, Norfolk
User status: Offline
2nd Apr 10 at 17:52   View Garage View User's Profile U2U Member Reply With Quote

Im trying to validate my site, but i have 5 errors.

The one im stuck on at the min is:

Line 31, Column 19: start tag for "TR" omitted, but its declaration does not permit this

<td width="100%">

What the hell does that mean lol. BTW, i have no HTML experience lol


Adult GiftsClick here to vist us
ashleh
Member

Registered: 23rd Dec 08
Location: Nottingham
User status: Offline
2nd Apr 10 at 17:59   View User's Profile U2U Member Reply With Quote

did you close the table row off i.e <\tr>?

[Edited on 02-04-2010 by ashleh]
Dan
Premium Member

Avatar

Registered: 22nd Apr 02
Location: Gorleston on Sea, Norfolk
User status: Offline
2nd Apr 10 at 18:09   View Garage View User's Profile U2U Member Reply With Quote

have a look, im really not sure :/

www.protectyourpiece.co.uk


Adult GiftsClick here to vist us
AndyKent
Member

Registered: 3rd Sep 05
User status: Offline
2nd Apr 10 at 18:17   View User's Profile U2U Member Reply With Quote

Jesus christ that code is a state

I think you'll be able to fix it by inserting a another <tr> after line 29, but can't be 100% sure

[Edited on 02-04-2010 by AndyKent]
ashleh
Member

Registered: 23rd Dec 08
Location: Nottingham
User status: Offline
2nd Apr 10 at 18:25   View User's Profile U2U Member Reply With Quote

condom info page, 4th line down, you spelt learn wrong .
Dan
Premium Member

Avatar

Registered: 22nd Apr 02
Location: Gorleston on Sea, Norfolk
User status: Offline
2nd Apr 10 at 20:04   View Garage View User's Profile U2U Member Reply With Quote

that code is 99% standard for an oscommerce store




Adult GiftsClick here to vist us
Nismo
Member

Registered: 12th Sep 02
User status: Offline
2nd Apr 10 at 20:24   View User's Profile U2U Member Reply With Quote

Had a quick look noticed it was tables and couldnt be assed to sift through all the tables, Id say your probally missing a closing tag somewhere.

None simple solution: Learn divs
Dan
Premium Member

Avatar

Registered: 22nd Apr 02
Location: Gorleston on Sea, Norfolk
User status: Offline
2nd Apr 10 at 20:37   View Garage View User's Profile U2U Member Reply With Quote

I dont know any code at all lol.

The suggestion from andy has cured that one cheers!

I have 2 more :S if you fancy helping some more I managed to suss the rest lol

first one:

Line 166, Column 5: end tag for "TABLE" omitted, but its declaration does not permit this

</td>

Which relates to this start tag:

Line 116, Column 13: start tag was here
<td><table border="0" width="100%" cellspacing="0" cellpadding="0">


CHeers!!!


Adult GiftsClick here to vist us
Reedy
Member

Registered: 11th Apr 04
Location: Hammersmith
User status: Offline
2nd Apr 10 at 20:38   View User's Profile U2U Member Reply With Quote

Your missing the starting body tag

you need to put <body> in just after the head
Reedy
Member

Registered: 11th Apr 04
Location: Hammersmith
User status: Offline
2nd Apr 10 at 20:41   View User's Profile U2U Member Reply With Quote

<tr>
<td><!-- main_categories //-->
<tr>


LINE 142, its missing a </td> and a </tr>

[Edited on 02-04-2010 by Reedy]
Reedy
Member

Registered: 11th Apr 04
Location: Hammersmith
User status: Offline
2nd Apr 10 at 20:43   View User's Profile U2U Member Reply With Quote

<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="4" class="infoBoxContents">
<tr>


LINE 154, missing a </td> and a </tr>
ed
Member

Registered: 10th Sep 03
User status: Offline
4th Apr 10 at 09:48   View User's Profile U2U Member Reply With Quote

I can't view the HTML but if you want to validated it you shouldn't really be using witdth tags, you should define it in CSS either in a style sheet or in a style tag. The first error is basically saying that the doc type (XHTML Strict/Transitional or whatever) doesn't use those tags.
Sam
Moderator
Premium Member


Registered: 24th Dec 99
Location: West Midlands
User status: Offline
4th Apr 10 at 10:43   View User's Profile U2U Member Reply With Quote

The problem is to do with the main "body text" section - i.e. where "Welcome to Protect Your Piece" starts - I think the problem is your Main Categories box on the main part of the page.
xa0s
Banned

Registered: 4th Mar 08
Location: Dartford, Kent Car: Turbo'd Fabia vRS
User status: Offline
4th Apr 10 at 14:14   View User's Profile U2U Member Reply With Quote

<td width="100%">

The style (width) should be dealt with in CSS either in an external CSS stylesheet or just through using the style tag:

<td style="width:100%">
ed
Member

Registered: 10th Sep 03
User status: Offline
4th Apr 10 at 17:14   View User's Profile U2U Member Reply With Quote

If we're getting picky too, you shouldn't really use tables for layout like that...
Dan
Premium Member

Avatar

Registered: 22nd Apr 02
Location: Gorleston on Sea, Norfolk
User status: Offline
4th Apr 10 at 17:34   View Garage View User's Profile U2U Member Reply With Quote

As has been said already, i have no html exp etc, all i have used is an oscommerce store, then added contributions, and some small edits.

So all the code, layout etc is standard, or as modified by the contributions (all of which are the big main ones)

The store isnt really expected to take mega bucks, its simple, works, and is doing an ok job tbh, i cannot afford anything more yet


Adult GiftsClick here to vist us
AndyKent
Member

Registered: 3rd Sep 05
User status: Offline
4th Apr 10 at 17:38   View User's Profile U2U Member Reply With Quote

Why do you want the code to validate anyway?

If it looks ok across all browsers (which I am assuming it does) it wouldn't worry me whether it does or doesn't validate too much.
Dan
Premium Member

Avatar

Registered: 22nd Apr 02
Location: Gorleston on Sea, Norfolk
User status: Offline
4th Apr 10 at 17:42   View Garage View User's Profile U2U Member Reply With Quote

I dont really know tbh.

Its just something i thought id try have a go at. i managed to do about 11 errors, but the last 2, i havent.

It appears fine in all browsers, hence why im really not to fussed. Was just a challenge to myself, to learn a little more



Adult GiftsClick here to vist us
ed
Member

Registered: 10th Sep 03
User status: Offline
4th Apr 10 at 17:49   View User's Profile U2U Member Reply With Quote

Creating valid code is important! If there are guidelines on how to do something, then why do it another way? Most validation errors are missing bits of HTML which are needed for the document to render correctly...
ed
Member

Registered: 10th Sep 03
User status: Offline
4th Apr 10 at 17:51   View User's Profile U2U Member Reply With Quote

Line 166, Column 5: end tag for "TABLE" omitted, but its declaration does not permit this
</td>

It should be <td />

A terminating HTML tag always ends like this /> and there is meant to be a space between the tag name and the />
ed
Member

Registered: 10th Sep 03
User status: Offline
4th Apr 10 at 17:52   View User's Profile U2U Member Reply With Quote

Just fixing that should get it to validate actually.
Sam
Moderator
Premium Member


Registered: 24th Dec 99
Location: West Midlands
User status: Offline
5th Apr 10 at 12:14   View User's Profile U2U Member Reply With Quote

quote:
Originally posted by AndyKent
Why do you want the code to validate anyway?


Yes, it's not like Microsoft care about minor things like W3C standards.
ed
Member

Registered: 10th Sep 03
User status: Offline
5th Apr 10 at 14:10   View User's Profile U2U Member Reply With Quote

Internet Explorer
Paul_J
Member

Registered: 6th Jun 02
Location: London
User status: Offline
5th Apr 10 at 14:35   View User's Profile U2U Member Reply With Quote

quote:
Originally posted by ed
Creating valid code is important! If there are guidelines on how to do something, then why do it another way? Most validation errors are missing bits of HTML which are needed for the document to render correctly...


and it helps search engines like google index the page, as it doesn't fall over errors in the code.
Dan
Premium Member

Avatar

Registered: 22nd Apr 02
Location: Gorleston on Sea, Norfolk
User status: Offline
7th Apr 10 at 17:06   View Garage View User's Profile U2U Member Reply With Quote

Still getting there with this.

Started doing bits each day to help my seo.

Ive now acheived a rank of 1/10, and got a few keywords in top 10. These are only low searched words (10-30 per day), but there is hardly any competition compared to the big words. So hopefully i can get my way to the top of these and capture some of this traffic


Adult GiftsClick here to vist us

 
New Topic

New Poll

  Related Threads Author Forum Replies Views Last Post
Some website help please? madboutcars Geek Day 29 2622
11th May 03 at 17:11
by madboutcars
 
Cooler Engine-disconnecting EGR? ffls Help Zone, Modification and ICE Advice 10 1222
18th Sep 03 at 17:35
by Juha GSi
 
Capacity increase in a 1.4XE ffls Help Zone, Modification and ICE Advice 13 1944
28th Dec 04 at 02:26
by Jambo
 
Nice day so..... washed the car and took some pics! Rhino General Chat 29 1338
21st Apr 05 at 10:12
by Rhino
 
what car is this? ChazSXi General Chat 22 1149
14th Oct 07 at 04:02
by SVM 286
 

Corsa Sport » Message Board » Off Day » Geek Day » HTML gurus... 29 database queries in 0.0292580 seconds