Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: How to make images and text invisible in HTML/CSS

  1. #1
    shivachettri's Avatar
    shivachettri is offline The SEOlizer
    Join Date
    Dec 2009
    Posts
    239
    Thanks
    15
    Thanked 22 Times in 21 Posts

    How to make images and text invisible in HTML/CSS

    Hello guys does anybody know how to make images and text invisible in HTML/CSS. I want the image or text to load up but I do not want them to be visible. Any special attibutes?

  2. #2
    Mr.Bill's Avatar
    Mr.Bill is offline One is glad to be of service
    Join Date
    Dec 2008
    Location
    Redmond, Oregon
    Posts
    828
    Blog Entries
    1
    Thanks
    72
    Thanked 350 Times in 182 Posts
    Have you tried style="visibility:hidden; in the <img> tag? So something like <img src="http://www.someplaceinagalaxyfarfaraway.com" style="visibility:hidden;">

    Reverse IP Check ಠ_ಠ Proxy Sites
    <?php if ($youask == 'stupid question') { echo ('stupid answer'); } ?>

  3. #3
    shivachettri's Avatar
    shivachettri is offline The SEOlizer
    Join Date
    Dec 2009
    Posts
    239
    Thanks
    15
    Thanked 22 Times in 21 Posts
    Quote Originally Posted by Mr.Bill View Post
    Have you tried style="visibility:hidden; in the <img> tag? So something like <img src="http://www.someplaceinagalaxyfarfaraway.com" style="visibility:hidden;">
    Thanks man, I will try it. I did some Google search and they were also showing this. And what about text?

  4. #4
    Aussie's Avatar
    Aussie is offline Unknown Net Builder
    Join Date
    Oct 2009
    Posts
    138
    Thanks
    11
    Thanked 46 Times in 36 Posts
    Text can be done the same way with a div tag.

    .hide { display: none; }

    or

    .hide { visibility: hidden; }
    And just wrap it around the text you want to hide

    Aus

  5. #5
    shivachettri's Avatar
    shivachettri is offline The SEOlizer
    Join Date
    Dec 2009
    Posts
    239
    Thanks
    15
    Thanked 22 Times in 21 Posts
    Quote Originally Posted by Aussie View Post
    Text can be done the same way with a div tag.

    .hide { display: none; }

    or

    .hide { visibility: hidden; }
    And just wrap it around the text you want to hide

    Aus
    Thanks man, It seems I really need to learn HTML now

  6. #6
    Aziz's Avatar
    Aziz is offline no investment, no glory
    Join Date
    May 2009
    Location
    IL
    Posts
    736
    Thanks
    588
    Thanked 243 Times in 168 Posts
    Google would still crawl and even index content hidden by CSS. If you aim to completely hide the source code of specific content from google then it's called cloaking.

  7. #7
    shivachettri's Avatar
    shivachettri is offline The SEOlizer
    Join Date
    Dec 2009
    Posts
    239
    Thanks
    15
    Thanked 22 Times in 21 Posts
    Quote Originally Posted by Aziz View Post
    Google would still crawl and even index content hidden by CSS. If you aim to completely hide the source code of specific content from google then it's called cloaking.
    No I just do not want to show those linkback images from the blog directories, top sites etc... Just want to hide it from the visitors view and also so that my theme does not look dirty

  8. #8
    Aziz's Avatar
    Aziz is offline no investment, no glory
    Join Date
    May 2009
    Location
    IL
    Posts
    736
    Thanks
    588
    Thanked 243 Times in 168 Posts
    I see, in that case the best method has been explained by Aussie above

  9. #9
    shivachettri's Avatar
    shivachettri is offline The SEOlizer
    Join Date
    Dec 2009
    Posts
    239
    Thanks
    15
    Thanked 22 Times in 21 Posts
    Quote Originally Posted by Aziz View Post
    I see, in that case the best method has been explained by Aussie above
    Thanks even though Aziz, and thanks to all other members for helping me out

  10. #10
    Mr.Bill's Avatar
    Mr.Bill is offline One is glad to be of service
    Join Date
    Dec 2008
    Location
    Redmond, Oregon
    Posts
    828
    Blog Entries
    1
    Thanks
    72
    Thanked 350 Times in 182 Posts
    would it be easier to wrap a div around all of them and then hide that div using something like

    <div style:visibility="hidden"></div>

    or even with javascript

    Seems if something like that would work then it would be less work

    Reverse IP Check ಠ_ಠ Proxy Sites
    <?php if ($youask == 'stupid question') { echo ('stupid answer'); } ?>

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 0
    Last Post: 6 February, 2010, 07:19 AM
  2. Replies: 1
    Last Post: 13 December, 2009, 13:19 PM
  3. Does putting text in bold make a difference?
    By Brandon in forum Promoting
    Replies: 3
    Last Post: 28 June, 2009, 15:24 PM
  4. Replies: 6
    Last Post: 21 April, 2009, 16:48 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •