PDA

View Full Version : Really Annoying!


digitaltune
05-12-2003, 09:28 PM
I have the site im designing perfect in I.E. but theres one major things that happening in gecko-browsers. Is it ok if i post the code here (only the area thats giving me troubles) and you take a look ppl ? Thanks!

Oh, and by the way, I am placing text in a div ontop of an image in another div, any problems with mozilla & co with that kind of senario? Cheers in advance.

++++++++++++++++++Begin Code+++++++++++++++++++

<div class="welcometext">
<h3>welcome to blah blah : blah blag</h3> <br />

text tex text <br /> <br />

more text text text <br />

more text text tex tex tex tex<br />

</div>

and the corresponding CSS section :


div.welcometext {position:absolute; top:150; left:225px; height:250px; width:500px; padding:5px; }

+++++++++end of code+++++++++

Thanks in advance,
Matt

zoobie
05-13-2003, 01:08 AM
And just what might that "one major thing" be? :rolleyes:

digitaltune
05-13-2003, 07:15 AM
oops, sorry! lol!

The text appears much nearer the top of the page, so its out of sink and not in the middle of the picture that im placnig it on top of.

Thanks for your interest:thumbsup:

Roy Sinclair
05-13-2003, 02:25 PM
Is the DIV you're placing it over also positioned absolute? If not, then you've not allowed for possible variances in rendering between browsers. Of course you could just declare the image as the background image for the div and reduce the complexity of the whole thing.

digitaltune
05-13-2003, 04:37 PM
Aha! I'll place it as the background, thanks very much!!

God im stupid :mad: :o