Prihlasovacie meno: Heslo:
Registrácia nového užívateľa
Moderátor: toedder 
 BrainKing design

Learn how to customize BrainKing's view layer and share your CSS experiences.

Useful links
Wikipedia - for general information on what CSS is, why it is useful, and a short introduction on how to use it.
W3Schools - for a tutorial and a reference on CSS.
W3C - for detailed and advanced information for those who are interested.
CSS Zen Garden - for some trickery and demonstration of what is possible with CSS


Zoznam diskusných klubov
Mód: Každý môže písať
Hľadať v príspevkoch:  

4. apríla 2007, 17:06:41
pauloaguia 
Subjekt: Re: CSS file
Zmenené užívateľom pauloaguia (4. apríla 2007, 17:07:38)
BIG BAD WOLF:
You can apply a style at 3 different levels:
1. tag level. Every tag of the matching type will have the defined style
2. class level. Every element specified as belonging to that class will have the defined style. In the CSS file these start with #
3. id level. The element with the specified id will have the defined style. In the CSS file these start with . (dot)

The buttons and text boxes should all have identical classes, since you want to render them identically (same colours, font, border, etc). In this particular case it's hard to do it at tag style because usually they all share the tag "input". What you want is to use the id of the submit button and add some more styling to it.

Dátum a čas
Priatelia on-line
Obľúbené kluby
Spoločenstvá
Tip dňa
Copyright © 2002 - 2024 Filip Rachůnek, všetky práva vyhradené.
Späť na vrchol