This is driving me insane, and I can't seem to fix it. I am getting an 8px padding on the top and left of any and all HTML docs I make.
Example: http://www.oregonstate.edu/groups/fwclub/new/index.html
That is the most complicated one, of course. I then proceeded to test with just an image on a page, and it still did that. I did big images, small images, gifs, jpegs, it's still there!
I am using Text Wrangler to code the pages, but I also tried Text Edit and it still appeared. Is there something I can do to make this stop occurring??? Am I just really stupid, and that has always been there but I never noticed?
2 1405
You don't have a DocType declaration in ur page, which puts IE into "quirks mode" and its broken box model. Notice that u have also 34 html errors.
Anyway, I guess that this
[HTML]body {
margin: 0px;
}[/HTML]
may solve ur problem.
Let me know plz if it works.
Thanks! I forgot about running it through the HTML validator (showing my novice-ness, I know). And now I know what DocType is for.... Thank you!
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Brynjar Glesnes |
last post by:
Hi,
I've browsed the Fop FAQ, usenet and the internet hoping to find a
solution to my problem, but in vain.
I am using Xerces 2.6.2, Xalan-J 2.6.0 and Fop 0.20-5 to create
PDF-documents. In the rendered PDF there is an unwanted whitespace
after each xsl:value-of.
An example: What I want to render to "Doe, John" renders to "Doe ,
|
by: Brian |
last post by:
I have a page with content, navigation, and footer divs, in that
order. The nav div has position: absolute, width 8em, on green
background. The other divs have an 8em green left border, such that
the nav sits on that border. There is a thin red top border on footer
for testing.
http://www.tsmchughs.com/test/
On that page, all is as expected. However, on the long page
http://www.tsmchughs.com/test/long
|
by: Becky Carter Hickman-Jones |
last post by:
Hi,
I have a simple script that opens an image in a new window which is sized to
the image. The script is as follows: <a title="xxx"
onclick="window.open('http://www..com/photos/xxx.jpg','height=xxx,
width=xxx');return false" href="#">link text</a>
This script works very well for my needs, however, in IE6, the resulting
opened window has unnecessary padding on the top and left sides of the
image, which pushes the image down and to the...
|
by: Edward |
last post by:
I created a simple CSS layout (code and example below) for
bloggin/writing but ran into five issues that I need help with:
1. How do I get rid of the right-margin red line on the last three
right-boxes in Internet Explorer?
2. How can I put a 4px margin BETWEEN the right-boxes, "border-top:
4px" didn't do it and if I put in a "margin-top: 4px;" it shows the red
underneath instead of the brown background graphic.
|
by: Tom |
last post by:
I am having a problem where an extra gap (whitespace, padding) appears
in a table cell where I don't want it. The data fed in the table is
via dynamic HTML, so the amount in the middle cell may vary. When the
data in the middle table cell is little and that cell's height is
small, an unwanted gap appears in the first table cell. I would prefer
to have all additional blank space at the bottom of the table (last
row) and not have any in...
| |
by: sllrphoto |
last post by:
A veteran of early html, I've modified my blog template and made it
look rather clean (albeit rather plain) when viewed with IE.
Ironically, I'm a big Firefox fan, but when viewed in FF, my blog
leaves a lot to be desired.
The blog (which is at http://lazycomic.blospot.com/ ) is a basic two
column style, with the right column being the one that's giving me the
problems.
|
by: crjeske |
last post by:
Hi, I've been looking for answers to this for HOURS. I'm very new to CSS. I've written a code for there to be three columns. a HEADER, MAIN and FOOTER.
I don't want there to be any space between the three of them, yet, I can't seem to figure out how to do this. I've got all my margin's and padding's set to 0. Yet, there's still a space when I view in Firefox.
Here is my css ...
<code>
@charset "utf-8";
body {
background: #666666;...
|
by: as702ecs |
last post by:
hi guys,
bit of a strange one. when using the holly hack to address the well-documented "expanding box" problem in ie6, i encounter an undesired side-affect - all my unordered list items exhibit a phantom 4px pad (right & bottom only).
i've attached some sample code to illustrate (in this case with images although it applies to text also).
any clues? :(
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...
|
by: beary |
last post by:
Hello,
I'm a little out of my depth with this one. There's a top dropdown nav menu which is just a bunch of ul and li etc. The style sheet (below) works perfectly with FF and Safari, but IE7 two things are wrong. (The menu is from Stu Nicholl's site.) I'm on Windows XP.
1) The dropdown part is "transparent". Is this some sort of z-index problem?
2) IE7 will only dropdown to the 1st sublevel, but no more. If you move the mouse below that...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |