latest reactions

spider
One way is to google for page which cont …
andy
you can find this tool here http://andy. …
Tjarko
Eej Walker, that's pretty cool, I will c …
Walker
Thanks for posting your thoughts. I modi …
Albert
Thanks !! …

Clicky Web Analytics
Use OpenDNS
ZERIGO DNS

Ultimate dns hosting based on pre-defined templates, DNS redirection and lot's more.

mxna feeds

CF101 Archive: September 2007 Object Oriented PizzaJob Opening for ColdFusion Developer at Arizona State UniversityMy New Experience Getting ColdFusion Builder 2 Console WorkingCF101 Archive: February 2007 Data Table GatewaysJob Opening for Sr. ColdFusion Developer in CA/ San Fernando ValleyColdFusion Supports HTTP Verbs PUT And DELETE (As Well As GET And POST)Best wishes for the new FuseboxCF101 Archive: January 2007 Data Access ObjectsOpen Source Conference For CFML DevelopersSkype Blocking Web Services with IIS, ColdFusion & RailoCF101 Archive: October 2006 Five Cool Things with ColdFusionGenerate a tag cloud from an RSS feed with ColdFusionColdFusion MeetUp: Cloudy with a Chance of Tests, with Mike HenkeReminder - Adobe CookbooksCF101 Archive: September 2006 A first look at FusionDebug

All files are strictly confidential: all information is classified.
© Copyright 2002 - 2012 mximize.com.
All right reserved.

Visit Carlos GallupaMXNA webfeed

Loading your print stylesheet

Interesting article about loading stylesheets you are not using for the page displayed. For instance, loading print stylesheets.

I always wondered; when you set up your stylesheet in an orderly way, your print stylesheet doesn't have to be more than just setting some divs to
.not-used-in-print { display:none; }
Am I right?

5768 viewed | 4 opinion(s)  | del.icio.us | Digg it | Michiel @ 19/06/07 8:27 cet


Reactions:

Nicoline wrote.... (site)

Mostly yes. But sometimes you want to add stuff to the print version. Like your company's adress or a different logo (smaller, bigger, I dunno). Or you might want to change the font-family, size etc. Just to make it look better on paper.

19 June 2007 9:43 cet  

Jurgen wrote.... (mail)

I don't think it smart to add classes to your standard layout to achieve this. In my opinion it's better to make a list of existing non print classes and id's and write it out in your print stylesheet. ie.
#navigation,#footer,.something{display:none;}

19 June 2007 23:04 cet  

Tjarko wrote.... (site)

True, normally we already do this. We use the already existing ID's and classes to show/hide content in the print stylesheet. It would indeed be foolish to have a separate class for this :-)

20 June 2007 7:59 cet  

Michiel Heijmans wrote.... (site)

Hey! The class in my example is just _an_example_. For sure, Jurgen's way is the right way. That's what I meant..

The article is mainly about the time it takes to load the stylesheet. F.e. when you include stylesheets for print, handheld, etc. your browser will load all and only then display the page.

My thoughts: that wouldn't matter if you set up things right so the _other_ stylesheets are a minimum kb's. True?

20 June 2007 8:21 cet  

Leave your comment

Your name


Your url/website/link/email....


Some room for your reaction is placed here..



The answer to the ultimate question is?? (42 ;-))




URL en mail addresses are translated for you... life sometimes is that simple!!