WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You


You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

Matti


Registered Member
Registered Member
How to put a image in the back of the code name like this


This is the code I'm using but isn't looking good as you can see


click the spoiler to see the code:
Spoiler:
dl.codebox {
background-color: #FFFFFF;
border-color: #C9D2D8;
background: url(http://i65.servimg.com/u/f65/14/65/54/10/imagco10.png) no-repeat top left !important;

}

dl.codebox dt {
border-bottom-color: #CCCCCC;
}

dl.codebox code {
color: #2E8B57;
}

ankillien


Administrator
Administrator
Hi,

Try replacing your code with this...

Code:
dl.codebox {
background-color: #FFFFFF;
border-color: #C9D2D8;
}

dl.codebox dt {
border-bottom-color: #CCCCCC;
background: url(http://i65.servimg.com/u/f65/14/65/54/10/imagco10.png) no-repeat 2px 4px !important;
padding-left: 15px;
}

dl.codebox code {
color: #2E8B57;
}

Matti


Registered Member
Registered Member
Nice one Anki, Smile this is solved now.

Jophy


Registered Member
Registered Member
Solved => Closed

http://www.socialtechforum.com/

View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum