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:
>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:
[WebDNA] [OT] Free Windows FTP client recommendations (2009)
[BULK] [WebDNA] Can WebDNA corrupt a db? (2012)
LookUp (2001)
Where's Cart Created ? (1997)
Logging purchases (1997)
Stopping bad HTML propagation ? (1997)
Question... [OT] (2002)
% (mod) was looping table rows (1999)
WebCatalog NT beta 18 problem (1997)
Separate SSL Server (1997)
Running 2 two WebCatalog.acgi's (1996)
unsubscribe (1997)
item sorting (1997)
RE: Nesting [ListFiles] (1998)
WebCat Admin access w/ClearlyHome p.i. (1997)
Auto Submit (2000)
ShowNext (1997)
[WebDNA] OT - Selling Domain Names? (2009)
WebCatalog NT (1996)
[WebDNA] How to code a 301 redirect (2008)