Topic: Define Top Margin in CSS - How? |
|
---|---|
Author | Thread |
Bipolar (III) Inmate From: Sin City (Can you guess where?) |
posted 11-18-2004 21:43
I need to define the following code in .CSS. How do I do it? code: topmargin="0"
|
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 11-18-2004 21:44 |
Bipolar (III) Inmate From: Sin City (Can you guess where?) |
posted 11-18-2004 21:51
Ok, Slime: code: <body oncontextmenu="return false" topmargin="0">
code: <body oncontextmenu="return false"
code: topmargin="0">
|
Bipolar (III) Inmate From: Umeå, Sweden |
posted 11-18-2004 21:51
Is that the attribute as used on the body tag? then you use the following CSS: code: html,body{
code: html,body{
code: document.oncontextmenu=function(){return false;}
|
Maniac (V) Inmate From: under the bed |
posted 11-19-2004 01:00
On a side note...why are you using 'right-click code' ? |
Paranoid (IV) Inmate From: France |
posted 11-19-2004 01:24
Good point DL-44 and liorean. Disabling the right click is a pain in the ass of the end users. And it's useless because :
|
Bipolar (III) Inmate From: Umeå, Sweden |
posted 11-19-2004 01:42
Another thing about right click prevention: |
Maniac (V) Inmate From: under the bed |
posted 11-19-2004 03:39
^ right. |