I'm swapping a site for a friend from HTML4 to a responsive HTML5. On one of his pages the entire thing is tables.
For this page, would it be better to leave it as a table layout or a grid style page?
I'm swapping a site for a friend from HTML4 to a responsive HTML5. On one of his pages the entire thing is tables.
For this page, would it be better to leave it as a table layout or a grid style page?
Semantically and responsively, it would be better to recode and get away from tables for anything other than statistical data.
For all the logos at the bottom, maybe you could use this as a starting point http://fofwebdesign.co.uk/template/_...id-img-rwd.htm
Focus on Function Web Design
Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps
mlegg (03-14-2015)
Try wrapping a standard hyperlink anchor tag around the div that holds each imgCode:<a href="my-page.htm"><div class="img img-01"></div></a>
Focus on Function Web Design
Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps
Hi there mlegg,
here is a slightly different example to Beverley's that can be seen in the attachment.
Edit: modified the code and replaced the original attachment.
coothead
Last edited by coothead; 03-28-2015 at 07:03 PM. Reason: modification of the original code
BorderTerroir (03-30-2015)
That works. test page
The Blue Water logo is originally 150 x 76. In the test page it shows a portion of the logo, not the whole thing scaled to fit.
Here is the original logo.
also, all of the logos are different sizes too.
Hi there mlegg,
my example, as it uses the "img element" rather than
the "background-image" does not have that problem.
coothead
Look forbackground-size:cover;in the CSS and try changing it tobackground-size:contain;
Focus on Function Web Design
Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps
mlegg (03-28-2015)
What a great script I've tried a test page and now I'll implement it on the whole site.
http://www.castlefordheritagetrust.o...Footbridge.php
Many thanks
John
Bookmarks