Loading Page

Imagini de fundal pentru componente

Bine ai venit
Cautare google
cautare
categorii
css
css
    »   Butoane
    »   Transparenta
    »   Componente formular
html
html
javascript
javascript
photoshop
photoshop
php
php



Paypal
Ai ceva de facut in cod, design sau animatie si nu stii cum?
Trimite-ne mail si-ti vom face tutorial ce va rezolva problema ta.

Documentatii pentru toate nivelele, de la incepatori la avansati, dar si pentru cei ce au nevoie doar de o 'bucata de cod'
tutoriale U-Trade
tutoriale U-Trade

Imagini de fundal pentru componente

+ Bookmark-uri
Autor: Cristea Iulian



2 din 12 voturi
Vot pozitiv
Vot negativ
Voteaza acest articol
Tutorial not available for this language. Only english version.



You want to set a background for a form component? Here it comes:







Set a class style sheet first and put the url to your image right there. Of course, there is only one line that you need but I strongly recommend to create a class for a few important reasons:
- you can change the image name or path much faster being set in only one place;
- you'll have a clean code, HTML separated from CSS;
- can be easily added new styles to your components.

Anyway, the decision is your, it's correct in both ways. In our case we have the following simple CSS code, you only need to change the image name or/and path:
<style type="text/css">


.backComponents
{
background-image:url(back_image.jpg);
}

</style>



From here you need only to create your components and set created class.

<textarea class="backComponents"></textarea><input type="text" class="backComponents"><input type="button" class="backComponents">



Isn't this easy?!




U-Trade © Toate drepturile rezervate 2006-2010 | Imagini de fundal pentru componente : U-Trade Tutoriale