Free AdviceGet Free Advice
Home | Get advice | Give advice | Topics | Columnists | - !START HERE! -
Make Suggestions | Sitemap

Get Advice


Search Questions

Ask A Question

Browse Advice Columnists

Search Advice Columnists

Chat Room

Give Advice

View Questions
Search Questions
Advice Topics

Login

Username:
Password:
Remember me
Register for free!
Lost Password?

Want to give Advice?

Sign Up Now
(It's FREE!)

Miscellaneous

Shirts and Stuff
Page Backgrounds
Make Suggestions
Site News
Link To Us
About Us
Terms of Service
Help/FAQ
Sitemap
Contact Us


IE's Overflow and Width Calculation


Question Posted Sunday June 20 2010, 6:37 pm

Hello, my username is ThirdQED. It has been about a year since I last visit this site. Anyhow, as I was fixing my profile layout, I run into a few problems:

-----
Problem #1: Long links breaks my column layout:
--IE doesn't support Overflow.

**Temporary Fix: Overflow replaced with word-wrap.

-----
Problem #2: Major web browsers' differences in calculating widths:
--IE calculate everything from margins to padding into the total of a property.
--Other major browsers calculate the width of div boxes by taking the width property value PLUS margins, padding and borders.

**Temporary Fix: Fixed by applying div within div.

Meaning I applied something like this example (sorry if the code fails to show up):

CSS:
.thrColFixHdr #upperbar {
font: 75% Verdana, Arial, Helvetica, sans-serif;
float: right;
width: 760px;
background: <--color4-->;
margin: 0px 0px 10px 5px;
color: <--color5-->;
}
.thrColFixHdr #upperbarin {
padding: 15px 10px 15px 20px;
}


Apply:
<div id="upperbar">
<div id="upperbarin"><h1>About Me</h1>
<p><--bio--></p>
<br /><hr class="thin">
<!-- end #upperbar --></div></div>


-----
Of course both are just temporary fixes for now. Do you know of a better way to fix these problems? If you do, please do teach me. I've been trying to look for alternative fixes but not much luck :-( Also, the fixes don't have to be compatible with IE6 and FF2 or below. I am looking at anything that works with IE 7+, FF 3+, Safari 4+, and Chrome 4+.

Thanks in advanced, and my profile URL is [Link](Mouse over link to see full location) .
I wish all web browsers just use a standard rule :-)


[ Answer this question ]
Want to answer more questions in the Technology category?
Maybe give some free advice about: Internet & Web Design?


theymos answered Sunday June 20 2010, 11:17 pm:
Yeah, web development sucks. I now try to avoid it as much as possible since it frustrates me so much.

I used conditional comments on my column to fix IE's nonsense. You have to use non-standards-compliant "<!...>" tags, but the stuff that Advicenators adds gives you no hope of ever being compliant, anyway.

A disturbingly-high percentage of Advicenators users use IE6, so I'd try to support that if possible.

[ theymos's advice column | Ask theymos A Question
]


More Questions:

<<< Previous Question: Am I overreacting?
Next Question >>> How do I retrieve my lost files after my computer crashed?

Recent popular questions:
Want to give advice?

Click here to start your own advice column!

What happened here with my gamer friends?

All content on this page posted by members of advicenators.com is the responsibility those individual members. Other content © 2003-2014 advicenators.com. We do not promise accuracy, completeness, or usefulness of any advice and are not responsible for content.

Attention: NOTHING on this site may be reproduced in any fashion whatsoever without explicit consent (in writing) of the owner of said material, unless otherwise stated on the page where the content originated. Search engines are free to index and cache our content.
Users who post their account names or personal information in their questions have no expectation of privacy beyond that point for anything they disclose. Questions are otherwise considered anonymous to the general public.

[Valid RSS] eXTReMe Tracker