Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
hiding text without display:none
Old 10-13-2006, 02:26 PM hiding text without display:none
carterdea's Avatar
Ultra Talker

Posts: 353
Location: Arizona
Trades: 0
Hi, I need to hide some text without using

Code:
display:none;
I tried using a

Code:
text-indent:1000px;
but that didn't really work.

does anyone know another way to hide text?

thanks

carter
carterdea is offline
Reply With Quote
View Public Profile Visit carterdea's homepage!
 
 
Register now for full access!
Old 10-13-2006, 04:07 PM Re: hiding text without display:none
funkdaddu's Avatar
Web Design Snob

Posts: 635
Trades: 0
You can hide it with visibility: hidden, though it will still take up the space it takes when visible.
Or try making it a block element and then use text-indent:-9999px;

Why can't you use display: none?
funkdaddu is offline
Reply With Quote
View Public Profile Visit funkdaddu's homepage!
 
Old 10-13-2006, 04:16 PM Re: hiding text without display:none
vangogh's Avatar
Post Impressionist

Posts: 10,688
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
I'm also curious about why you can't use display: none.

Instead of the text-indent I usually use relative positioning and the -9999px
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 10-14-2006, 01:49 AM Re: hiding text without display:none
carterdea's Avatar
Ultra Talker

Posts: 353
Location: Arizona
Trades: 0
It's a long story. Take a look at this in IE. http://tinyurl.com/yeg8px it's a long explanation, but basically, the entire links disappear if I do that.

I am going to fill the boxes with icons and get rid of the littl "-" in there using these techniques. If I don't have any text, they don't appear in safari or IE, hence the "-", but I don't want it to show up. I hope that made sense.

Relative positioning isn't an option, because they are already positioned I think.

carter
carterdea is offline
Reply With Quote
View Public Profile Visit carterdea's homepage!
 
Old 10-14-2006, 07:01 PM Re: hiding text without display:none
carterdea's Avatar
Ultra Talker

Posts: 353
Location: Arizona
Trades: 0
sweet. I got it to work just using the
Code:
visibility:hidden;
thanks a ton
carterdea is offline
Reply With Quote
View Public Profile Visit carterdea's homepage!
 
Reply     « Reply to hiding text without display:none
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.15089 seconds with 12 queries