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.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 06-03-2001, 03:10 AM   #1
MrCockTale
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
MrCockTale is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-03-2001, 03:25 AM   #2
RedShoe
赤い靴 call me 202-456-1111
 
RedShoe's Avatar
 
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
RedShoe is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-03-2001, 03:29 AM   #3
RedShoe
赤い靴 call me 202-456-1111
 
RedShoe's Avatar
 
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).]
RedShoe is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-03-2001, 03:29 AM   #4
MrCockTale
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
MrCockTale is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-03-2001, 03:31 AM   #5
MrCockTale
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).]
MrCockTale is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-03-2001, 03:38 AM   #6
MrCockTale
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).]
MrCockTale is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-03-2001, 04:42 AM   #7
Lord Assmore
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.
Lord Assmore is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-03-2001, 04:48 AM   #8
Lord Assmore
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.
Lord Assmore is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-03-2001, 05:47 AM   #9
MrCockTale
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
MrCockTale is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-06-2001, 03:54 PM   #10
Rilose
Confirmed User
 
Join Date: Feb 2001
Location: USA
Posts: 565
use a background image ....we used one for this site here at the office....
Rilose is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.