آخرین مطالب
DJ یک نرم افزار بسیار فوق العاده برای میکس کردن فایل های mp3 یا به اصطلاح DJ کردن آهنگ است. این نرم افزار مالتی مدیا توسط میلیون ها نفر دیجی و تعداد بسیار زیادی کلوب موسیقی در سراسر جهان استفاده می شود. استفاده از کامپیوتر در میکس کردن ۲ آهنگ برای یک دیجی با سرعت عمل بیشتری همراه است تا استفاده از دستگاه...
آموزش ساخت دکمه Button در CSS

Step 1
Create a rounded corner image in Photoshop, with a 30pt radius on both sides.
![]()
Step 2
Turn on the guide lines, so that you can select accurately. Crop the selection and save as image.
![]()
Step 3
Now select the right corner of the button. Crop the selection and save it as an another image.
![]()
Step 4
Repeat the above steps 1 to 3 for the rollover image.
![]()
Step 5
That's all for the images, now create the basic HTML unordered list.
1 |
<ul class="example1"> |
Here are the CSS properties for 2 Images CSS round corners button.
1 |
/************************************************ |
2. CSS Sprite Round Corners Button
Using CSS Sprite is rather easy and cool compared to the above mentioned method. And the good thing about using CSS Sprite is, there will be no delay for loading the rollover image when you hover over the button. It basically load the whole image when you first visit the site, and switches around the background position when you hover over the button.
Step 1
What you have to do is to stack the normal button design above the rollover button design and save both the button and the rollover as one image.
![]()
And that's it, now create your HTML unordered list.
1 |
<ul class="example2"> |
And here are the CSS properties for CSS Sprite round corners button.
1 |
/************************************************ |
3. FireFox CSS Round Corners Button
In your CSS, you can define Firefox 3 CSS properties in order to achieve round corners button, without the need of cropping or slicing any images. It's amazing to see round corners button appearing without the use of images, but this only apply to Firefox 3.
And in IE, Safari or any other browsers, you will only see a normal square button without round corners, because they do not render Firefox CSS properties.
First create your HTML unordered list.
1 |
<ul class="example3"> |
Here are the CSS properties for Firefox round corners button.
1 |
/************************************************ |
4. Safari CSS Round Corners Button
There are also a different set of Safari CSS properties for Safari web browsers and it's only allow to be render in Safari 4, and if you view them in other browsers, you will see a normal square button.
Again create your HTML unordered list.
1 |
<ul class="example4"> |
Here are the CSS properties for Safari CSS round corners button.
1 |
/************************************************ |
5. Combined Firefox and Safari CSS Round Corners Button
If you think. it's fine that your IE visitors will not enjoy the beauty of the round corners button, then go ahead to combine the Firefox and Safari CSS properties. So only IE users will see this button as a square button, but for Firefox and Safari users they will see it as a nice round button.
Create the HTML unordered list.
1 |
<ul class="example5"> |
Here are the CSS properties for Combined Firefox and Safari CSS round corners button.
1 |
/************************************************ |
download html windows image freeware vista flash effects images video vector google menus adobe hotfile design office game templates rapidshare mobile audio source software font iphone version icon microsoft joomla site horizontal programs school fonts wallpapers sims 3 portable speed javascript colors players multimedia
در این مطلب شما با انواع مدل های مرسدس بنز از اول تاکنون آشنال خواهید شد که ، تصویر هر مدل به اضافه سال ساخت آن روی تصویر درج شده است



دریافت فایل آموزشی