Results 1 to 10 of 27

Threaded View

  1. #1
    Join Date
    Feb 2006
    Posts
    116
    Plugin Contributions
    0

    Default Float and clear / Image issue on IE

    First Q:

    The first question is related with float and clear. I am trying to have three divs be side by side but i can not seem to get it to work properly on firefox. it looks fine on on ie. the website is ghazalis.com. the layers i am referring to are on the way bottom that contain the links "Home | Featured Products | All Products | Book Request | Contact Us | About Us" and the copyright message below which should be on the left and the layer containing "Shipping & Return Policy, Newsletter Unsubscribe, Privacy " on the right. the picture below shows the way i would like it to look and the red indicates what happens on firefox.

    there are basically two layers on the left and on on the right.
    here are the css for the layers (the first two are the ones for the left and the last for the right:

    #copyright{
    margin: 0em;
    background-color: #ffffff;
    padding: 0em;
    padding-bottom:0.4em;
    padding-left:200px;
    font-weight: bold;
    font-family:Verdana, Arial, Helvetica, sans-serif;
    font-size:10px;
    color: #93937B;
    width: 597px;
    float:left;
    clear:left;
    text-align:left;
    }

    #navSuppWrapper {
    margin: 0em;
    margin-top:3px;
    background-color: #D7D7B5;
    padding: 0em;
    padding-bottom:0.4em;
    font-weight: bold;
    font-family:Verdana, Arial, Helvetica, sans-serif;
    color: #ffffff;
    width: 597px;
    float:left;
    clear:left;

    }

    #infolinks{
    width:150px;
    margin: 0em;
    margin-top:3px;
    background-color: #D7D7B5;
    float:right;
    clear:right;
    text-align:left;

    }

    Second Q

    I am using an image as the menu header at the top. In ie, there is this border around the image that i can not get rid of. the second picture shows where the border is obvious (when compare to what is below but the border goes all the way around). on firefox the menu is flush up against the layer below it.

    Thanks!
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	float-problem.gif 
Views:	498 
Size:	14.5 KB 
ID:	725   Click image for larger version. 

Name:	menushot.gif 
Views:	452 
Size:	9.6 KB 
ID:	726  

 

 

Similar Threads

  1. float text around the image
    By wotnow in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 24 Jul 2010, 11:29 AM
  2. firefox float left float right #logo
    By pixelpadre in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 2 Jan 2009, 12:18 AM
  3. Float Category Image
    By mrtechnique in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 10 Oct 2008, 10:24 PM
  4. category image - weird float behavior
    By quentinjs in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 16 Nov 2007, 05:28 AM
  5. Image seems to float in Opera and FF
    By bjraines in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 11 Sep 2006, 07:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg