|
-
Jul 17th, 2001, 02:11 PM
#1
Thread Starter
Fanatic Member
Css problems with NS6
I am trying to make a menu bar in a table, and I want the links to take up the whole width of the table. In IE 5.5 it works fine, but in NS6 the links are only as wide as the text in them. I am trying to use the CSS width attribute (width: 100%; ) but it is not working. Can anyone help?
Alcohol & calculus don't mix.
Never drink & derive.
-
Jul 17th, 2001, 02:18 PM
#2
Fanatic Member
Can you post the code that's giving you the trouble?
Chris
-
Jul 17th, 2001, 02:36 PM
#3
Fanatic Member
Are you using:
<style>
td {width:100%;}
</style>
If this is not working there might be a work-around. I don't have NS6 installed here but you might try:
<td WIDTH = "100%"><a HREF = "myLink.html"><div WIDTH = "100%">MyLink</div></a></td>
Chris
-
Jul 17th, 2001, 02:42 PM
#4
Thread Starter
Fanatic Member
Alcohol & calculus don't mix.
Never drink & derive.
-
Jul 17th, 2001, 02:58 PM
#5
Fanatic Member
That's strange...
It should be working. I can't see NetScape removing this attribute. Do you have NS4 to see if it works there? Did you try the code I posted above yet?
Chris
-
Jul 17th, 2001, 04:08 PM
#6
Thread Starter
Fanatic Member
No, I don't have Netscape 4. I did try the code, same result...good in IE, not in NS.
Alcohol & calculus don't mix.
Never drink & derive.
-
Jul 17th, 2001, 05:01 PM
#7
hey Wynd..
change the width statement in your .mainNavBoxLink tag and make it 150 instead of 100%
-
Jul 17th, 2001, 07:29 PM
#8
Thread Starter
Fanatic Member
That doesn't work either...
Alcohol & calculus don't mix.
Never drink & derive.
-
Jul 17th, 2001, 07:32 PM
#9
it worked for me on NS4.7 I think I messed up. make it 150px instead of 100%, sorry
-
Jul 17th, 2001, 08:22 PM
#10
Thread Starter
Fanatic Member
Still doesn't work. I can't believe this is so hard.
Alcohol & calculus don't mix.
Never drink & derive.
-
Jul 17th, 2001, 08:36 PM
#11
well I don't know because it worked fine for me on Ns4.7 and all I did was change the 100% to 150px and it made the text go all the way like in IE. The only problem I seen was that the text in NS was not hyperlinked like it was in IE.
sorry I tried.
I will stare at it more later when I get home. don't have NS here at work.
-
Jul 17th, 2001, 11:04 PM
#12
Thread Starter
Fanatic Member
Stare no more friend, i fixed it 
What I did was, I had to add "display: block" to the link CSS definition because <a> isn't a block tag, and that caused the link to go over the side of the table, so I took out "width: 100%" and all is now good. Thanks for trying though
Alcohol & calculus don't mix.
Never drink & derive.
-
Jul 18th, 2001, 12:17 AM
#13
my eyes, my eyes I can't see. big spots white and grey. oh crap wait, what's that..... crunch....ouch.... hey I can see again. 
cool glad you got it. my way did fix it to a point but not all the way. if you don't mind can you post it again so I can see the difference. thanks Wynd
-
Jul 18th, 2001, 12:56 AM
#14
Thread Starter
Fanatic Member
Alcohol & calculus don't mix.
Never drink & derive.
-
Jul 18th, 2001, 11:59 PM
#15
PowerPoster
increadibly, in this instance, NS supports the standard better than IE.
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
-
Jul 19th, 2001, 04:05 PM
#16
Thread Starter
Fanatic Member
Don't get your hopes up
Alcohol & calculus don't mix.
Never drink & derive.
-
Jul 19th, 2001, 05:53 PM
#17
PowerPoster
yes, this is known to happen once every few years
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|