CSS layout imprecision
-
First, feel free to criticize and comment on my blog, located at:
Second, I have a problem.
Those of you surfing my blog in Firefox or Opera should not see any problem with the layout, but those who (God forbid) use IE will see what I mean. Since quite a lot of visitors use IE, I would appreciate my problem to get solved. I’ve tried a few things unsucessfully, but since I’m no CSS guru, I’d like your input.
My blog is bilingual. Since I do not wish to use something like a language switcher, I decided my blog would have two columns, one in either language.
To implement this, I used two div elements one called “colgauche” one called “coldroite” (yeah… french!). They both have slightly different CSS definitions. I’m reproducing them here for simplicity’s sake.
.colgauche
{
text-align:justify;
float: left;
width: 49%;
}.coldroite
{
text-align:justify;
width: 49%;
margin-left: 51%;
}So this works in Firefox and Opera, but in IE, the right column is wrongly placed vertically.
How should I proceed to fix this?
I’m open to other suggestions than these div. Anything, but tables, if possible. I just want it to work.
Thanks!
brem aka proxi
The topic ‘CSS layout imprecision’ is closed to new replies.