Re: CSS positioning!!!

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 36922
interpreted = N
texte = >On 2.7.2001 8:13, Clint Davis wrote: > > > Why not just [include] the correct CSS into the page... > >I have done some extensive testing with browsers and have come up with this >system, working perfectly with Mac and Windows and Linux. > >[showif [browsername]^mac] >[showif [browsername]^msie] >[include file=includes/csswin.inc] >[/showif] >[/showif] > >[showif [browsername]^win] >[include file=includes/csswin.inc] >[/showif] > >[showif [browsername]^gecko] >[include file=includes/csswin.inc] >[/showif] > >[showif [browsername]^Mozilla/4.7] >[include file=includes/cssmac.inc] >[/showif] > >If anybody wants to add something please let me know.I'd say Netscape Win is renedering text slightly smaller than Explorer Win (and it doesn't matter if you define your font heights in points or pixels), so we're usually creating different stylesheets for these browsers.Your code above could be much if you're having just two different stylesheets:[TEXT]vCSS=csswin.inc[/TEXT][showif [browsername]^Mozilla/4.7] [TEXT]vCSS=cssmac.inc[/TEXT] [/showif][include file=includes/[vCSS]] -- ************************************************************* Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 Ljusa Idéer AB S-211 37 Malmoe Fax +46 40 97 99 77 Sweden http://www.ljusaideer.se------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: CSS positioning!!! (Gene Beljaeff 2001)
  2. Re: CSS positioning!!! (Christer Olsson 2001)
  3. Re: CSS positioning!!! (Nitai @ ComputerOil 2001)
  4. Re: CSS positioning!!! (Clint Davis 2001)
  5. Re: CSS positioning!!! (Alisha Outridge 2001)
  6. Re: CSS positioning!!! (Daniel Smith 2001)
  7. Re: CSS positioning!!! (Anup Setty 2001)
  8. Re: CSS positioning!!! (Alisha Outridge 2001)
  9. Re: CSS positioning!!! (Alisha Outridge 2001)
  10. Re: CSS positioning!!! (Anup Setty 2001)
  11. Re: CSS positioning!!! (Nitai @ ComputerOil 2001)
  12. Re: CSS positioning!!! (Jeff Logan 2001)
  13. CSS positioning!!! (Alisha Outridge 2001)
>On 2.7.2001 8:13, Clint Davis wrote: > > > Why not just [include] the correct CSS into the page... > >I have done some extensive testing with browsers and have come up with this >system, working perfectly with Mac and Windows and Linux. > >[showif [browsername]^mac] >[showif [browsername]^msie] >[include file=includes/csswin.inc] >[/showif] >[/showif] > >[showif [browsername]^win] >[include file=includes/csswin.inc] >[/showif] > >[showif [browsername]^gecko] >[include file=includes/csswin.inc] >[/showif] > >[showif [browsername]^Mozilla/4.7] >[include file=includes/cssmac.inc] >[/showif] > >If anybody wants to add something please let me know.I'd say Netscape Win is renedering text slightly smaller than Explorer Win (and it doesn't matter if you define your font heights in points or pixels), so we're usually creating different stylesheets for these browsers.Your code above could be much if you're having just two different stylesheets:[text]vCSS=csswin.inc[/TEXT][showif [browsername]^Mozilla/4.7] [text]vCSS=cssmac.inc[/TEXT] [/showif][include file=includes/[vCSS]] -- ************************************************************* Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 Ljusa Idéer AB S-211 37 Malmoe Fax +46 40 97 99 77 Sweden http://www.ljusaideer.se------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Christer Olsson

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Ooops-Serial Number for NT (1997) [addfields] bombing 5.0 (2003) Type 11 errors setting up WebCAt 2 (1997) Review comparison by PC Magazine: Open for On-lineBusiness (1997) RE: formula.db, adding option prices (1997) append db weirdness (1999) WebDNA Verison 4.5 will Not Restart! This SUCKS! (2002) WebCat2: Items xx to xx shown, etc. (1997) OT - quiet on the list today - here's something (2004) Re:2nd WebCatalog2 Feature Request (1996) How to get shownext to just shownext once (1997) Re:E-Mailer (WebCatb15acgiMac) (1997) mySQL GROUP BY Aggregate Function Problem (2005) [WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - (2018) Secure server question (1997) WebCatalog-NT?'s (1996) Trouble with [Math] (1998) No spaces allowed in text variable names ... ? (2002) Emailer on NT! (1998) same bill to and ship to? (1998)