kodyWiG

Tag: style

26 lut 2009

Możliwe wartości właściwości border-style

border-style:
hidden
dotted
dashed
solid
double
groove
ridge
inset
outset

border: 1px solid gray;
border: 1px dashed gray;
border dashed dotted double groove hidden inset outset ridge solid style
25 lut 2009

Style na półprzezroczysty div

style="filter: alpha(opacity=50); opacity: 0.5;"
alpha filter opacity style
7 lut 2009

Zmiana rozmiaru mapy

map = new GMap2(document.getElementById("mapcan"));

map.getContainer().style.width = 500+'px';
map.getContainer().style.height = 500+'px';
map.checkResize();

Kod należy umieścić w funkcji JS.
Wywołanie funkcji powoduje zmiane rozmiaru mapy.

checkResize getContainer getElementById GMap height style width
15 gru 2008

przycisk submit w jednej linii z polem input

.submit { vertical-align: middle; *vertical-align: text-bottom; }
<input type="text" name="cos"><input type="image" name="search" src="images/szukaj.gif" class="submit">

Aby ustawić obok siebie pole input i przycisk submit należy zstosować powyższy kod.

jedna linia pole input przycisk submit style
29 lip 2008

Pokazywanie i ukrywanie elementu

if(tow_nr==6) {
  var felem = document.getElementById('fadd');
  felem.style.visibility = 'hidden';
  return;
}

if(tow_nr==1) {
  var felem = document.getElementById('fdel');
  felem.style.visibility = 'visible';
}
getElementById hidden style visibility visible
  • ←
  • 1
  • 2
  • 3
  • →
Copyright © | kodyWiG Theme
  • JavaScript 219
  • PHP 139
  • CSS 107
  • HTML 75
  • GMap 47
  • Linux 46
  • PostgreSQL 34
  • MySQL 33
  • VBSCRIPT 32
  • jQuery 27
  • Smarty 27
  • Wordpress 27
  • Windows 24
  • SQL 19
  • htaccess 18
  • Perl 17
  • Programy 11
  • System 11
  • SQL Server 10
  • Leaflet 10
  • Rewrite 9
  • HTTP 8
  • VBA 7
  • React 7
  • Intellij IDEA 6
  • Telefony 6
  • WYSIWYG 6
  • XML 6
  • Nodejs 5
  • SVG 4
  • JSON 3
  • Docker 3
  • Rejestr 3
  • Nauka 2
  • Github 1
  • Bez kategorii 1
  • Opera 1
  • Rollup 1