PDA

View Full Version : absolute position



MaGiCSuN
July 8th, 2001, 06:51
i'm busy to update my personal page
but there's one annoying thing

look at http://www.webmiss.f2s.com/index.html

and click "enter" to see the pop-up
then you see that the layout isn't at the top and also not left....
how can i fix that?
i want it to fit in the pop-up

i've tried this in the code:

topmargin="0" leftmargin="0"

but there was no difference.... plzz help
Thnxxxxx

Love,
Mirna

Wizard designs
July 8th, 2001, 09:18
Try using CSS

niv
July 8th, 2001, 09:26
Originally posted by MaGiCSuN
i've tried this in the code:

topmargin="0" leftmargin="0"


the topmargin and leftmargin should be in the body tag, not the table tag.

gyrbo
July 8th, 2001, 09:31
:rolleyes: The best is too use rightmargin="0" too, otherwise it's possible you have a scrollbar.

MaGiCSuN
July 8th, 2001, 14:13
Originally posted by needcgispace


the topmargin and leftmargin should be in the body tag, not the table tag.

yeah thank you very much, but euhm...... i'm not a genius
so what should the code look like?

niv
July 8th, 2001, 15:41
just insert topmargin="0" and leftmargin="0" into your <body> tag:

<body bgcolor="#ffffff" topmargin="0" leftmargin="0">

MaGiCSuN
July 8th, 2001, 16:08
thnxxxx

maybe it was a dumb question, but i had never worked before with pop-ups like these.....