Programming tips and tricks » CSS http://blog.programovani.net Useful programming tips and tricks Sat, 28 Jul 2012 18:04:38 +0000 en hourly 1 http://wordpress.org/?v=3.2.1 Internet explorer – remove border around image link http://blog.programovani.net/en/css/ie-remove-border-image-links/?utm_source=rss&utm_medium=rss&utm_campaign=internet-explorer-odstraneni-oramovani-obrazkoveho-odkazu http://blog.programovani.net/en/css/ie-remove-border-image-links/#comments Sat, 28 Jul 2012 18:04:38 +0000 admin http://blog.programovani.net/?p=105 If you want to completely remove Internet Explorer border around images that are links, use the following CSS code.

a img {
    border-width: 0px;
}
]]>
http://blog.programovani.net/en/css/ie-remove-border-image-links/feed/ 2
Absolute positioning – where is 0,0? http://blog.programovani.net/en/css/absolute-positioning/?utm_source=rss&utm_medium=rss&utm_campaign=absolutni-pozicovani-kde-je-pozice-00 http://blog.programovani.net/en/css/absolute-positioning/#comments Sun, 11 Sep 2011 11:50:15 +0000 admin http://blog.programovani.net/?p=71 Continue reading ]]> There are many tutorials on CSS positioning. In short, there are three modes:

  • static
  • relative
  • absolute

In static mode, the element is located where it should normally be.

In relative mode is the position set by the parent element.

And how is it in absolute positioning? In absolute mode, positioning is from the nearest parent tag that has set the relative positioning or absolute.

Interesting tutorial: http://www.barelyfitz.com/screencast/html-training/css/positioning/

]]>
http://blog.programovani.net/en/css/absolute-positioning/feed/ 0