Forum Moderators: open
To my dismay, the layout still didn't work. Although it works as intended in IE.
Please check out the following link:
** removed url as per request ** msg me if you want it.
Let me know if this is a common problem and if so, what is the workaround/fix I must apply for this to render correctly in the Netscape family of browsers?
[edited by: blackjudas at 6:36 am (utc) on July 16, 2002]
CSS:
div#leftimg {
position: absolute;
top: 50px;
left: 100px;
}
div#middleimg {
position: absolute;
top: 50px;
left: 125px;
}
div#rightimg {
position: absolute;
top: 50px;
left: 200px;
}
Or you could just give the img's id's. I don't do much gfx work so you may have to experiment but I think that's what purplemartin had in mind?
Nick
The next problem you have is that the text in the yellow box pushes the top and bottom img's out making it look rather ghastly. You might want to rethink this design element as it's just asking for trouble as it is.
If I take the text out it's fine. So maybe you should just make it one gfx if it's very important to you?
Nick
Thanks for the help so far!
I'd go for a headline positioed where you need it like this:
<h2 id="welcome">Your text here</h2>
#welcome {
background-color: yellow;
color: black;
font-size: 1em;
padding: .2em;
border: 1px solid #000000;
}
A much neater text solution, you just lose the curvey corners is all....
Nick
The reason img's get extra space in table cells when using some DTD's on recent browsers is that the img sits on the theoretical 'baseline'. Images are already inline so setting them to inline does nothing.
The trick is either to lose the DTD or to change them to blocks. Though the best solution is to stop using tables for graphical layout.
This article by Eric Meyer explains in more detal: Tables, images and mysterious gaps [developer.netscape.com]
Nick