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

    CSS Discussion and technical support relating to Cascading Style Sheets.

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1  
    Old 06-24-2005, 05:15 PM
    nch nch is offline
    Registered User
     
    Join Date: May 2005
    Posts: 17
    alignment problem in 3 col layout

    The page http://wsdev.colostate.edu/cwis116/admmock/dsp_fr.cfm
    looks aligned in IE 6.0 and the page border looks shifted in Mozilla 1.7.5.
    There is a gap (white line) between the border and the right column.
    How can I fix this in Mozilla. If I shift the right col to close the gap still the banner does not look ok.


    Thanks.

    CSS :-

    body {
    background-color :#003300;
    margin : 0px;
    outline : 0px;
    padding: 0px;
    color: #000000;
    font-family : Verdana, Arial, sans-serif;
    text-align: center; /*for IE */
    font-size: xx-small;
    }
    .pageBorder{
    border : medium ridge #DDC642 ;
    color : #000000;
    padding : 0px 0px 0px 0px;
    width : 760px;
    margin: 0 auto; /* align for good browsers */
    text-align: left;/* counter the body center good browsers*/
    background-color : #ffffff;
    }
    /* Fix IE. Hide from IE Mac \*/
    * html #leftnav ul li { float: left; }
    * html #leftnav ul li a { height: 1%; }
    /* End */
    #leftcol {
    width : 175px;
    float : left;
    position : relative;
    margin-left : -175px;
    margin-right : 1px;
    }
    #rightcol {
    width : 175px;
    float : right;
    position : relative;
    margin-right : -175px;
    margin-left : 1px;
    }
    #maincol {
    float: left;
    width : 100%;
    position : relative;
    margin : 0 -8px 0 -2px;
    }
    .content {
    padding-left : 8px;
    padding-right : 8px;
    }
    #outer {
    border: solid white 0px;
    border-left-width : 175px;
    border-left-color : #003300;
    border-left-style : solid;
    border-right-color : #dddddd;
    border-right-style : solid;
    border-right-width : 175px;
    background-color : #FFFFFF;
    width : auto;
    border-bottom : 1px solid #DDC642;
    }
    #inner {margin:0; width:100%;}
    #outer>#inner{}
    #footer { text-align:center; margin:0 auto; width:100%;}
    Reply With Quote
      #2  
    Old 06-24-2005, 05:56 PM
    toicontien's Avatar
    toicontien toicontien is offline
    er, I mean toicantien
     
    Join Date: Feb 2003
    Location: Chicago Area, IL
    Posts: 5,469
    That "white" line is actually colored #F4EDC6 and is how Firefox renders ridge style borders. IE6 is either not supporting the ridge style or it's just a difference in how browser developers interpreted the standard.

    So the answer is either live with it or use graphics for the borders.
    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 03:39 PM.



    Acceptable Use Policy


    The Network for Technology Professionals

    Search:

    About Internet.com

    Legal Notices, Licensing, Permissions, Privacy Policy.
    Advertise | Newsletters | E-mail Offers

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