473,394 Members | 1,746 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

IE doubles border-top

Hi!
I played around with some divs and lists (<http://www.stefan.borchert.cc/>, CSS:
<http://www.stefan.borchert.cc/style/screen.css>). All seems to work fine but IE seems to double the
top border of the navigation-div. Why? I've validated css and xhtml and all is ok.
Any hints what I could do?

thanks,

Stefan
Jul 20 '05 #1
4 2649

"Stefan Borchert" <st****@borchert.net> wrote in message
news:2k************@uni-berlin.de...
Hi!
I played around with some divs and lists (<http://www.stefan.borchert.cc/>, CSS: <http://www.stefan.borchert.cc/style/screen.css>). All seems to work fine but IE seems to double the top border of the navigation-div. Why? I've validated css and xhtml and all is ok. Any hints what I could do?


There are no double borders in my IE.

Jul 20 '05 #2
Harlan Messinger schrieb:
"Stefan Borchert" <st****@borchert.net> wrote in message
news:2k************@uni-berlin.de...
Hi!
I played around with some divs and lists (<http://www.stefan.borchert.cc/>, CSS:
<http://www.stefan.borchert.cc/style/screen.css>). All seems to work fine but IE seems to double the
top border of the navigation-div. Why? I've validated css and xhtml and all is ok.
Any hints what I could do?


There are no double borders in my IE.


Hm! Im using 6.0.2800(.1106.xpsp2...).
Look at <http://www.stefan.borchert.cc/IE.png>. I've marked the extra-line.

Stefan
Jul 20 '05 #3

"Stefan Borchert" <st****@borchert.net> wrote in message
news:2k***********@uni-berlin.de...
Harlan Messinger schrieb:
"Stefan Borchert" <st****@borchert.net> wrote in message
news:2k************@uni-berlin.de...
Hi!
I played around with some divs and lists (<http://www.stefan.borchert.cc/>, CSS:<http://www.stefan.borchert.cc/style/screen.css>). All seems to work fine but IE seems to double thetop border of the navigation-div. Why? I've validated css and xhtml and all is ok.Any hints what I could do?


There are no double borders in my IE.


Hm! Im using 6.0.2800(.1106.xpsp2...).
Look at <http://www.stefan.borchert.cc/IE.png>. I've marked the

extra-line.

OK, I see. I thought you meant like a typical double border. Anyway, the
problem disappears when I replace

margin-top: -11px;

in

#navcontainer ul

with

margin-top: 0px;
top: -11px;

which in addition, I think, is a more accurate statement of what you're
trying to do.

Jul 20 '05 #4
Harlan Messinger schrieb:
Hm! Im using 6.0.2800(.1106.xpsp2...).
Look at <http://www.stefan.borchert.cc/IE.png>. I've marked the


extra-line.

OK, I see. I thought you meant like a typical double border. Anyway, the
problem disappears when I replace

margin-top: -11px;

in

#navcontainer ul

with

margin-top: 0px;
top: -11px;

which in addition, I think, is a more accurate statement of what you're
trying to do.


Ah, thanks. Now all's fine.

Stefan
Jul 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Daniel Lidström | last post by:
Hi, I'm currently using this method to extract doubles from a string: System::String* sp = S" "; System::String* tokens = s->Trim()->Split(sp->ToCharArray()); m_Northing =...
43
by: J.K. Becker | last post by:
Hi there, I am trying to multiply doubles with floats (actually I tried every possible combination by now) and it never works (well, it does something but it is always wrong). I have no idea...
14
by: my.correo.basura | last post by:
Yesterday I found in a piece of code a float being incremented with ++. For some reason (wrong, I guess...) I thought that only integer types could be incremented that way, and I had never seen...
25
by: Allan Rydberg | last post by:
hi i'm trying to shift a double, but i'm getting the error message '>>' illegal, left operand double. althought that the manpages say, '>>' and '<<' can be applied for int's only, i was able...
5
by: Tales Normando | last post by:
The title says it all. Anyone?
12
by: John Smith | last post by:
This code for the comparison of fp types is taken from the C FAQ. Any problems using it in a macro? /* compare 2 doubles for equality */ #define DBL_ISEQUAL(a,b)...
27
by: brad | last post by:
Does anyone else feel that unittesting is too much work? Not in general, just the official unittest module for small to medium sized projects? It seems easier to write some quick methods that are...
5
by: =?Utf-8?B?TWFuanJlZSBHYXJn?= | last post by:
Hi, I developed a custom Matrix class derived from custom VC++ doubles Array class derived from a RealArray which is defined as: typedef CArray<double,doubleRealArray; Now I need to convert...
2
by: utab | last post by:
Dear all, On a formatted printing operation that I am trying to accomplish for doubles, I have a question. I would like to print a double, d, and its square, d*d, but I would like to make the...
48
by: Bill Cunningham | last post by:
Is this valid C syntax ? double=double/int; I seem to be having trouble here. Bill
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
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,...
0
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...
0
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
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...
0
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
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...

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.