The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Web Design
> CSS Help
|
NS and CSS
Discuss NS and CSS in the CSS Help forum on Dev Shed. NS and CSS Cascading Style Sheets (CSS) forum discussing all levels of CSS, including CSS1, CSS2 and CSS Positioning. CSS provides a robust way of applying standardized design concepts to your web pages.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

January 5th, 2001, 11:00 AM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Greetings,
Trying to figure out why...oh why...Netscape 4.75 does not like my code:
<div id="1" name="Example" level="1" menutype="links" style="visibility: hidden; margin-left:10px;">
<a href="#http://example" class="links">Example</a><br />
</div>
According to Netscape visibilty should be valid and so is it's value of hidden...but yet it is always visible.
Also Netscape says it believes in Margin-Left...but it just sits there on the far left side mocking me.
Any ideas? URL
|

January 5th, 2001, 11:08 AM
|
|
Junior Member
|
|
Join Date: Dec 2000
Posts: 9
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
visibility text for netscape is:
hide
show
|

January 5th, 2001, 11:22 AM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
tried that too.
Still no worky.
<div id="1" name="Example" style="visibility: hide; margin-left:10px;">
<a href="#http://example" class="links">Example</a><br />
</div>
|

January 5th, 2001, 11:31 AM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
it appears Netscape does not care much for using style: in the <div> tag.
putting the same style into the <a> tag worked.
BUT I WANT IT IN THE DIV! URL
Stupid work arounds...
|

January 5th, 2001, 02:03 PM
|
|
Contributing User
|
|
Join Date: Nov 2000
Location: Copenhagen, DK
Posts: 231
Time spent in forums: 4 h 39 m 35 sec
Reputation Power: 13
|
|
|
You can't use style and ID at the same time. Id is defined in head-tags, and style is for each div-tag with no ID. That's also why margin-left doesn't work. And I have always used visibility:hidden for css-positioning.
Also, in my NS 4.7 I couldn't use "1" as ID, but it worked fine using "ID=er".
By the way, you have mixed THREE styles:
ID, style and class.
Steffen
[This message has been edited by oskar (edited January 05, 2001).]
|

January 5th, 2001, 04:11 PM
|
|
Junior Member
|
|
Join Date: Dec 2000
Location: sf, ca, usa
Posts: 20
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
hey,
i've found that it only recognized some properties when you've defined the position.
try adding "position:absolute;" to the style definition. (relative should do the trick too, but it seems to need the position attribute either way)
my2c.
darwin
|

January 5th, 2001, 06:57 PM
|
|
CF sMod
|
|
Join Date: Jul 2000
Location: Maine, USA (a.k.a. Boonies)
Posts: 242
Time spent in forums: 6 m 43 sec
Reputation Power: 13
|
|
Just a correction for jaredn, while NS4 allows hide and show, it ALSO allows hidden and visible.
------------------
Jason**** Contact Me
Moderator @ www.wsabstract.com
Javascript Request and Installation Help forum
|

January 11th, 2001, 02:50 PM
|
|
Junior Member
|
|
Join Date: Jan 2001
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
With respect to using ID names, in NS they must begin with an alphabetic character, with IE they can begin with alphanumerics or the underscore character.
If you use ID and NAME in the same tag, aren't they cancelling each other out?
|

January 11th, 2001, 04:44 PM
|
|
Junior Member
|
|
Join Date: Sep 2000
Posts: 7
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
CSS Questions
Alright, I have a simple CSS file that I'm working on. Perhaps someone can take a look at it and teach me if I've done something wrong. I must admit I just started using CSS after all this time.
Everything looks fine in IE, and NS 6, but NS 4 shows the default fonts. Below is what I used in my external CSS file.
Thanks for your assistance.
.pnistyles {
font-family: Verdana;
font-size: 15 px;
}
A:link {
color: Blue;
text-decoration : underline;
}
A:active {
color: Black;
}
A:visited {
color: Blue;
}
A:hover {
color: Green;
text-decoration: overline;
}
.linkstyles {
font-family: Verdana;
font-size: 15 px;
}
A:link {
color: Blue;
text-decoration : underline;
}
A:active {
color: Black;
}
A:visited {
color: Blue;
}
A:hover {
color: Green;
text-decoration: none;
}
.topsylestyles {
font-family: Verdana;
font-size: 20 px;
}
|

January 11th, 2001, 04:46 PM
|
|
Junior Member
|
|
Join Date: Sep 2000
Posts: 7
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
woops - meant to do a POST, not reply .. Sorry! :-)
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|