how to put my borders and html in external css sheet, need help plzz :) |
how to put my borders and html in external css sheet, need help plzz :) |
KinkZ |
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 |
Frederiek |
May 6 2012, 07:45 AM
Post
#2
|
Programming Fanatic Group: Members Posts: 5,146 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? |
KinkZ |
May 6 2012, 07:59 AM
Post
#3
|
Group: Members Posts: 3 Joined: 6-May 12 Member No.: 17,062 |
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 but regarding as P being the selector... what else i should use?? |
Frederiek |
May 6 2012, 09:52 AM
Post
#4
|
Programming Fanatic Group: Members Posts: 5,146 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/ . |
Frederiek |
May 6 2012, 11:26 AM
Post
#5
|
Programming Fanatic Group: Members Posts: 5,146 Joined: 23-August 06 From: Europe Member No.: 9 |
To add another interesting article: http://www.vanseodesign.com/css/css-selector-performance/ .
|
KinkZ |
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
|
Lo-Fi Version | Time is now: 26th April 2024 - 06:13 AM |