no text, in divs |
no text, in divs |
Sep 9 2006, 01:12 AM
Post
#1
|
|
![]() kristen ![]() ![]() Group: Member Posts: 23 Joined: Aug 2006 Member No: 449,121 |
okay well i make divs with the version 1.0 tutorial on here and i used one of the css version on createblog but when i have this code:
CODE <div class="content" style="position: absolute; left:000px; top:000px; width:0000px; height:000px; overflow: auto;"> i want to change the font size or font family on just part of the div or on a few wrods and i use CODE <font size=number> he text dissappers in that div sectionis there a way to change the font size or font family without having to change the whole css stylesheet? |
|
|
|
![]() |
| *Azarel* |
Sep 9 2006, 01:28 AM
Post
#2
|
|
Guest |
For the first section coding to be correctly coded, change it to this (I bolded what I changed):
<div class="comment" style="position: absolute; left:536px; top:591px; width:214px; height:40px; overflow: auto; text-align: center;"> text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text </div> There's a way you can within the CSS, not the div layers. Since you seem not to want to post your coding/myspace, try inserting this: <style type=text/css> .comment { font-family: Georgia; font-size: 7; } </style> Customize accordingly, but that text will change all the text within div layers classed as "comment." By simply using the coding that I edited, there's no reason that your text would be disappearing.. unless you have some malicious css. |
|
|
|
luvlylayouts no text Sep 9 2006, 01:12 AM
Azarel Hm.. do you have a link to your myspace so I could... Sep 9 2006, 01:15 AM
luvlylayouts well this is how i don my coding for all sections ... Sep 9 2006, 01:23 AM
Ralph501 I know what you mean.
When you add <font size... Sep 9 2006, 01:24 AM
toyo loco I'm pretty sure I might no why, but I need a l... Sep 9 2006, 01:25 AM![]() ![]() |