Results 1 to 6 of 6

Thread: browser issues

  1. #1
    Join Date
    Apr 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default browser issues

    hello,

    When I view the site in IE 7, Firefox and Opera (all latest versions) the site looks fine. However, when others view the site it looks distorted.

    How does it look to you? If you have any suggestions on how to fix these problems, would greatly be appriciated.

    the link: www.ontherisedesigns.com/home2.html

    Please browse through the site to see the other issues.

    I have included the css coding.

    PHP Code:
    body{
        
    font-familyArial,sans-serif;
        
    color#333333;
        
    line-height1.166;    
        
    margin0px;
        
    padding0px;
        
    background:#0099FF;
    }

    /******* hyperlink and anchor tag styles *******/

    a:link{
        
    color#005FA9;
        
    text-decorationnone;
        
    font-familyArial,sans-serif;
    }

    a:visited{
        
    color#005FA9;
        
    text-decorationnone;
        
    font-familyArial,sans-serif;

    }

    a:hover{
        
    text-decorationunderline;
        
    color#005fa9;
        
    font-familyArial,sans-serif;

    }

    /*** header tag styles ***/

    h1{
     
    fontbold 120Arial,sans-serif;
     
    color#334d55;
     
    margin0px;
     
    padding0px;
    }

    h2{
     
    fontbold 114Arial,sans-serif;
     
    color#006699;
     
    margin0px;
     
    padding0px;
    }

    h3{
     
    fontbold 100Arial,sans-serif;
     
    color#334d55;
     
    margin0px;
     
    padding0px;
    }

    h4{
     
    font100Arial,sans-serif;
     
    color#333333;
     
    margin0px;
     
    padding0px;
    }

    h5{
     
    font100Arial,sans-serif;
     
    color#334d55;
     
    margin0px;
     
    padding0px;
    }


    /*************** list tag styles ***************/

    ul{
     list-
    style-typesquare;
    }

    ul ul{
     list-
    style-typedisc;
    }

    ul ul ul{
     list-
    style-typenone;
    }

    /********* form and related tag styles *********/

    form {
        
    margin0;
        
    padding0;
    }

    label{
     
    fontbold 1em Arial,sans-serif;
     
    color#334d55;
    }
                    
    input{
    font-familyArial,sans-serif;
    }

    /***********************************************/
    /* Layout Divs                                 */
    /***********************************************/
    #pagecell1{
        
    position:absolute;
        
    top185px;
        
    left2%;
        
    right2%;
        
    width:auto;
        
    background-color#ffffff;
    }

    #tl {
        
    position:absolute;
        
    top: -1px;
        
    left: -1px;
        
    margin0px;
        
    padding0px;
        
    z-index100;
    }

    #tr {
        
    position:absolute;
        
    top: -1px;
        
    right: -1px;
        
    margin0px;
        
    padding0px;
        
    z-index100;
    }

    #masthead{
        
    positionabsolute;
        
    top0px;
        
    left2%;
        
    right2%;
        
    widthauto;
        
    }

    #pageNav{
        
    floatleft;
        
    width:178px;
        
    padding0px;
        
    background-color#F5f7f7;
        
    border-right1px solid #cccccc;
        
    border-bottom1px solid #cccccc;
        
    fontsmall Arial,sans-serif;
    }

    #content{
        
    padding0px 10px 0px 0px;
        
    margin:0px 0px 0px 178px;
        
    border-left0px solid #ccd2d2;
    }


    /***********************************************/
    /* Component Divs                              */
    /***********************************************/
    #siteImg{
        
    margin10px 2px;
        
    padding40px 0px 70px 0px;
        
    background:url(banner.jpg);
        
    width:auto;    
    }


    /************** pageName styles ****************/

    #pageName{
        
    padding0px 10px 14px 10px;
        
    margin0px;
        
    border-bottom:1px solid #ccd2d2;
    }

    #pageName h2{
        
    fontbold 175Arial,sans-serif;
        
    color#000000;
        
    margin:0px;
        
    padding0px;
    }

    #pageName img{
        
    positionabsolute;
        
    top0px;
        
    right6px;
        
    padding0px;
        
    margin0px;
    }

    /************* globalNav styles ****************/

    #globalNav{
        
    positionrelative;
        
    widthauto;
        
    min-width800px;
        
    height32px;
        
    color#cccccc;
        
    padding0px;
        
    margin0px;
        
    background-imageurl(glbnav_background.gif);
    }

    #globalNav img{
        
    margin-bottom: -4px;
     
    }

    #gnl {
        
    positionabsolute;
        
    top0px;
        
    left:0px;
    }

    #gnr {
        
    positionabsolute;
        
    top0px;
        
    right:0px;
    }

    #globalLink{
        
    positionabsolute;
        
    top6px;
        
    height22px;
        
    min-width640px;
        
    padding0px;
        
    margin0px;
        
    left110px;
        
    z-index100;
    }


    a.glinka.glink:visited{
          
    font-sizesmall;
          
    color#000066;
        
    font-weightbold;
        
    margin0px;
        
    padding2px 5px 4px 5px;
        
    border-right1px solid #8FB8BC;
    }

    a.glink:hover{
          
    background-imageurl(glblnav_selected.gif);
        
    text-decorationnone;
    }

    .
    skipLinks {displaynone;}

    /*** subglobalNav styles ***/

    .subglobalNav{
        
    positionabsolute;
        
    top85px;
        
    left0px;
        
    min-width640px;
        
    height20px;
        
    padding75px 0px 0px 240px;
        
    visibilityhidden;
        
    color#ffffff;
        
    font-familyArialHelveticasans-serif;

    }

    .
    subglobalNav a:link, .subglobalNav a:visited {
        
    font-size80%;
        
    color#ffffff;
        
    font-weight:bold;
    }

    .
    subglobalNav a:hover{
        
    color#000066;
        
    font-weight:bold;
    }

    .
    subglobalNav2 a:link, .subglobalNav2 a:visited {
        
    font-size80%;
        
    color#ffffff;
        
    font-weight:bold;
    }

    .
    subglobalNav2 a:hover{
        
    color#000066;
        
    font-weight:bold;
    }

    .
    subglobalNav2{
        
    positionabsolute;
        
    top85px;
        
    left0px;
        
    min-width640px;
        
    height20px;
        
    padding75px 0px 0px 170px;
        
    visibilityhidden;
        
    color#ffffff;
    }

    .
    subglobalNav4 a:link, .subglobalNav4 a:visited {
        
    font-size80%;
        
    color#ffffff;
        
    font-weight:bold;
    }

    .
    subglobalNav4 a:hover{
        
    color#000066;
        
    font-weight:bold;
    }

    .
    subglobalNav4{
        
    positionabsolute;
        
    top85px;
        
    left0px;
        
    min-width640px;
        
    height20px;
        
    padding75px 0px 0px 315px;
        
    visibilityhidden;
        
    color#ffffff;
    }

    .
    subglobalNav5 a:link, .subglobalNav5 a:visited {
        
    font-size80%;
        
    color#ffffff;
        
    font-weight:bold;
    }

    .
    subglobalNav5 a:hover{
        
    color#000066;
        
    font-weight:bold;
    }

    .
    subglobalNav5{
        
    positionabsolute;
        
    top85px;
        
    left0px;
        
    min-width640px;
        
    height20px;
        
    padding75px 0px 0px 390px;
        
    visibilityhidden;
        
    color#ffffff;
    }

    .
    subglobalNav6 a:link, .subglobalNav6 a:visited {
        
    font-size80%;
        
    color#ffffff;
        
    font-weight:bold;
        
    font-familyArial,sans-serif;

    }

    .
    subglobalNav6 a:hover{
        
    color#000066;
        
    font-weight:bold;
        
    font-familyArial,sans-serif;

    }

    .
    subglobalNav6{
        
    positionabsolute;
        
    top85px;
        
    left0px;
        
    min-width640px;
        
    height20px;
        
    padding75px 0px 0px 490px;
        
    visibilityhidden;
        
    color#ffffff;
    }

    /************** feature styles *****************/

    .feature{
        
    padding5px 100px 0px 40px;
        
    font-size80%;
        
    min-height200px;
        
    height400px;
    }
    html>body .feature {heightauto;}

    .
    feature h3{
        
    fontbold 175Arial,sans-serif;
        
    color#000000;
        
    padding30px 0px 10px 0px;
    }

    .
    feature img{
        
    floatright;
        
    padding0px 10px 0px 30px;
    }




    /************** feature styles *****************/

    .feature2{
    float:left;
    border-right:#CCCCCC;
    border-right:solid;
    border-right-width:thin;
        
    padding0px 5px 0px 40px;
        
    font-size80%;
        
    min-height200px;
        
    height400px;
    }
    html>body .feature2 {heightauto;}

    .
    feature2 img{
        
    floattop;
        
    padding0px 5px 0px 10px;
    }

    .
    feature3{
    float:left;
    border-right:#CCCCCC;
    border-right:solid;
    border-right-width:thin;

    position:relative;
    overflow:hidden;

        
    padding0px 5px 0px 5px;
        
    font-size80%;
        
    min-height200px;
        
    height400px;
    }
    html>body .feature3 {heightauto;}

    .
    feature3 img{
        
    floattop;
        
    padding0px 5px 0px 10px;
    }

    .
    feature4{
    float:left;
    position:relative;
    overflow:hidden;
    border-right:#CCCCCC;
    border-right:solid;
    border-right-width:thin;

        
    padding0px 5px 0px 2px;
        
    font-size80%;
        
    min-height200px;
        
    height400px;
    }
    html>body .feature4 {heightauto;}

    .
    feature4 img{
        
    floattop;
        
    padding0px 5px 0px 10px;
    }

    .
    feature5{
    float:left;
    position:relative;
    overflow:hidden;
        
    padding0px 5px 0px 25px;
        
    font-size80%;
        
    min-height200px;
        
    height400px;
    }
    html>body .feature5 {heightauto;}

    .
    feature5 img{
        
    floattop;
        
    padding0px 5px 0px 10px;
    }
    .
    feature7{
    float:right;
    position:relative;
    overflow:hidden;
    border-right:#CCCCCC;
    border-right:solid;
    border-right-width:thin;

        
    padding20px 150px 50px 500px;
        
    font-size80%;
        
    min-height200px;
        
    height400px;
    }
    html>body .feature7 {heightauto;}

    .
    feature8 img{
        
    floattop;
        
    padding0px 0px 0px 60px;
    }
    .
    feature9{
    float:left;
    position:relative;
    overflow:hidden;
    border-right:#CCCCCC;
    border-right:solid;
    border-right-width:thin;
        
    padding0px 490px 100px 65px;
        
    font-size80%;
        
    min-height200px;
        
    height400px;
    }
    html>body .feature9 {heightauto;}

    .
    feature9 img{
        
    floattop;
        
    padding0px 5px 0px 10px;
    }

    .
    feature0{
    float:left;
    position:relative;
    overflow:hidden;

        
    padding0px 5px 0px 30px;
        
    font-size80%;
        
    min-height200px;
        
    height400px;
        
    }
    html>body .feature0 {heightauto;}

    .
    feature0 h3{
        
    fontbold 175Arial,sans-serif;
        
    color#000000;
        
    padding5px 0px 10px 0px;
    }

    .
    feature0 img{
        
    floatleft;
        
    padding0px 5px 0px 5px;
    }

    /*** story styles ***/

    .story {
        
    padding10px 100px 0px 40px;
        
    font-size80%;
    }

    .
    story h3{
        
    fontbold 165Arial,sans-serif;
        
    color#000000;
    }

    .
    story p {
        
    padding0px 0px 10px 0px;
    }

    .
    story a.capsule{
        
    fontbold 1em Arial,sans-serif;
        
    color#005FA9;
        
    display:block;
        
    padding-bottom15px;
    }

    .
    story a.capsule:hover{
        
    text-decorationunderline;
    }

    td.storyLeft{
        
    padding-right12px;
    }

    .
    story img{
        
    floatright;
        
    padding0px 10px 0px 30px;
    }

    /*** story2 styles ***/

    .story2 {
        
    padding10px 100px 0px 40px;
        
    font-size80%;
    }

    .
    story2 h3{
        
    fontbold 125Arial,sans-serif;
        
    color#000000;
    }

    .
    story2 p {
        
    padding0px 0px 10px 0px;
    }

    .
    story2 a.capsule{
        
    fontbold 1em Arial,sans-serif;
        
    color#005FA9;
        
    display:block;
        
    padding-bottom15px;
    }

    .
    story2 a.capsule:hover{
        
    text-decorationunderline;
    }

    td.storyLeft{
        
    padding-right12px;
    }

    .
    story2 img{
        
    floattop;
        
    padding0px 10px 0px 30px;
    }

    /************** siteInfo styles ****************/

    #siteInfo{
        
    clearboth;
        
    border-top1px solid #cccccc;
        
    font-sizesmall;
        
    color#cccccc;
        
    padding10px 10px 10px 315px;
        
    margin-top0px;
    }

    #siteInfo img{
        
    padding4px 4px 4px 0px;
        
    vertical-alignmiddle;


  2. #2
    Join Date
    Feb 2009
    Posts
    303
    Thanks
    18
    Thanked 36 Times in 36 Posts

    Default

    I don't know if this will fix it, but you should fix this: line-height: 1.166; to this: line-height: 1.166em;

    And these should be changed: ul ul{ AND ul ul ul{ to this: ul li ul{ AND ul li ul li ul{ because you need an LI in between UL's.

    And change background-image: to background:, 'cuz you haven't specified a background-color, and it's easier to type.

    That's all for now, don't want to read all the code much further...

    // X96 \\
    Alex Blackie, X96 Design
    My Website
    I specialize in: HTML5, CSS3, PHP, Ruby on Rails, MySQL, MongoDB, Linux Server Administration

  3. #3
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    Looks distorted how? on what page? what browsers/OS are the user experiencing it in?

    I think it looks how its suppose to but you didn't include a screenshot or anything to compare it with so i'm not sure... It loaded the same in ff, safari opera, and flock for me.

    Also you should pick a unit and stick with it. Your using %s, ems and pxs.

  4. #4
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    Quote Originally Posted by X96 Web Design View Post
    I don't know if this will fix it, but you should fix this: line-height: 1.166; to this: line-height: 1.166em;
    No. The line height is one of the few values that can and should be unitless in order to cascade properly.

    If the value is unitless, the child elements will have the same line height, so if the font size of child elements is doubled, the line height will be doubled.

    If you add a unit to the value, the child elements will have the same line height as the parent, so if you double the font size for child elements, the line height will not be doubled and will then cause problems.
    Quote Originally Posted by X96 Web Design View Post
    And these should be changed: ul ul{ AND ul ul ul{ to this: ul li ul{ AND ul li ul li ul{ because you need an LI in between UL's.
    No. The selectors don't work like that, you can specify the parent element and the child element you want to target without having to specify the elements in between.

    If the user has used this shorter method in other instances, they will not be taken into account because adding more elements will increase the specificity.
    Quote Originally Posted by X96 Web Design View Post
    And change background-image: to background:, 'cuz you haven't specified a background-color, and it's easier to type.
    No. When using the shorhand, all value will be set to the default.

    If you for example set the background color to blue for a div, you would expect all elements inside to inherit that if no other background color is specified. By using the shorthand for background, the background color will be set to the default, which is white.

    If you intend to only specify the background color, you should use background-color and not the shorthand.
    Quote Originally Posted by bluewalrus View Post
    Also you should pick a unit and stick with it. Your using %s, ems and pxs.
    No. You cannot create a good page using only one type of unit.

    If you use ems you should also use percentages for elements that you want to be resized based on the browser window in order to avoid horizontal scrolling.

    You should also, to some extent, use pixels for things that you don't always want to be resized with the text size or window size, borders, shadows and images for instance.

    Sorry for the rant guys, but we don't want to confuse people by teaching them the wrong things.

  5. #5
    Join Date
    Feb 2009
    Posts
    303
    Thanks
    18
    Thanked 36 Times in 36 Posts

    Default

    Wow, I was all wrong!

    Thanks Snookerman!

    // X96 \\
    Alex Blackie, X96 Design
    My Website
    I specialize in: HTML5, CSS3, PHP, Ruby on Rails, MySQL, MongoDB, Linux Server Administration

  6. #6
    Join Date
    Apr 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    thanks for the input. i'm still having problems. I decided to take it one page at a time. on this page:

    www.ontherisedesigns.com/home2.html

    I am trying to get the 2 sections to be aligned next to each other.

    I have tried the container div but it does not work.

    any suggestions?

    thanks again

Bookmarks

Posting Permissions

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