473,387 Members | 1,624 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,387 software developers and data experts.

Mysterious top margin or padding in Opera

Hello,
<http://www.asaom.edu>
There are some curious spacing issues with the top bar (gray) and the
main navigation bar.
The most significant is how the nav bar looks in Opera v6 (win2k): the
text portion is has extra space at the top that I cannot remove. As a
result the text portion is pushed below the background bar by a few
pixels. This does not occur in Mozilla/Firefox, or IE6. (I have ordered
Opera v7.) Is this a known issue?
The secondary issue is the difference in height of the top bar, the
gray portion. In Mozilla there is an extra little space at the bottom, 2
pixels it looks like. In Opera and IE6 there is no space so the vertical
white line meets the nav bar. Which is "correct"?

--
jmm dash list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Jul 20 '05 #1
7 6208
jmm-list-gn <jm***************@sohnen-moe.com> wrote:
<http://www.asaom.edu> The most significant is how the nav bar looks in Opera v6 (win2k):
Opera users upgrade quicker and in greater numbers than users of other
UAs. V6 has few users already.
the text portion is has extra space at the top
Opera has a small user base, fretting over minor cosmetic issues in an
old version is pointless.
that I cannot remove.
Sure you can: ul li{margin:0;padding:0}
(I have ordered Opera v7.)
It's a free download: http://www.opera.com/download
Is this a known issue?
Default margin, padding and line-height varies amongst UAs, perfectly
normal, leave it alone when possible.
The secondary issue is the difference in height of the top bar, the
gray portion. In Mozilla there is an extra little space at the bottom, 2
pixels it looks like. In Opera and IE6 there is no space so the vertical
white line meets the nav bar. Which is "correct"?


Probably all three, different default margin, padding and line-height
again.

--
Spartanicus
Jul 20 '05 #2
Spartanicus <me@privacy.net>:

Opera users upgrade quicker and in greater numbers than users of other
UAs.
That may be true, although I'm currently a few subversions behind.
V6 has few users already.


There are good reasons to stick with Opera 6 instead of 7, resources and
speed for example. CSS conformity in none of them, though.

--
"Put it back in the horse!"
H. Allen Smith, after he drank his first American beer at a bar
Jul 20 '05 #3
Christoph Paeper <ch**************@nurfuerspam.de> wrote:
There are good reasons to stick with Opera 6 instead of 7, resources and
speed for example.


On mobile phones perhaps, but V7.5 runs fine on my low spec machine
(PII/266Mhz/64Mb ram/4500rpm HD). V6 is on balance no faster here.

--
Spartanicus
Jul 20 '05 #4
Spartanicus wrote:
The most significant is how the nav bar looks in Opera v6 (win2k):
Opera users upgrade quicker and in greater numbers than users of other
UAs. V6 has few users already.

I suspected as much.
the text portion is has extra space at the top
that I cannot remove.
Sure you can: ul li{margin:0;padding:0}

Ah..., no. Did not work.
It all looks good in Opera7. I'll leave it at that.
Is this a known issue?


Default margin, padding and line-height varies amongst UAs, perfectly
normal, leave it alone when possible.

Okay.
--
jmm dash list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Jul 20 '05 #5
jmm-list-gn <jm***************@sohnen-moe.com> wrote:
the text portion is has extra space at the top
that I cannot remove.


Sure you can: ul li{margin:0;padding:0}

Ah..., no. Did not work.


Sure it does: http://www.spartanicus.utvinternet.ie/test/jmm.png

--
Spartanicus
Jul 20 '05 #6
Spartanicus wrote:
the text portion is has extra space at the top
that I cannot remove.

Sure you can: ul li{margin:0;padding:0}

Ah..., no. Did not work.


Sure it does: http://www.spartanicus.utvinternet.ie/test/jmm.png

Hm, the mystery deepens. I added the above CSS to the content1.css file
and it made no difference to the appearance in Opera v6. It must be a
placement-in-the-file thing. I'll experiment tomorrow.
BTW where did you insert the code?

--
jmm dash list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Jul 20 '05 #7
jmm-list-gn <jm***************@sohnen-moe.com> wrote:
Ah..., no. Did not work.


Sure it does: http://www.spartanicus.utvinternet.ie/test/jmm.png

Hm, the mystery deepens. I added the above CSS to the content1.css file
and it made no difference to the appearance in Opera v6. It must be a
placement-in-the-file thing.


http://www.w3.org/TR/CSS21/cascade.html#specificity

--
Spartanicus
Jul 20 '05 #8

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

Similar topics

4
by: Harlan Messinger | last post by:
What is *supposed* to be the way to specify the horizontal offset of (a) the list item's marker and (b) the list item's content? In particular, see ...
6
by: Haines Brown | last post by:
I find that when I use list-style-image with galeon or mozilla, padding is inserted between the symbol image and the following list text, while under IE 5.0 it seems to be inserted before the image...
3
by: Blacksmith | last post by:
Hi, I'm a CSS noob, and I'm trying to implement a very basic layout but am having problems in certain browsers. Basically, I want a horizontally centred box with a fixed width of 750px, with a...
2
by: Stanimir Stamenkov | last post by:
I'm trying to clear some sizing issues relative to the initial containing block and the root document element. The sample document I'm trying with: http://stanio.info/viewport_fill.html ...
7
by: Greg Heilers | last post by:
Perplexing problem: All of a sudden, the code I am tinkering with; renders a white-space margin around all four edges of the browser window (Mozilla, Firefox, Konqueror, and Opera). I can not...
6
by: boclair | last post by:
I have been approached over a page that has a horizontal menubar displaying over a banner. The problem advised that the menubar is not displayed and the banner moves up to the position the menubar...
10
by: Alan Silver | last post by:
Hello, In my (seemingly) endless quest to understand CSS, I have yet another problem. Please look at http://www.kidsinaction.org.uk/ph/x.html in Opera, where you will see it how I expected. If...
7
by: GTalbot | last post by:
Hello fellow authoring.stylesheets colleagues, Can someone please explain why the bottom margin of the last inflow block-level child in an overflowed parent should not have its margin reachable....
3
by: Nonce | last post by:
I have two examples of this behaviour: http://www.accursoft.co.uk/css/odd1.xhtml http://www.accursoft.co.uk/css/odd2.xhtml In each case, IE7 adds a left margin to textboxes for no apparent...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...

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.