www.webdeveloper.com
Recent Articles
  • Finding Slow Running Queries in ASE 15
  • A More Advanced Pie Chart for Analysis Services Data
  • Adobe AIR Programming Unleashed: Working with Windows
  • Performance Testing SQL Server 2008's Change Data Capture Functionality
  • The ABC's of PHP: Introduction to PHP
  • How to Migrate from BasicFiles to SecureFiles Storage
  • Why the Twitter Haters Are Wrong
  • User Personalization with PHP: Beginning the Application
  • Whats in an Oracle Schema?
  • Lighting Enhancement in Photoshop
  •  

    Go Back   WebDeveloper.com > Client-Side Development > General

    General Discussion and support for your general issues associated with web design.

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1  
    Old 01-15-2006, 11:46 PM
    goofy1989 goofy1989 is offline
    Registered User
     
    Join Date: Sep 2005
    Posts: 106
    If NOT Internet Explorer...

    Would it be possible to make something like this using either JavaScript or these sort of things:

    HTML Code:
    <!--[if IE]>
    Stuff for ONLY IE to see
    <![endif]-->
    Is there a way to display something if the browser is NOT ie? Thanks in advance!
    Reply With Quote
      #2  
    Old 01-16-2006, 01:41 AM
    ray326's Avatar
    ray326 ray326 is offline
    Got Link?
     
    Join Date: Nov 2003
    Location: Jerryville, Tejas
    Posts: 11,741
    There are generally better ways to do that sort of thing but they depend on exactly the requirement (style, function).
    __________________
    Help Save Ana

    Why use Web Standards: Zeldman
    How (new): Castro
    How (experienced): Cederholm
    If you can only get one book and you're already HTML savvy then this is it:
    stylin' with CSS: A Designer's Guide
    Charles Wyke-Smith
    New Riders


    "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan
    Reply With Quote
      #3  
    Old 01-16-2006, 02:45 AM
    goofy1989 goofy1989 is offline
    Registered User
     
    Join Date: Sep 2005
    Posts: 106
    Well it's for school and I can't use any server-side technology... it would be for styling. Since IE can't display anything right, I'd rather just not use it.

    Ray, you posted that IE can't display transparent PNG CSS backgrounds properly. I'm still using one, but it doesn't bother me that much. Now i'm using another DIV that I'm trying to be a transparent dark color, so that you could still see the background picture through it. If I used a PNG to do this, IE would render it solid instead of transparent.

    So I would probably just want to leave IE out of the picture and leave that div clear if the viewer is using IE.

    BTW, does Safari display transparent PNGs properly? Because that's probably what we will be testing our websites with once I get back to school (Right now I'm testing with Firefox and IE, hoping that the results will look good on Safari, Mac Firefox, and Mac IE)...
    Reply With Quote
      #4  
    Old 01-16-2006, 04:13 PM
    ray326's Avatar
    ray326 ray326 is offline
    Got Link?
     
    Join Date: Nov 2003
    Location: Jerryville, Tejas
    Posts: 11,741
    Quote:
    So I would probably just want to leave IE out of the picture and leave that div clear if the viewer is using IE.
    If you're just using fully transparent areas and not true alpha then consider using a GIF for that background. Dunno about browser PNG support.
    __________________
    Help Save Ana

    Why use Web Standards: Zeldman
    How (new): Castro
    How (experienced): Cederholm
    If you can only get one book and you're already HTML savvy then this is it:
    stylin' with CSS: A Designer's Guide
    Charles Wyke-Smith
    New Riders


    "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan
    Reply With Quote
      #5  
    Old 01-16-2006, 04:51 PM
    goofy1989 goofy1989 is offline
    Registered User
     
    Join Date: Sep 2005
    Posts: 106
    Yeah, I want to make a fully transparent div (you can still see the background, but it's tinted a bit darker). What would be the best way to do this? How would this be done in a GIF?
    Reply With Quote
      #6  
    Old 01-16-2006, 05:26 PM
    ray326's Avatar
    ray326 ray326 is offline
    Got Link?
     
    Join Date: Nov 2003
    Location: Jerryville, Tejas
    Posts: 11,741
    Fully transparent means there would not be darkening. You're talking about an alpha channel. You can do a simulation of that with GIF but it takes a lot of finess so I wouldn't recommend it.
    __________________
    Help Save Ana

    Why use Web Standards: Zeldman
    How (new): Castro
    How (experienced): Cederholm
    If you can only get one book and you're already HTML savvy then this is it:
    stylin' with CSS: A Designer's Guide
    Charles Wyke-Smith
    New Riders


    "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan
    Reply With Quote
    Reply

    Bookmarks


    Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
     
    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes Rate This Thread
    Rate This Thread:

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is Off
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 10:09 PM.



    Acceptable Use Policy

    internet.comMediabistrojusttechjobs.comGraphics.com

    WebMediaBrands Corporate Info


    Advertise | Newsletters | Feedback | Submit News

    Legal Notices | Licensing | Permissions | Privacy Policy

    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.