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

Results 1 to 8 of 8
  1.     
    #1
    Pure Awesomeness!

    Default <code> help please

    Hello,
    Any body can help add an image in the background in my <code>LINK</code> on wordpress please ?

    here is my code now :
    PHP Code: 
    .entry code {
    background-color:#FFFFFF;
    border-left:1px solid #CCCCCC;
    display:block;
    font-family:"Courier New",mono;
    padding:5px 10px
    i tried adding :
    PHP Code: 
    background-image:url(/public_html/wp-content/themes/scarlett/images/code.png); 
    but it didnt work... and this is the image i want to add in the background
    RT Reviewed by RT on . <code> help please Hello, Any body can help add an image in the background in my <code>LINK</code> on wordpress please ? here is my code now : .entry code { background-color:#FFFFFF; border-left:1px solid #CCCCCC; display:block; font-family:"Courier New",mono; Rating: 5



  2.   Sponsored Links

  3.     
    #2
    Member
    Website's:
    darknessdownloads.org
    Try:
    PHP Code: 
    .entry code {
    background-color:#FFFFFF;
    background-image:url('/wp-content/themes/scarlett/images/code.png');
    border-left:1px solid #CCCCCC;
    display:block;
    font-family:"Courier New",mono;
    padding:5px 10px

  4.     
    #3
    Pure Awesomeness!
    Thanks that worked but...


    how can i make it only one image in the right ? thanks for helping



  5.     
    #4
    Member
    Website's:
    darknessdownloads.org
    Tell me if this works:
    PHP Code: 
    .entry code {
    background-color:#FFFFFF;
    background-image:url('/wp-content/themes/scarlett/images/code.png');
    background-repeatno-repeat
    border
    -left:1px solid #CCCCCC;
    display:block;
    font-family:"Courier New",mono;
    padding:5px 10px
    Edit:
    PHP Code: 
    .entry code {
    background-color:#FFFFFF;
    background-image:url('/wp-content/themes/scarlett/images/code.png');
    background-repeatno-repeat
    background
    -positiontop left;
    border-left:1px solid #CCCCCC;
    display:block;
    font-family:"Courier New",mono;
    padding:5px 10px
    If the first code worked you can align the image to the left or right by editing:
    PHP Code: 
    background-positiontop left
    Change the top left to top right if you want the image to be aligned to the right.

  6.     
    #5
    Pure Awesomeness!
    Didnt work and generated another problem



  7.     
    #6
    Member
    Website's:
    darknessdownloads.org
    Try:
    PHP Code: 
    .entry code {
    background-color:#FFFFFF;
    backgroundurl(/wp-content/themes/scarlett/images/code.pngtop right no-repeat;
    border-left:1px solid #CCCCCC;
    display:block;
    font-family:"Courier New",mono;
    padding:5px 10px

  8.     
    #7
    Member
    Website's:
    rootw.net
    instead of add 20 thousand css things why dont u just do one?
    PHP Code: 
    background:#FFFFFF url(image.png) rop right repeat-x; 
    instead of...
    PHP Code: 
    background-postition:top left;
    background-color:#FFFFFF;
    etc.... 

  9.     
    #8
    Pure Awesomeness!
    Hey budda, thank you so much for taking the time and to me, that one worked great and i removed top and used only right , thanks again!
    Edit: u too naruto.



Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 3rd Apr 2012, 09:50 AM
  2. need help with php code
    By itmees in forum Web Development Area
    Replies: 6
    Last Post: 22nd Mar 2012, 10:01 AM
  3. Replies: 1
    Last Post: 27th Aug 2011, 01:45 PM
  4. {LF} a code
    By DeathNote in forum Web Application/Script Support
    Replies: 2
    Last Post: 23rd Oct 2010, 04:18 AM
  5. [vBulletin BB Code] Moderated Message: (Like W-BB's Staff BB Code!)
    By Ghost Dog 13 in forum Webmaster Resources
    Replies: 13
    Last Post: 26th Sep 2009, 06:19 PM

Tags for this Thread

BE SOCIAL