Bold text doesn't work. =/ |
![]() ![]() |
Bold text doesn't work. =/ |
![]()
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 |
|
|
![]()
Post
#2
|
|
![]() torn ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 953 Joined: Oct 2004 Member No: 55,718 ![]() |
That's 'cause the Xanga weblog editor thing is weird and annoying
![]() If you use the bold stuff in the regular editor, then click "edit HTML," it'll show <span style="font-weight: bold;"> and </span> instead of <b> and </b>. I'm not entirely sure how to fix it (maybe in your CSS define "span b"?) but normally I just type my entry in the HTML editor and use <b> </b> tags. Hope that helps. |
|
|
![]()
Post
#3
|
|
![]() hotcakes. <3 ![]() ![]() ![]() Group: Member Posts: 39 Joined: Dec 2005 Member No: 320,675 ![]() |
Crap. >_< I didn't really want it to take that long to do that, haha.
Is there a way I can edit a <span> that does that? |
|
|
![]()
Post
#4
|
|
![]() 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 Hope that made sense. This post has been edited by dreamstar7: May 5 2008, 07:22 PM |
|
|
![]()
Post
#5
|
|
![]() hotcakes. <3 ![]() ![]() ![]() Group: Member Posts: 39 Joined: Dec 2005 Member No: 320,675 ![]() |
Ah, thanks.
I wish there was a way to make them all different, but I guess I'm out of luck.. If anybody figures anything out, I'd love to hear it, 'cause I'm lazy when it comes to blogging. |
|
|
![]()
Post
#6
|
|
![]() kthxbai ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 2,832 Joined: Feb 2008 Member No: 621,203 ![]() |
can't you simply edit them in the entry editer? that would make then different..
|
|
|
![]()
Post
#7
|
|
![]() torn ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 953 Joined: Oct 2004 Member No: 55,718 ![]() |
can't you simply edit them in the entry editer? that would make then different.. He says he's lazy. :D Can't blame him, though. The Xanga editor thing is stupid; I'd like a way to change all of my bold/italic/underline text without having to go out of my way every time I bold/italic/underline something, thankyouverymuch. |
|
|
![]()
Post
#8
|
|
![]() kthxbai ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 2,832 Joined: Feb 2008 Member No: 621,203 ![]() |
^ that's very possible.
CODE i, em { color:COLORRRRRRR; } CODE u { color:COLORRRRRRR; } CODE s {
color:COLORRRRRRR; } |
|
|
![]()
Post
#9
|
|
![]() torn ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 953 Joined: Oct 2004 Member No: 55,718 ![]() |
Yes, but it doesn't work because the xanga editor puts <span> tags around bolded text. Instead of <b> and </b>, it'll put "<span style="font-weight: bold;">bold text here</span>".
Didn't I already explain all this in my second post? |
|
|
![]()
Post
#10
|
|
![]() kthxbai ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 2,832 Joined: Feb 2008 Member No: 621,203 ![]() |
your post confused me.
I never have problems with that because, when I'm in the editor, I highlight the text I want bolded and hit ctrl+B. |
|
|
![]()
Post
#11
|
|
![]() torn ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 953 Joined: Oct 2004 Member No: 55,718 ![]() |
your post confused me. I never have problems with that because, when I'm in the editor, I highlight the text I want bolded and hit ctrl+B. Oh, sorry. I didn't mean to make it so unclear. <_< For me, when I do that, it'll make the text bolded/underlined/italicized, but it won't make it the color(s) I want it (the ones I specified in the stylesheet). I have to go to "edit HTML" and manually insert the bold tags and stuff. o_O |
|
|
![]()
Post
#12
|
|
![]() kthxbai ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 2,832 Joined: Feb 2008 Member No: 621,203 ![]() |
owie that sucks.
|
|
|
![]()
Post
#13
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Administrator Posts: 8,629 Joined: Jan 2007 Member No: 498,468 ![]() |
Due to this topic being 2 weeks old & the problem being solved, this topic is Closed & Moved. PM me if you'd like for me to open this.
![]() |
|
|
![]() ![]() |