473,508 Members | 2,195 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Paragraph lower down in Opera, Chrome, etc. but is higher up in IE.

Markus
6,050 Recognized Expert Expert
Now, I know I'm going to be grilled for saying this, but the text is actually displaying how I want it to in IE. The paragraph has no margins/paddings and displays in the very corner of the div, which is where I want it.

Take a look here.

I've taken all margins and paddings away from surrounding divs and elements. I can't understand why it still seems to have a padding/margin.

CSS here.

Cheers.
Oct 8 '08 #1
1 1396
David Laakso
397 Recognized Expert Contributor
Box model issue CSS2.1 specs: collapsing margins

Correction:
Expand|Select|Wrap|Line Numbers
  1. div#header {padding-top:1px;}
  2.  
Internet Explorer gets it wrong.

PS
Thou shalt not even think of asking an HTML or CSS question without validating first.<wink>
Oct 8 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

7
1943
by: Pete | last post by:
I'm working (playing) on a mouse following script. Yes, the sort no one likes but I'm having great fun tinkering with it - sad. Anyway, if there's enough page content to cause scrolling and I...
3
2296
by: Boris | last post by:
Please open http://www.highscore.de/opera/floatleft.html in Opera 7.54 and Firefox 1.0 Preview. Who is right? In my humble opinion Opera 7.54 is right: According to CSS 2.1 a "floating box must...
7
3046
by: Joe | last post by:
Hello, The code below is an entire HTML page that has a problem when using a <p> tag inside a CSS box (when running IE6). I was being a good boy and I replaced my single-cell <table> elements...
10
1733
by: thehuby | last post by:
I have a site that is having a strange issue in Opera. For some reason my paragraphs seem to have some strange left hand margin thing going off. I can't think of any reason for it as I have no...
13
7901
by: limelites | last post by:
In IE7, FF, Chrome and Safari, everything looks great but in Opera the display of the additional images in my product page looks awful. This is a site that does attract foreign visitors who do use...
7
4030
by: mike57 | last post by:
The minimal AJAX script below works in Firefox, but not in IE, Opera, or Chrome. I could use some suggestions or referrals to resources that will help me get the script working in other browsers. ...
2
6390
by: paragpdoke | last post by:
Hello All. I have a weird observation regarding the CSS float style for span. Allow me to share details before asking my question: Screen resolution: 1024x768 (I know my monitor is outdated; it...
2
4576
by: sandymaurya | last post by:
Please tell me what is higher and lower bits in a 8 bit register with value 01101010. Is the bits with value 1 are higher bit and bits with 0 value are lower bits.
0
7331
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7391
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7054
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...
0
7501
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4713
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3188
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1564
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 ...
1
768
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
424
bsmnconsultancy
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.