CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 5th, 2001, 11:00 AM
brian@studiom80.com
Guest
Dev Shed Newbie (0 - 499 posts)
 
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


Reply With Quote
  #2  
Old January 5th, 2001, 11:08 AM
jaredn jaredn is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2000
Posts: 9 jaredn User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
visibility text for netscape is:

hide
show

Reply With Quote
  #3  
Old January 5th, 2001, 11:22 AM
brian@studiom80.com
Guest
Dev Shed Newbie (0 - 499 posts)
 
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>

Reply With Quote
  #4  
Old January 5th, 2001, 11:31 AM
brian@studiom80.com
Guest
Dev Shed Newbie (0 - 499 posts)
 
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...

Reply With Quote
  #5  
Old January 5th, 2001, 02:03 PM
oskar oskar is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2000
Location: Copenhagen, DK
Posts: 221 oskar User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 30 m 44 sec
Reputation Power: 8
Send a message via ICQ to oskar
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).]

Reply With Quote
  #6  
Old January 5th, 2001, 04:11 PM
darwin darwin is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2000
Location: sf, ca, usa
Posts: 20 darwin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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

Reply With Quote
  #7  
Old January 5th, 2001, 06:57 PM
jkd jkd is offline
CF sMod
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2000
Location: Maine, USA (a.k.a. Boonies)
Posts: 242 jkd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 m 43 sec
Reputation Power: 8
Send a message via ICQ to jkd Send a message via AIM to jkd Send a message via Yahoo to jkd
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

Reply With Quote
  #8  
Old January 11th, 2001, 02:50 PM
hecubus hecubus is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 1 hecubus User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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?


Reply With Quote
  #9  
Old January 11th, 2001, 04:44 PM
gplemos gplemos is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2000
Posts: 7 gplemos User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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;
}

Reply With Quote
  #10  
Old January 11th, 2001, 04:46 PM
gplemos gplemos is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2000
Posts: 7 gplemos User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
woops - meant to do a POST, not reply .. Sorry! :-)

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > NS and CSS


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

CIO Insight




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway