Preserved Topic: Margin problem (Page 1 of 1) |
|
---|---|
Nervous Wreck (II) Inmate From: Italy |
posted 03-27-2002 23:11
I want to open an image ( W 640 H 480) in a new window. I made a 640X480 window, set topmargin/leftmargin to 0 but I' m still getting a margin on the right and at the bottom. I'm really stuck here, I would like the image to fit EXACTLY in the window. Is there any HTML/CSS/Javascript trick to get rid of the margins? |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 03-28-2002 02:30
RAMshackle: Welcome. Its not got full crossbrowser support (i.e. it doesn't work in older browsers) but try the CSS: code: body {
|
Maniac (V) Mad Scientist From: New California |
posted 03-28-2002 06:20
Margins to zero like Emps says and try opening your window with these options: |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 03-28-2002 06:40 |
Maniac (V) Mad Scientist From: New California |
posted 03-28-2002 07:35
Look out!!! |
Nervous Wreck (II) Inmate From: Italy |
posted 03-28-2002 13:37
Thanx guys, I was finally able to solve the problem. I took several attempts to get it right anyway. I'm using a Mac and couldn't get it to work. Later I tested on my old crappy PC and it was OK. It's not the first time it happens. Don't want to start the empth Mac/Win debate here, you've seen it all before, but I think while Macs are great for graphics/audio/video, when code/browser compatibility are concerned they suck a little bit... |