Help - Search - Members - Calendar
Full Version: Html W3c Errors
World Dating Partners Forum > HTML > HTML support
tech5055
Hello Everyone

I am a newbie, and I am trying to make my sites as search engine friendle as I can,
but I am stuck on a few pieces of code in my www.bed-buddy.com site. I have tried looking
things up on the web at so far nothing seems to remove the errors. When I put my site in to the
W3C Mark up validation service I have 16 errors.

The code below which is only the a portion of it is one of the problems:
94.<embed src="/images/en/Index/realSexWithRealPeople.swf?" link_to="/registration/step1.do&quot;" quality="high" bgcolor="#FFFFCC" width="250" height="160" name="freeMembership" align="middle" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object></td>

I have tried I think it is SATAY but that doesn't help

Also I have a few lines with align="absmiddle" src="/images/skin/Index/pointer_1.gif" causing problems, the absmiddle being the problem.

I have tried different document types, and played around both in my editor and online to no avail.

Does anyone have any majic for this?

tech5055
Robert (8191)
Hiya Tech5055,

The flash code is tricky because of cross browser support but doing a search should come up with work arounds that validate.

As for "absmiddle" you can set an inline style sheet and add the class..
img.absmiddle {
vertical-align: middle;
margin-bottom: .25em;
}

With that, instead of using align="absmiddle" use class="absmiddle".

You'll find most of the align tags depreciated aswell, especially with table aligns, you can also use css classes to align those aswell using this in the stylesheet..

table.center { margin-left:auto; margin-right:auto; }
table.left {margin-left:0; margin-right:auto; }
table right {margin-left:auto; margin-right:0; }

Then instead of align="center, left, right" use class="center, left, right".

There are some good tutorials on css and it's always good to take the time to learn as this can be a major part of your projects...

http://www.w3schools.com/css/


Hope this helps. smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.