Share

TurboGears Widget Plugins

Tracker: Bugs

5 Patch to ensure EasyPlot XHTML validates - ID: 1714769
Last Update: Tracker Item Submitted ( anseljh )

Hi!

I tried validating a page that uses the EasyPlot widget, and I noticed that
the widget was causing 2 errors. <div> tags can't have width and height
attributes; that information should be contained in the style attribute.
Here's a quick fix.

Change this line:
<div id="${id}" style="margin: 0 auto 0 auto;" width="${width}"
height="${height}"></div>

to:
<div id="${id}" style="margin: 0 auto 0 auto; width=${width}px;
height=${height}px;"></div>

...and it will validate.


Ansel Halliburton ( anseljh ) - 2007-05-08 08:17

5

Open

None

Nobody/Anonymous

None

None

Public


Comments




Log in to comment.

No follow-up comments have been posted.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.