![]() ![]() |
| 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: 3,546 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? -------------------- "The earth does not belong to us. We belong to the earth."
from Vue du ciel (in French) "Leave scepticism to others and take action" from HOME by Goodplanet An inconvenient truth by Al Gore |
| 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 |
| Frederiek |
May 6 2012, 09:52 AM
Post
#4
|
|
Programming Fanatic ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 3,546 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/ . -------------------- "The earth does not belong to us. We belong to the earth."
from Vue du ciel (in French) "Leave scepticism to others and take action" from HOME by Goodplanet An inconvenient truth by Al Gore |
| Frederiek |
May 6 2012, 11:26 AM
Post
#5
|
|
Programming Fanatic ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 3,546 Joined: 23-August 06 From: Europe Member No.: 9 |
To add another interesting article: http://www.vanseodesign.com/css/css-selector-performance/ .
-------------------- "The earth does not belong to us. We belong to the earth."
from Vue du ciel (in French) "Leave scepticism to others and take action" from HOME by Goodplanet An inconvenient truth by Al Gore |
| 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: 23rd May 2013 - 08:10 PM |