Hello
This is my first post in this forum, so I´ll start with a short presentation.
My name is Tobias Strollo, and I live in Stockholm, Sweden. I have long experience of web-design (about 10 years) but NOT so long, with web-programming. I have been spoiled working with great coders, but now that I started freelancing - I have to do all of that myself :-p. I´ve got some basic skills, but, still, there´s lots I don´t get. But, from what I´ve seen, there are lot´s of skilled people here, so with some help from you guys (and girls), shortly - I´ll be the one answering questions (instead of asking them :-), ok, now I bored you enough
QUESTION
I have a 2 column design. Total width of 710 pixels. One column floats right, , the other one has a 360 right-margin, which gives a space of 10 px inbetween the columns. My problem is in Explorer, when I place the same image I have in the right div, on the left side, the image "slips" down: http://www.tobiasstrollo.se/xfyz/index_alt_bg.html
And the html with the image slipping down
<code>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
<title>CompanyName - PageName</title>
<meta http-equiv="Content-Language" content="en-us" />
<div id="content">
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nullam gravida enim ut risus.
Praesent sapien purus, ultrices a, varius ac, suscipit ut, enim. Maecenas in lectus.
Donec in sapien in nibh rutrum gravida. Sed ut mauris. Fusce malesuada enim vitae lacus
euismod vulputate. Nullam rhoncus mauris ac metus. Maecenas vulputate aliquam odio.
Duis scelerisque justo a pede. Nam augue lorem, semper at, porta eget, placerat eget,
purus. Suspendisse mattis nunc vestibulum ligula. In hac habitasse platea dictumst.
Beautiful!
It wasn´t harder than that - works just fine! Like I mentioned, I´m still trying to get my head around this css layout stuff.. (I use to code back in the 90´s - tables - so I´m trying to forget all about that)
Really apreciate your answer all4nerds - thanks a million!
Kindly
/Tobias
Bookmarks