No-www redirect: www.markimarta.com to markimarta.com

Search engines don’t like some versions of site URL, even if it’s the same domain with and without "www". Sometimes search engines can ban your site because of the same content on several domains.

So, if you want your site to be without "www", you need to add some rules to a web-server. For example, our site is "markimarta.com", we need to make a permanent redirect from "www.markimarta.com" to "markimarta.com". (more...)

Change table columns order via jQuery

When you have a table which you can’t edit, you think you can’t do anything with it. It may be a result of an outside procedure or web-service (usually it returns data in XML, but html-table also can be).

So, for example, we have a list of Borussia Dortmund players. We know id in list, Name of player, his Lastname and date of birth (Figure  1). (more...)

Create a table with fixed cells width

Create a table with cells width exactly you need is some more difficult than it may be seemed at once. So, if you need to make a table 300 pixels width with 5 cells same width, than cell width should be no more than 60 pixels. Of course, you should remember about borders and paddings in cells. (more...)


MarkiMarta.com. Notes of web-specialist
Since 2009
18+