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 > Graphics

    Graphics Discussion and technical support for creating and editing graphics for the web.

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1  
    Old 12-30-2002, 08:33 PM
    cssrules cssrules is offline
    Registered User
     
    Join Date: Nov 2002
    Posts: 15
    using span - float effect

    HI...

    on my page there is a header 100% width....
    I want to load 2 images, one on the left side and the other on the right...

    I have used span.left and span.right elements, which work under Mozilla and IE5+...:

    div#header {
    ....
    width: 100%

    }

    div#header span.left{
    float: left;
    }

    div#header span.right {
    float: right;
    }

    There is a need to do the same thing on IE 4 (!?!?) but this browser seems to ignore the code above and just places the contents of the span.left element on the left side of the header...

    How can i simulate this effect on IE4 as well, without having to use tables....?

    Ok....if there is no other way (than to use tables) how can i emulate the cellpadding and cellspacing attributes? Without them IE misplaces the images in a table inside the header.

    Can anyone help???

    Thanx in advance!

    Last edited by cssrules; 12-30-2002 at 08:48 PM.
    Reply With Quote
      #2  
    Old 12-31-2002, 01:58 PM
    spoontacular spoontacular is offline
    Registered User
     
    Join Date: Dec 2002
    Location: United States of America
    Posts: 27
    IE4 has awful CSS support, so I doubt it..

    You could do two 50% headers and put each image in each header?
    __________________
    got apache?
    got mozilla?
    got ogg?
    got php?
    got redhat?
    Reply With Quote
      #3  
    Old 01-01-2003, 12:16 PM
    cssrules cssrules is offline
    Registered User
     
    Join Date: Nov 2002
    Posts: 15
    thanks for your tip....

    i am going to use either your tip or a combination of a 100% div and a nested table with cellpadding-cellspacing attributes set to 0.

    Thanx again!
    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 11:47 AM.



    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.