Dobio sam zadatak da kreiram signature za email template.Da bi sve to radilo normalno u svim mail servisima trebalo bi biti izradjeno u table layout-u - kao sto su se nekada izradjivalje web stranice.
Ja sam prilicno los sa tim starim tehnikama izrade pa bi trebao vasu pomoc, jer sam naisao na jedan problem koji ne mogu rijesiti nikako.Evo prvo slika da imate neki uvid kako to izgleda:
Problem je sljedeci: Tr-ovi na dnu (zadnja 3 broj,mail,text) imaju unutar sebe td-ove koji trebaju imati sirinu 100%.Kada zadam tu sirinu td-u prvo ne zauzme cijelu sirinu desnog dijela, a pored toga, text desno od logotipa se pomjeri jos u desno i izgleda “katastrofa”.
Tables are still the standard.
Take a look at the code of almost any HTML email you’ve gotten. I’ll
bet ya it’s formatted with a table. Tables are still the best way to
achieve consistent results across email clients. The email equivalent of
the browser window is the “viewport”, or the area in an email client
dedicated to showing the actual email. This varies quite a bit. A vary
common technique is to set a table with a 100% width with a nested table
inside of it that is centered with a static width. This seems to work
very well. The outer table is also your big chance to set the
background-color for the whole email. Too bad we can’t just use a div
with auto left and right margins for centering, but it won’t work most
email clients.
Istina ovo je za email template, ali nekako je logicno da i potpis ide u table layout, ako je vec ostatak.