Style Sheet Gradient to single cell

Thread Solved

Join Date: Jun 2009
Posts: 132
Reputation: stevenpetersen is an unknown quantity at this point 
Solved Threads: 1
stevenpetersen's Avatar
stevenpetersen stevenpetersen is offline Offline
Junior Poster
 
0
  #11
Jul 2nd, 2009
Originally Posted by almostbob View Post
@media are a way of setting styles for different media in the same stylesheet,
printers accept the layout defined in @media print {}
the demo css is a subset of styles.css.php file ( .php because gzip is enabled for php on my server )
there are media types for screen, print, handheld devices, assisted devices(screen readers for the blind), and others, that are better/worse supported.
@media screen print all; are pretty well supported.
body 12pt margin 1 inch,
P firstline indent,
P first character Bold Cap
works pretty well on paper, but looks crap onscreen,
a screen layout, looks crap on paper.
using media specific css you can make the layout similar enough to be identified as your site, on paper, pc, blackberry, by using styles, that the devices can render accurately.
serve icons to blackberry instead of 800*600 img (on a 200*200 screen?)
print with copyright watermarks
hide links in print

long n rambling,
but the topic is almost unlimited
should i post a new Thread on how to set up?
@media all {
@media print {
@media screen {
Steven Petersen
Web Designer / Web Master
Reply With Quote Quick reply to this message  
Join Date: Jan 2009
Posts: 1,383
Reputation: almostbob has a spectacular aura about almostbob has a spectacular aura about almostbob has a spectacular aura about 
Solved Threads: 167
almostbob's Avatar
almostbob almostbob is offline Offline
Nearly a Posting Virtuoso

Re: Style Sheet Gradient to single cell

 
0
  #12
Aug 26th, 2009
Originally Posted by stevenpetersen View Post
should i post a new Thread on how to set up?
@media all {
@media print {
@media screen {
resurrecting the dead thread but,
@media all gives the same result as css without a media definition, gets applied to everything unless overwritten

I have @media all { /* generic styles */ } set because I tend to come back in months (as in this thread) and have to work out what the **expletive deleted** I have done to make 'this' do 'that'
@media screen { /* watermarks for images (transparent png overlays, take that you right click save as), auto resizing em font sizes to be user friendly, web safe colors */ } and
@media print { /* logo image top left, menus display:none, pt font sizes, all black text, images without copysafe overlays */ } all css within the displayable ability of the device works, its just a matter of deciding exactly how you want the page to display on certain devices, and putting the css in place
Last edited by almostbob; Aug 26th, 2009 at 12:45 am.
Failure is not an option It's included free, you don't have to do anything to get it
If at first you dont succeed, join the club
Of course its always in the last place you look, you dont keep looking after you find it

Please mark solved problems, solved
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the HTML and CSS Forum
Thread Tools Search this Thread



Tag cloud for HTML and CSS
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC