WeLoveCSS Logo
Home Profile Members Search Rules Help New Posts

WeLoveCSS > WEB DESIGN > HTML & XHTML > [SOLVED] Html Tidy - rules too fussy?

  Thread Tools Display Modes
Old 13th July 15, 02:15 AM   #11
meesa's Avatar
Join Date: Jul 2009
Location: Milky Way Galaxy
Posts: 3,714
Default Re: Html Tidy - rules too fussy?

There's always HTML5's canvas too. But Photoshop is much easier to use.

And yes, the pixel dimension should match assuming PS is set to be 72dpi.
Praise be to the Lord God for the ability to learn, the capability to analyze, and the time to help users on this forum.
meesa is offline   Reply With Quote
Old 13th July 15, 02:57 AM   #12
WLC Lover
Phreaddee's Avatar
Join Date: Oct 2010
Location: Newcastle, NSW, Australia
Posts: 768
Default Re: Html Tidy - rules too fussy?

a responsive site or not, the best approach to images is no inline styles and
img{max-width:100%;height:auto;} it then takes the size of it's parent, or it's max size, if it is smaller than its parent.

as for your table example, don't think that cant be done with html/css because it can!

a definition list, should be a definition list, and seriously there is no need to user tables aside from tabulated data! a semantic web is a happy web, keep it that way!

the reason we rant about tables is that it's totally unnecessary to use them for such purposes, like you say maybe in 1996 it might have been acceptable, but certainly not now. Digging your heels in against those that have been there from the get go, and know from experience what they are saying is just being silly.
Phreaddee is offline   Reply With Quote
Old 13th July 15, 05:40 PM   #13
WLC Member
desk's Avatar
Join Date: May 2015
Location: Melbourne, Australia
Posts: 22
Default Re: Html Tidy - rules too fussy?

I've tried stripping width/height attributes from one of my illustration's html, & it worked just fine! And that's without any addition to the style sheet. Before applying the process globally, I'd have to double-check each pic, to make sure they're all 72 dpi & look for any further repeat uses.
Since there are over 100 of them, it's a daunting task to check all & see that they work, so I'll put it on the back-burner for now.

But back to the original question - I've found a use for HtmlTidy. On the odd occasion that W3 Validator collapses (it sometimes objects to uploading files from my hard drive), Tidy is a handy alternative.
desk is offline   Reply With Quote

Thread Tools
Display Modes
Linear Mode Linear Mode

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 07:10 PM.

Home | Advertise | Contact Us | Top
Home | Advertise | Contact Us | Top

Copyrightę 2006 WeLoveCSS.com. All Rights Reserved.
Powered by vBulletin Version 3.8.4 Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.