/    Sign up×
Community /Pin to ProfileBookmark

Height of bars in a graph for MSIE

On [url=http://lsusong.com/graph.html]this page[/url], the bar on the left looks like the 2px it should be. In MS IE, it shows much taller. Any idea how to fix? (The more specific you can be, the better, I am no expert.)

to post a comment
CSS

4 Comments(s)

Copy linkTweet thisAlerts:
@FangSep 15.2007 — Use the correct DTD: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
Quirks v. Standards mode
Copy linkTweet thisAlerts:
@Duke_WillauthorSep 15.2007 — Thanks. It did change it slightly, it did it so fast, I can't tell exactly what. But it did not correct the problem when I changed the doc type to what you showed in your post. ?
Copy linkTweet thisAlerts:
@FangSep 15.2007 — And this foe IE6#bar1 {margin: 0 auto;
font-size:1px; /* fix for IE6 */
height:2px;width:20px;border:2px ridge red;background:red; text-align: center;}
Copy linkTweet thisAlerts:
@Duke_WillauthorSep 15.2007 — Thanks very much, it worked. I never would've figured that out. I assume you meant replace what I had with what you showed.
×

Success!

Help @Duke_Will 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.18,
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,
)...