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

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

  1. 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
    Join Date
    Dec 2008
    Location
    Redmond, Oregon
    Posts
    828
    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. 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
    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. 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
    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. 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
    I see, in that case the best method has been explained by Aussie above

  9. 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
    Join Date
    Dec 2008
    Location
    Redmond, Oregon
    Posts
    828
    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, 08:19 AM
  2. Replies: 1
    Last Post: 13 December, 2009, 14: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
  •