Skip to main content

Reply to "When testing my HTML, eBay SYI changes the code"

quote:
Am I doing something wrong or is eBay SYI actually changing the code?


It could be a bug or it could be the use of part caps and part lower case on the valign ("vAlign=middle" in your prior post to which I suggested lower case and quotes on the value valign="middle") that's somehow confusing the SYI, i.e. like it thinks the cap A means you coded Align. I don't think the Auctiva one-page makes that error, and valign="middle" is correct for applicable tags, like <td>.

Is it normal? Well, I've seen the bad behavior on occasion over the years. I assume their encoder is trying to normalize code and correct errors (or what it thinks are errors) on the basis of assisting novice users and limiting bad code on the site. In fact, that error for valign seems familiar.

There is a work-around for valign in CSS.

style="align-vertical:middle"

http://www.w3schools.com/css/p...s_vertical-align.asp

Danno
Copyright © 1999-2018 Auctiva.com. All rights reserved.
×
×
×
×