🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.web.design
Article #480

Re: will someone please explain this simple CSS bug?

#480
From: DU
Date: Fri, 12 Mar 2004 00:56
73 lines
4197 bytes
[Followup-To set: comp.infosystems.www.authoring.stylesheets]

John Smith wrote:

> hi all
> 
> can someone explaing why the text ("this menu text wont show on mozilla")
> shows correctly in IE 

This is weird: why would an IE user need to be informed that a 
particular menu text won't show in mozilla? Is that because of some 
webpage layout debugging you are doing?

for the following code, but in mozilla
> (netscape/firefox etc.) the text is printing a few pixels

A few pixels could mean 4 pixels or it could mean 40 pixels or more. 
Here, we have no way of knowing.

  down so you can
> only see half of it?!
> its my first foray into the world of CSS and this seems like the most
> straightforward thing you can do! and it doesnt work!
> style1 is simply bold, white text.i want a thin black bar in a layer, with
> white text on it.
> 
> <div id="headermenubar" style="position:absolute; width:592px; height:20px;

If the height of that div is set to 20px with a css declaration of 
overflow:hidden and the font-size of the inner paragraph is, say, 28px, 
(either set or user-defined/default) then the text will be cut off. But, 
here, with the code fragment you posted, there is no way we can figure 
this out.

> z-index:5; 

If you have set the z-index to 5, then it should mean that you have 4 
other siblings with a set z-index as well. Now, the code you posted show 
none of that. So, there is no way we can figure out what happens here. 
The other layers could be overlapping.

left: 158px; top: 95px; layer-background-color: #000000;

layer-background-color is not a valid css property.

  border:
> 0px none #000000; background-color: #000000;">
>   <p class="style1">this menu text wont show on mozilla</p>

What's the rule on style1 exactly? It's kinda difficult to explain (and 
debug) the interaction of these elements (and all their siblings and all 
their offsetParents) without being able to examine all the declarations 
which may apply to these.

> </div>
> 
> thanks
> 
> 

With the whole code you provided, it's impossible to tell what is 
happening. For starters, I can't even see the layout you describe.

If you need assistance into fixing or solving a layout matter, best is 
to provide an url. You'll get a lot more help that way than by posting 
to newsgroups which have little or nothing to do with your particular 
webpage issue.

Can you validate your page markup code and css code and then post an url?

DU

[Followup-To set: comp.infosystems.www.authoring.stylesheets]
Technical Details
Message-ID: <c2r1sq$oq5$1@news.eusc.inter.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!npeer.de.kpn-eurorings.net!eusc.inter.net!news.eusc.inter.net!not-for-mail
References: <c2qv9v$20lp6o$1@ID-214638.news.uni-berlin.de>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5246,31ff17827ef5d923
X-Google-Attributes: gidf5246,public
X-Google-Thread: 10e927,31ff17827ef5d923
X-Google-Attributes: gid10e927,public
X-Google-Thread: 105656,31ff17827ef5d923
X-Google-Attributes: gid105656,public
X-Google-Thread: 10cb8f,31ff17827ef5d923
X-Google-Attributes: gid10cb8f,public
X-Google-Thread: ffb7c,31ff17827ef5d923
X-Google-Attributes: gidffb7c,public
X-Google-ArrivalTime: 2004-03-11 16:57:00 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!npeer.de.kpn-eurorings.net!eusc.inter.net!news.eusc.inter.net!not-for-mail
From: DU <drunclear@hotWIPETHISmail.com>
Newsgroups: adobe.web.design,comp.infosystems.www.authoring.stylesheets,macromedia.dreamweaver,microsoft.public.windows.inetexplorer.ie55.programming.css,netscape.public.dev.css
Subject: Re: will someone please explain this simple CSS bug?
Followup-To: comp.infosystems.www.authoring.stylesheets
Date: Thu, 11 Mar 2004 19:56:49 -0500
Organization: [Posted via] Inter.net Germany GmbH
Lines: 73
Message-ID: <c2r1sq$oq5$1@news.eusc.inter.net>
References: <c2qv9v$20lp6o$1@ID-214638.news.uni-berlin.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.eusc.inter.net 1079053019 25413 64.10.90.94 (12 Mar 2004 00:56:59 GMT)
X-Complaints-To: abuse@eusc.inter.net
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040310
X-Accept-Language: en, zh, cs
In-Reply-To: <c2qv9v$20lp6o$1@ID-214638.news.uni-berlin.de>