Activity Stream
48,167 MEMBERS
6969 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 5 of 5
  1.     
    #1
    Banned
    Website's:
    Ifyoureseeingthisinsteadofrealbiothenyourenotyetreadytoknow.com

    Default How to code image in css and se in wordpress post?

    I'm working on some project and using wordpress as cms..

    I managed to learn and fix few things but I want to know this.

    How to code image in css and se in wordpress post??


    For example:

    Code: 
    http://www.oneddl.eu/tv-shows/southland-s04e09-hdtv-xvid-2hd/
    See the image



    I think it's coded in css and used on posts using <span> </span>

    but can anybody say how? or correct me if I'm wrong with tut?


    EDIT: Not ripping or has anything to do with Oneddl theme.. Just for learning I used it as an example.

    Thank you!
    BattleDuty Reviewed by BattleDuty on . How to code image in css and se in wordpress post? I'm working on some project and using wordpress as cms.. I managed to learn and fix few things but I want to know this. How to code image in css and se in wordpress post?? For example: http://www.oneddl.eu/tv-shows/southland-s04e09-hdtv-xvid-2hd/ Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Retired NinJa
    Website's:
    loledhard.com
    It is done using CSS sprites
    http://css-tricks.com/css-sprites/


    OG IMAGE > http://images.oneddl.eu/site-img/one...ddl_sprite.png

    CSS code
    Code: 
    infoimg { 
    background-position: -359px -283px;
     }
    infoimg, oneclickimg, downloadimg { 
    background: url("http://images.oneddl.eu/site-img/oneddl/oneddl_sprite.png") no-repeat transparent;
    display: block;
    height: 23px;
    width: 192px;
     }
    so if u write tag <infoimg /> it will show u

    if u write tag <oneclickimg /> it will show u

    PS..Done Just for the sake of educational purpose.



    You don't hate Justin bieber.You hate the fact you ain't Justin Bieber!

  4.     
    #3
    Member
    Website's:
    wscripts.net damnlolscript.com lulzjet.com
    check the css file

    Code: 
    infoimg, oneclickimg, downloadimg {         
    display: block;    
     height: 23px;     
    width: 192px;     
    background:url(http://images.oneddl.eu/site-img/oneddl/oneddl_sprite.png) no-repeat; 
    }  
    infoimg{     
    background-position: -359px -283px; }

  5.     
    #4
    Banned
    Website's:
    Ifyoureseeingthisinsteadofrealbiothenyourenotyetreadytoknow.com
    ^^Thanks! but any chance of fresh example with steps?


    Just for educational purpose.

  6.     
    #5
    Retired NinJa
    Website's:
    loledhard.com
    Steps:
    1. Join all images with some software

    2. Assign Background to every element u would use for displaying spritted image
    //sprite1, sprite2{background: url(x.jpg) no-repeat top left;display: block;}

    3. Assign the possition from which ur element starts in spritted image
    //sprite1{ background-position: 0 0; width: 125px; height: 150px; }
    Images:
    Sprited Image (x.jpg) : http://i.imgur.com/znxpb.jpg
    Input Image1 (1.jpg) : http://i.imgur.com/MmMzv.jpg
    Input Image2 (2.jpg) : http://i.imgur.com/9IvmW.jpg

    simple example1 (xxxxx.html)
    Code: 
    <head><style>
    sprite1, sprite2{background: url(x.jpg) no-repeat top left;display: block;}
    sprite1{ background-position: 0 0; width: 125px; height: 150px; } 
    sprite2{ background-position: 0 -200px; width: 125px; height: 150px; } 
    </style></head>
    
    <body>
    <sprite1> XXX</sprite1>
    <br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
    <sprite2 />
    </body>
    simple example2 (xxxxx2.html)
    Code: 
    <head><style>
    .sprite1, .sprite2{background: url(x.jpg) no-repeat top left;display: block;}
    .sprite1{ background-position: 0 0; width: 125px; height: 150px; } 
    .sprite2{ background-position: 0 -200px; width: 125px; height: 150px; } 
    </style></head>
    <body>
    <div class="sprite2"> XXX</div>
    <br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
    <div class="sprite1"> XXX</div>
    </body>



    You don't hate Justin bieber.You hate the fact you ain't Justin Bieber!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [Hiring] code for Right click Image uploader
    By cool.guy.prince in forum Completed Transactions
    Replies: 2
    Last Post: 26th Jun 2011, 05:44 AM
  2. Wordpress Post Image Help
    By _brazzO in forum Webmaster Discussion
    Replies: 5
    Last Post: 8th Oct 2010, 11:47 AM
  3. Insert Image Code
    By warezboy in forum vBulletin
    Replies: 12
    Last Post: 9th Jun 2010, 06:16 PM
  4. Insert Image CODE
    By tom247 in forum Web Application/Script Support
    Replies: 3
    Last Post: 9th Jun 2010, 05:04 AM
  5. Image Upload in php. Code snippet #2
    By SplitIce in forum Tutorials and Guides
    Replies: 5
    Last Post: 31st Oct 2009, 07:40 AM

Tags for this Thread

BE SOCIAL