![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Jan 2001
Location: Amsterdam, the Netherlands
Posts: 669
|
HTML question
I use topmargin="0" leftmargin="0" oin the body
In IE it looks all good with no space on the left and top side, but with Netscape and Opera there still is about 1cm white space.. How can I fix this? ------------------ Life's a bitch |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
赤い靴 call me 202-456-1111
Industry Role:
Join Date: Feb 2001
Location: The Valley
Posts: 14,831
|
Is it possible to set your BGCOLOR in your body to match the BG color of the graphic, or table that your trying to set to topmargin="0" leftmargin="0"
I've also had trouble with this. Go here http://htmlgoodies.earthweb.com/ and notice that even in Netscape he doesn't have that white space. Maybe try learn it from his source, I looked but didn't see anything out of the ordinary. Maybe his BG image is what helps to eliminate the white space. ------------------ ...:::End Of Line:::... ------------------ * uSexFan.com * ICQ : 114683191 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
赤い靴 call me 202-456-1111
Industry Role:
Join Date: Feb 2001
Location: The Valley
Posts: 14,831
|
Here's something interesting. I actually have the exact opposite problem http://LeeannOnline.com
In Netscape, it works fine. In IE, I get that 1cm gap. This may help to know, My body tag has this in it, leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 According to "html for dummies - The quick reference 2nd Edition" (my one and only html book) the marginwidth, and marginheight tags are only used for Frames in IE. Maybe that explains why @ LeeannOnline it works in netscape and not IE. ------------------ ...:::End Of Line:::... ------------------ * uSexFan.com * ICQ : 114683191 [This message has been edited by RedShoe (edited 06-03-2001).] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Jan 2001
Location: Amsterdam, the Netherlands
Posts: 669
|
I use that code in the body tag so the
whole page including all tables will be shown without white space.. ------------------ Life's a bitch |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Jan 2001
Location: Amsterdam, the Netherlands
Posts: 669
|
*posted html code here, but html is enabled*
[This message has been edited by MrCockTale (edited 06-03-2001).] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Jan 2001
Location: Amsterdam, the Netherlands
Posts: 669
|
ahh thanks RedShoe, I added
marginwidth=0 marginheight=0 and it works now.. in IE AND Netscape.. So I guess this is the solutions, add body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 to the body tag (WITHOUT "") ------------------ Life's a bitch [This message has been edited by MrCockTale (edited 06-03-2001).] [This message has been edited by MrCockTale (edited 06-03-2001).] [This message has been edited by MrCockTale (edited 06-03-2001).] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Join Date: Mar 2001
Location: The Periphery
Posts: 588
|
It doesn't work with Opera, because those attributes are NS/IE proprietary stuff. Opera only recognizes the correct W3 HTML standard. So you have to use CSS to set the document margins to zero width.
Add this style="margin: 0px" to your BODY tag, or <style type="text/css"> <!-- BODY {margin: 0px} --> </style> to your HEAD tag. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Join Date: Mar 2001
Location: The Periphery
Posts: 588
|
MrCockTale, when attribute values are pure numbers, it doesn't matter if you sorround them with quotation marks or not. It works both ways, and has exactly the same meaning to a browser.
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Join Date: Jan 2001
Location: Amsterdam, the Netherlands
Posts: 669
|
If I remove the "" it works with Opera,
Netscape en IE and if I don't remove them it only works with IE. ------------------ Life's a bitch |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Confirmed User
Join Date: Feb 2001
Location: USA
Posts: 565
|
use a background image ....we used one for this site here at the office....
|
![]() |
![]() ![]() ![]() ![]() ![]() |