• anyone help on this – i have added a featured image to pages on the website, what i need is a separate link to another page on each third of the image, or is there a way i can add 3 ‘featured images’ to one page so that each one would have the link but all 3 aligned as the one shown – see an example here https://kidzrfit.co.uk/keystage-1-2/
    any help would be appreciated

    Regards
    Peter E

Viewing 8 replies - 1 through 8 (of 8 total)
  • i think your best bet would be to use a table for the 3 images and skip the featured image. you could built a template and use them for your posts. SEO wise you have 3 internal links with 3 alt tags you’d be missing out on.

    Why not just insert 3 images aligned left? Using tables for layouts (as suggested above) is bad practice.

    why is that bad practice? i’ve seen that suggested by other moderators.

    Tables are for tabulated data – not the layout of images.

    tables and divs.. same thing.. you wouldn’t div it out either?

    how would you lay out images mixed with fixed sized text block and other images that aren’t in line.. stagard images? like a checker board?

    Mozilla doesn’t seem to have an issue with images in tables

    https://developer.mozilla.org/en/Images,_Tables,_and_Mysterious_Gaps

    HTML Tables

    Tables are defined with the <table> tag.

    A table is divided into rows (with the <tr> tag), and each row is divided into data cells (with the <td> tag). td stands for “table data,” and holds the content of a data cell. A <td> tag can contain text, links, images, lists, forms, other tables, etc.

    this is from https://www.w3schools.com/html/html_tables.asp
    no mention of bad practice there.

    I know what a table is, thanks.

    It has been advocated many times that tables shouldn’t be use in HTML for layout purposes.

    https://www.w3.org/2002/03/csslayout-howto

    Thread Starter webpaje

    (@webpaje)

    Thanks all – didnt mean to open a can of worms with the request response re tables. I too have read and been told that css should be the standard and try not to use tables but in this case it seems the best way – i have tried it and it works (see https://kidzrfit.co.uk)
    might not be the best solution but it works and after a bit of tweaking also works in IE

    Thanks for the help and suggestions
    Regards
    Peter E

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘featured images’ is closed to new replies.