![]() |
#1 | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jan 2011
Location: ,
Posts: 51
|
![]() More hack student coding incoming.
I need to create a gradient background using CSS without using background-image. Right now that's being handled with this: Code:
html{ background: #e8e8e8; /* fallback for non-support */ background: -webkit-gradient(linear, left bottom, left top, from(#e8e8e8), to(#8c8c8c)); /* Safari and Chrome */ background: -moz-linear-gradient(top, #8c8c8c, #e8e8e8); /* Firefox 3.6+ */ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#8c8c8c', endColorstr='#e8e8e8'); /* IE8 */ } body, #header, #footer { width: 720px; } body { padding: 10px 10px 10px 10px; margin-left: auto; margin-right: auto; border-radius: 15px; -moz-border-radius: 15px; /* Firefox */ background-color: #ffffff; } Thanks in advance. |
||
![]() ![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Creating a DOS 6.22 install CD | Doink | Tech Corner | 10 | 30-01-2014 05:06 PM |
Need Help Creating CD-ROM Rip | Expack2 | Tech Corner | 9 | 27-10-2010 07:40 AM |
Creating Your Own Brushes. | Sean | Art Tutorials | 9 | 07-10-2005 04:16 PM |
Creating Your Own Patterns | Sean | Art Tutorials | 0 | 03-10-2005 05:25 PM |
|
|
||
  |