/    Sign up×
Community /Pin to ProfileBookmark

[RESOLVED] Someone please look at my CSS…

I need some help. My site works in IE8, but it’s not working in IE9, IE10, Chrome, or Firefox. I am wondering if someone can take a look at the stylesheet and let me know if there’s something I can do.

It’s fitted for IE8 because that’s our corporate browser, but we’re going to be moving up soon and I have to work on figuring this out…

I placed it on a public domain for testing purposes.

[URL=”http://webfro.gs/south/kb2/”]http://webfro.gs/south/kb2/[/URL]

There’s too much code to post here, so here’s the jsfiddle…

[URL=”http://jsfiddle.net/jlnewnam/7fMFa/”]http://jsfiddle.net/jlnewnam/7fMFa/[/URL]

Your help is greatly appreciated.

-Jared

to post a comment
CSS

5 Comments(s)

Copy linkTweet thisAlerts:
@rtretheweyMay 01.2013 — You need to add what's called a 'clearfix' rule for #body_wrapper so that you clear the 'float' for the left column:
<i>
</i>#body_wrapper:after {
display:block;
content:'';
clear:both;
height:0px;
visibility:hidden;
}

Floated elements are removed from the normal document flow, so the other elements are positioned without regard to the vertical space they occupy without some additional rules.
Copy linkTweet thisAlerts:
@SabzMay 01.2013 — on FF 20, all looks ok besides the footer colomns. Try clearing your footer_Wrapper and adjusting your footer_col margins
Copy linkTweet thisAlerts:
@jlnewnamauthorMay 01.2013 — That makes sense Rick. Do I have to do that,

[CODE]#class_name: after{}[/CODE]

(I've never seen this before)

...after every float. When is it appropriate to do that?

-Jared
Copy linkTweet thisAlerts:
@rtretheweyMay 01.2013 — I don't know if I could come up with a general rule to tell you when a clearfix is appropriate, but it's usually pretty obvious when you need to use it. My darker side says, "It's appropriate to use a clearfix when you find yourself thinking, 'Why can't I just use a bleeping <table> and be done with it?'". Good luck!
Copy linkTweet thisAlerts:
@jlnewnamauthorMay 01.2013 — Understood. Tables are the enemy. Got it. Thanks, Rick!
×

Success!

Help @jlnewnam 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 6.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: @nearjob,
tipped: article
amount: 1000 SATS,

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

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...