Help - Search - Members - Calendar
Full Version: how to put my borders and html in external css sheet
HTMLHelp Forums > Web Authoring > Cascading Style Sheets
KinkZ
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..
Frederiek
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
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??
Frederiek
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
To add another interesting article: http://www.vanseodesign.com/css/css-selector-performance/ .
KinkZ
aite mate.. thanks ... i look them up smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.