![]() Preserved Topic: Margin problem (Page 1 of 1) |
|
---|---|
Nervous Wreck (II) Inmate From: Italy |
![]() 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 |
![]() 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 |
![]() Margins to zero like Emps says and try opening your window with these options: |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
![]() |
Maniac (V) Mad Scientist From: New California |
![]()
|
Nervous Wreck (II) Inmate From: Italy |
![]() 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... |