Entries tagged as: css

2012
02-28

table strange border color in firefox

Problem:

You can find your self wondering why if you put border to table let say color #F00 it have different colors at different borwsers.
Funny 🙂
(more…)
2010
10-10

too big jquery-ui elements

Yesterday I was installing jquery-ui at one of my websites. When I do that as it was writen in instruction all jquery-ui elements was 2 times bigger. I search a while and find how it was solved in demos at jquery.com. That CSS code:
  1. body{ font: 62.5% "Trebuchet MS", sans-serif;}
  2. .demoHeaders { margin-top: 2em; }
  3. #dialog_link {padding: .4em 1em .4em 20px;text-decoration: none;position: relative;}
  4. #dialog_link span.ui-icon {margin: 0 5px 0 0;position: absolute;left: .2em;top: 50%;margin-top: -8px;}
  5. ul#icons {margin: 0; padding: 0;}
  6. ul#icons li {margin: 2px; position: relative; padding: 4px 0; cursor: pointer; float: left; list-style: none;}
  7. ul#icons span.ui-icon {float: left; margin: 0 4px;}
Unfortunatly that solution change (destroy) all layout of website. So here is step by step instuction how to do it correct. (more…)