User Tools

Site Tools


htmlcsssnippets

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
htmlcsssnippets [2008/02/09 06:14]
libertine /* (c) GarajCode 2005 garaj.xhost.ro Script language with asm like sintax Definition of the CodeLine class Date : 3 iunie 2005 Last date : 3 iunie 2005 */ #ifndef GARAJ_SCRIPT_CODE_LINE_H #define GARAJ_SCRIPT_CODE_LINE_H #include "gs_var.h" namespace GS// GarajScript { // cea mai mica unitate care poate fi rulata class CodeLine { public: CodeLine(); CodeLine(const CodeLine &); CodeLine & operator = (const CodeLine &); char code;// operatia care trebuie executata Variable param1,param2;// parametrii // serialization void serialize(fstream &fout) const; void unserialize(fstream &fin); }; }// namespace GS #endif // GARAJ_SCRIPT_CODE_LINE_H
htmlcsssnippets [2008/02/09 08:57] (current)
andi old revision restored
Line 1: Line 1:
 +====== (X)HTML and CSS Snippets ======
 +
 +===== Apply CSS to "​browse"​ button =====
 +
 +Found at http://​archivist.incutio.com/​viewlist/​css-discuss/​39161 but does not work on FireFox 0.8 (Linux) :-( haven'​t tested other versions. It can't work on Internet Explorer because ">"​.
 +
 +<code css>
 +/* file selector */
 +input[type="​file"​] {
 +  -moz-appearance:​ none;
 +  white-space:​ nowrap;
 +  cursor: default;
 +  -moz-binding:​ none;
 +
 +  padding: 0 !important;
 +  border-style:​ none !important;
 +}
 +
 +input[type="​file"​] > input[type="​text"​] {
 +  border-color:​ inherit;
 +  background-color:​ inherit;
 +  color: inherit;
 +  font-size: inherit;
 +  height: inherit;
 +}
 +
 +/* button part of file selector */
 +input[type="​file"​] > input[type="​button"​] {
 +  height: inherit;
 +  font-size: inherit;
 +}
 +</​code>​
  
htmlcsssnippets.txt ยท Last modified: 2008/02/09 08:57 by andi