DIV text question |
DIV text question |
Dec 3 2006, 04:13 PM
Post
#1
|
|
![]() Newbie ![]() Group: Member Posts: 2 Joined: Jul 2006 Member No: 443,340 |
Alright, I've been working all day on this stupid DIV and I'm finally getting it to work. However, I want to have it so one section of text is bigger, bold and a different font family. I've messed around with it and I can only get it to work if I change the main text in the CSS script, which I don't want to do. Is there any sort of font codes that work in a DIV code?
QUOTE <div class="text" style="position: absolute; left: 200px; top: 455px; width: 600px; height: 219px; overflow: auto;"> TEXT </div>
|
|
|
|
![]() |
Dec 3 2006, 04:16 PM
Post
#2
|
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 |
Change the div name to something other than text then do this:
CODE <style type="text/css">
.PLACENAMEHERE{ font-family: blahblah; color: ######; font-size: #px; } </style> |
|
|
|
Dec 3 2006, 04:17 PM
Post
#3
|
|
![]() Newbie ![]() Group: Member Posts: 2 Joined: Jul 2006 Member No: 443,340 |
Thanks.
|
|
|
|
![]() ![]() |