3
I’m developing a site where I will put banner of partner sites (visits touch) but I don’t know how should be the insertion of the partners banners but I thought of two ways.
- Insert direct into
HTML
and manually set the banner size (larger banner for the partners that most generate me traffic). - Save banner HTML (eg:
<a title="site" href="#" target="_blank"> <img src="http://site/banners/50x50.png" alt="site" /></a>
) in database together with the amount of visits generated by it so that automatically the site Acople the banner to the site field.
Which of the forms is more usual? Is there another more suitable way? below an example of banners partnership rectangles/squares represent the banners being that the largest are the banners of the largest traffic generators.
I really think there’s no pattern. Changing Subject matter, just for study, as such a read on this link, is a related subject: http://stackoverflow.com/a/14405396/1518921
– Guilherme Nascimento
Setting size at hand will have give a lot of maintenance problem, it is better to use a <li> and let HTML set the size of the elements automatically.
– KhaosDoctor
I answered my own question in the simplest way I could find, if I have a bolder solution than mine or some question / tip about my solution architecture, comment or answer if your solution is better to validate without doubt.
– Ricardo