The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> how to put my borders and html in external css sheet, need help plzz :)
KinkZ
post May 6 2012, 06:22 AM
Post #1





Group: Members
Posts: 3
Joined: 6-May 12
Member No.: 17,062



p.one{
border-style:groove;
border-width:5px;
border-color:red;
height: 70px;
width: 370px;
text-transform:capitalize;
letter-spacing: 5px;
font-size:400%;
color:#25FA77;
margin:20px auto;} <--i want this border to be in external css sheet

with this html code for the words inside the border --> <p class="one"> all abt me!</p>

so i can use the border and text for my other pages

Help plzz..

This post has been edited by KinkZ: May 6 2012, 06:23 AM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Frederiek
post May 6 2012, 07:45 AM
Post #2


Programming Fanatic
********

Group: Members
Posts: 4,801
Joined: 23-August 06
From: Europe
Member No.: 9



See http://htmlhelp.com/reference/css/style-html.html .

BTW, I wouldn't use the P as selector.
What if you would also want to use the .one class for another HTML element?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
KinkZ
post May 6 2012, 07:59 AM
Post #3





Group: Members
Posts: 3
Joined: 6-May 12
Member No.: 17,062



QUOTE(Frederiek @ May 6 2012, 08:45 PM) *

See http://htmlhelp.com/reference/css/style-html.html .

BTW, I wouldn't use the P as selector.
What if you would also want to use the .one class for another HTML element?


hmm i got it tongue.gif but regarding as P being the selector... what else i should use??
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Frederiek
post May 6 2012, 09:52 AM
Post #4


Programming Fanatic
********

Group: Members
Posts: 4,801
Joined: 23-August 06
From: Europe
Member No.: 9



Just use .one.

If you're interested in knowing more about CSS selectors, I suggest you read the serie of articles by 456bereastreet.com, starting at http://www.456bereastreet.com/archive/2005...lectors_part_1/ .
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Frederiek
post May 6 2012, 11:26 AM
Post #5


Programming Fanatic
********

Group: Members
Posts: 4,801
Joined: 23-August 06
From: Europe
Member No.: 9



To add another interesting article: http://www.vanseodesign.com/css/css-selector-performance/ .
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
KinkZ
post May 7 2012, 12:39 AM
Post #6





Group: Members
Posts: 3
Joined: 6-May 12
Member No.: 17,062



aite mate.. thanks ... i look them up smile.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 18th April 2015 - 02:19 PM