Code Box Rounder Edges, Dashed Border

Go down

Solved Code Box Rounder Edges, Dashed Border

Post by URFTV on December 13th 2010, 3:18 am

I used to have my code box appearance perfect! But i accidentally deleted the code box part of my css and I can't remember how to do it again!! Can anyone help. I need a dashed border around it, and rounded edges, and i need to make the font color and size change.
avatar
URFTV
Forumember

Male Posts : 237
Reputation : 0
Language : English
Location : Australia

Back to top Go down

Solved Re: Code Box Rounder Edges, Dashed Border

Post by ankillien on December 13th 2010, 6:19 am

Hello,

This CSS code would do the trick..

Code:
.code {
padding: 10px;
border: 2px dashed #333;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
color: red;
font-size: 18px;
}
avatar
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

http://www.webartzforum.com/

Back to top Go down

Solved Re: Code Box Rounder Edges, Dashed Border

Post by URFTV on December 21st 2010, 4:41 am

Thank you. Solved!
avatar
URFTV
Forumember

Male Posts : 237
Reputation : 0
Language : English
Location : Australia

Back to top Go down

Solved Re: Code Box Rounder Edges, Dashed Border

Post by Sanket on December 21st 2010, 6:07 am

Since this thread appears to be solved, I will lock this thread and mark it as solved.


Sanket Smile

avatar
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2828
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

Back to top


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