How do I convert an html4 table to html5? Is there a tool for that?

496 views
Skip to first unread message

ijak

unread,
Jan 7, 2012, 6:03:47 PM1/7/12
to BBEdit Talk
.

I have a html4 table that creates a picture frame around a certain
sized image. That way I can place any image inside the frame on my web
page, without having to create image including a frame for every image
I post on my blog.

This is what the html4 version looks like when rendered on the
wordpress.com site that has a CSS defined table type.

http://lenslord.com/2012/01/05/tabletest/

This is more what it is supposed to look like.
http://lenslord.com/2012/01/02/iphone-photos-can-be-fun/

Is there a tool anywhere that can make that conversion for me?

Jack

Walter Ian Kaye

unread,
Jan 7, 2012, 11:10:52 PM1/7/12
to bbe...@googlegroups.com
At 03:03 p -0800 01/07/2012, ijak didst inscribe upon an electronic papyrus:


Are you sure you don't mean CSS3?

<http://developer.apple.com/library/safari/documentation/AppleApplications/
Reference/SafariCSSRef/Articles/StandardCSSProperties.html
#//apple_ref/doc/uid/TP30001266--webkit-border-image>

<http://css-tricks.com/understanding-border-image/>

Note that border-image uses a *single* image, while the 9-cell method
uses 8 slices of images; that precludes automatic conversion.

jack

unread,
Jan 8, 2012, 2:51:04 AM1/8/12
to bbe...@googlegroups.com
.

You are right CSS3.

So the bottom line is that I cannot use anything like an image table?

Jack

> --
> You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups.
> To post to this group, send email to bbe...@googlegroups.com
> To unsubscribe from this group, send email to
> bbedit+un...@googlegroups.com
> For more options, visit this group at
> <http://groups.google.com/group/bbedit?hl=en>
> If you have a feature request or would like to report a problem, please email "sup...@barebones.com" rather than posting to the group.
> Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

LuKreme

unread,
Jan 7, 2012, 7:16:20 PM1/7/12
to bbe...@googlegroups.com
On 07 Jan 2012, at 16:03 , ijak wrote:
> This is what the html4 version looks like when rendered on the
> wordpress.com site that has a CSS defined table type.

The table is not the problem, the CSS is the problem. You need to find which CSS file is defining the table and figure out why it is adding padding/spacing to the table elements.

However, there are at least seven stylsheets defined for that page, and I’m not willing to track through them all to figure out which one is the problem.

I recommend you use Firefox with the WebDeveloper plugin to see exactly what styles are applying to that table. FireBug might also be helpful.

--
"A musicologist is a man who can read music but can't hear it." - Sir
Thomas Beecham (1879 - 1961)

Walter Ian Kaye

unread,
Jan 9, 2012, 3:50:00 AM1/9/12
to bbe...@googlegroups.com
At 11:51 p -0800 01/07/2012, jack didst inscribe upon an electronic papyrus:

>You are right CSS3.
>
>So the bottom line is that I cannot use anything like an image table?

Well, nothing says you "cannot"; you certainly may continue the "old"
way, it just means eight image hits on the server rather than one.
It's up to you. :)

Reply all
Reply to author
Forward
0 new messages