/    Sign up×
Community /Pin to ProfileBookmark

Another Browser Compatibility Issue

I’m using CSS for my web site (which is currently haphazard) [url]http://www.wanttobevagabond.com[/url] The site shows up and functions correctly in Firefox, but is missing images and misaligned in IE (of course). I’m guessing it has to do with a small CSS tweak, but I don’t know what that tweak is. I also have some Java script in there that calls a random banner image. Any help would be greatly appreciated.
You can view the main code at the page. The Stylesheet is below:


—————–

/* CSS Document */

html, body, ul, ol, li, p, h1, h2, h3, h4, h5, h6, form, fieldset {
margin: 0;
padding: 0;
border: 0;
}
body{
background-color:#99CCCC;
color:#000000;
font-family:Verdana, Arial, Helvetica, sans-serif;
margin: 0;
padding: 0;
text-align: center;
}

/* Layout Divs */

#wrapper{
width: 790px;
background-color:#FFFFFF;
margin:10px auto;
border: outset 1px solid #000000;
text-align:left;
}

#banner{
height: 150px;
background-repeat: no-repeat;
}

#nav{
border-bottom: 1px solid #000000;
height: 26px;
background-color:#FFFFFF;
text-align: center;

}

#content p{
margin: 10px;
}

#footer{
border-top: 1px solid #000000;
background-color: #000000;
margin-top: 0px;

}

/* Font Styles */
.contenttext {font: 12px sans-serif}
.footertext {font: 10px sans-serif}

/* Link Styles */
A:link {color:blue;}
A:visited {color: #660066;}
A:hover {text-decoration: none; color:#00FF00;}

/* Features */
.feature img.floatright {
float: right;
padding: 0px 0px 0px 10px;
margin: 0 0 5px 5px;
}

.feature img.floatleft {
float: left;
padding: 0px 0px 0px 10px;
margin: 5px 5px 0 0 ;
}

to post a comment
HTML

3 Comments(s)

Copy linkTweet thisAlerts:
@FangMay 07.2009 — down.gif is missing
Copy linkTweet thisAlerts:
@cgermainauthorMay 07.2009 — Ok thanks, that worked, but I still have an error in IE. Every other time I load the page in IE it says, "Internet Explorer cannot load page. Operation Aborted." I've included the CSS menu code below which might be causing it???

.chromestyle{

width: 99%;

font-weight: bold;

}

.chromestyle:after{ /*Add margin between menu and rest of content in Firefox*/

content: ".";

display: block;

height: 0;

clear: both;

visibility: hidden;

}

.chromestyle ul{

border: 1px solid #BBB;

width: 100%;

background: url(chromebg.gif) center center repeat-x; /*THEME CHANGE HERE*/

padding: 4px 0;

margin: 0;

text-align: left; /*set value to "left", "center", or "right"*/

}

.chromestyle ul li{

display: inline;

}

.chromestyle ul li a{

color: #494949;

padding: 4px 7px;

margin: 0;

text-decoration: none;

border-right: 1px solid #DADADA;

}

.chromestyle ul li a:hover, .chromestyle ul li a.selected{ /*script dynamically adds a class of "selected" to the current active menu item*/

background: url(chromebg-over.gif) center center repeat-x; /*THEME CHANGE HERE*/

}

/* ######### Style for Drop Down Menu ######### */

.dropmenudiv{

position:absolute;

top: 0;

border: 1px solid #BBB; /*THEME CHANGE HERE*/

border-bottom-width: 0;

font:normal 12px Verdana;

line-height:18px;

z-index:100;

background-color: white;

width: 200px;

visibility: hidden;

filter: progid?XImageTransform.Microsoft.Shadow(color=#CACACA,direction=135,strength=4); /*Add Shadow in IE. Remove if desired*/

}


.dropmenudiv a{

width: auto;

display: block;

text-indent: 3px;

border-bottom: 1px solid #BBB; /*THEME CHANGE HERE*/

padding: 2px 0;

text-decoration: none;

font-weight: bold;

color: black;

}

  • * html .dropmenudiv a{ /*IE only hack*/

    width: 100%;

    }


  • .dropmenudiv a:hover{ /*THEME CHANGE HERE*/

    background-color: #F0F0F0;

    }
    Copy linkTweet thisAlerts:
    @FangMay 08.2009 — No problems loading in IE6-8
    ×

    Success!

    Help @cgermain spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 5.17,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @AriseFacilitySolutions09,
    tipped: article
    amount: 1000 SATS,

    tipper: @Yussuf4331,
    tipped: article
    amount: 1000 SATS,

    tipper: @darkwebsites540,
    tipped: article
    amount: 10 SATS,
    )...