Log In · Register

 
Bold text doesn't work. =/
nuclear
post May 5 2008, 05:35 PM
Post #1


hotcakes. <3
***

Group: Member
Posts: 39
Joined: Dec 2005
Member No: 320,675



This is the code I use for my bold text:

CODE
.blogbody b, .standard b, p b, strong {
/* [edits bold text] */
font-weight:bold;
font-size:10px;
font-family:arial;
color: #FF008E;}


But whenever I bold something in a new weblog entry, it just shows up as bold, and not the colour and style I have in my CSS.
What did I do wrong? <3
 
 
Start new topic
Replies
venti-anemoi
post May 5 2008, 07:01 PM
Post #2


torn
*****

Group: Official Designer
Posts: 953
Joined: Oct 2004
Member No: 55,718



Hang on a sec; lemme experiment ;]

lah dee dahh, funn :D

//edit.

Okay, here's what I found out. [I'm hoping you know basic HTML, because otherwise this won't make much sense to you.]

I did some research on the <span> tag, and the problem is that it doesn't affect anything unless you define it like this: <span style="whatever whatever;">. That means that even if you define something in your stylesheet like this:

CODE
<style type="text/css">
span b, span strong
{font-color: #FFFFFF;}
</style>


it won't work. You can only define span in the stylesheet like so:

CODE
<style type="text/css">
span
{font-color: #FFFFFF;}
</style>

(You don't need to put "font-weight" because the xanga editor will automatically do that for you.)

The problem with this is that it'll affect anything in your text that's in a <span> tag. For Xanga, I'm pretty sure this only means bolded text, italic text, underlined text, and strikethrough text. This means that if you do define the span tag like above, all of your bold/italic/underline/strikethrough text will be the same color. And I dun think you can make it any different. <_<

Hope that made sense.

This post has been edited by dreamstar7: May 5 2008, 07:22 PM
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: