Runboard.com
You're welcome.
Runboard Extra! Runboard Support Runboard Knowledge Base





runboard.com       You are not signed in - Sign in

 
minnie19mouse Profile
Live feed
Blog
Friends
Miscellaneous info

Directory Friend

Registered: 06-2006
Posts: 25
Karma: 0 (+0/-0)
Reply Quote
Adding a pic in CSS, has not shown!


I have tried adding a pic by putting this into the CSS

.#fl_td_8_2.forumlistforumname {display:block;height:20px;padding-left:20pxbackground:url(http://img158.imageshack.us/img158/1337/redtearzo0.jpg) top left no-repeat;}

but the pic hasnt showed up!

---
Truly Annie
7/28/2006, 8:34 am Link to post Email minnie19mouse   PM minnie19mouse MSN
 
Lesigner Girl Profile
Live feed
Blog
Friends
Miscellaneous info

BOTM0211
Head of Runboard staff

Registered: 11-2005
Posts: 6546
Karma: 359 (+378/-19)
Reply Quote
Re: Adding a pic in CSS, has not shown!


Try taking the dot out at the beginning of that line.

Edit for explanation:
Dots are for class names, # are for id names. It has to be one or the other (in this case #) and not both.

Last edited by Lesigner Girl, 7/28/2006, 8:52 am


---
Runboard Knowledge Base
Runboard Support Forums
Find other message boards
7/28/2006, 8:50 am Link to post Email Lesigner Girl   PM Lesigner Girl Blog
 
minnie19mouse Profile
Live feed
Blog
Friends
Miscellaneous info

Directory Friend

Registered: 06-2006
Posts: 25
Karma: 0 (+0/-0)
Reply Quote
Re: Adding a pic in CSS, has not shown!


I took out the dot and it looked like this, but the image still doesn't show. any ideas?

/* SETTINGS FONT TYPE, COLOR AND SIZE TO REMAINING ELEMENTS */
span.locationboard , span.locationforum, span.locationtopic {font-size:30px;font-family:comic sans ms}.
#fl_td_8_2.forumlistforumname {display:block;height:20px;padding-left:20pxbackground:url(http://img158.imageshack.us/img158/1337/redtearzo0.jpg) top left no-repeat;},. topiclisttopicname {color:#CCCCCC;font-size:11px;font-family:verdana}
span.forumlistnumtopics, span.forumlistnumposts {font-size:11px;font-family:verdana}
span.topiclistnewswitch, span.forumlistnewswitch {color:#CCCCCC;font-size:11px;font-family:verdana}
.forumlistboardstatsheader {font-family:comic sans ms;font-size:15px;border-width:0px;color:#660066}
span.forumlistheader, span.topiclistheader, span.forumlistseparator, span.topiclisttopicname, span.topicliststartedby, span.topiclistreplies, span.topiclistviews {font-family:verdana;font-size:11px;}
span.topiclistlastpost {font-family:verdana;font-size:10px}
span.topiclisttopicclosed, span.topiclisttopicsticky,span.topiclisttopichidden {font-size:10px;font-weight:normal;font-family:verdana;}


---
Truly Annie
7/28/2006, 9:04 am Link to post Email minnie19mouse   PM minnie19mouse MSN
 
Lesigner Girl Profile
Live feed
Blog
Friends
Miscellaneous info

BOTM0211
Head of Runboard staff

Registered: 11-2005
Posts: 6546
Karma: 359 (+378/-19)
Reply Quote
Re: Adding a pic in CSS, has not shown!


There is still a dot in there, but it's at the end of the previous line. I also noticed a missing semi-colon (emoticon just now. Take out all the parts in red, and add the part in blue. There are two things to take out and one to put in...

/* SETTINGS FONT TYPE, COLOR AND SIZE TO REMAINING ELEMENTS */
span.locationboard , span.locationforum, span.locationtopic {font-size:30px;font-family:comic sans ms}.
#fl_td_8_2.forumlistforumname {display:block;height:20px;padding-left:20px;background:url(http://img158.imageshack.us/img158/1337/redtearzo0.jpg) top left no-repeat;}
,. topiclisttopicname {color:#CCCCCC;font-size:11px;font-family:verdana}

I'm gonna get this posted before downtime, then I'm going to bed. I hope I caught everything.

---
Runboard Knowledge Base
Runboard Support Forums
Find other message boards
7/28/2006, 9:14 am Link to post Email Lesigner Girl   PM Lesigner Girl Blog
 
minnie19mouse Profile
Live feed
Blog
Friends
Miscellaneous info

Directory Friend

Registered: 06-2006
Posts: 25
Karma: 0 (+0/-0)
Reply Quote
Re: Adding a pic in CSS, has not shown!


I have made those changes that you said to do, and now it looks like this, but the pic still doesn't show.
Thanks for ur help tho, sorry to keep on.


/* SETTINGS FONT TYPE, COLOR AND SIZE TO REMAINING ELEMENTS */
span.locationboard , span.locationforum, span.locationtopic {font-size:30px;font-family:comic sans ms}
#fl_td_8_2.forumlistforumname {display:block;height:20px;padding-left:20px;background:url(http://img158.imageshack.us/img158/1337/redtearzo0.jpg) top left no-repeat;}. topiclisttopicname {color:#CCCCCC;font-size:11px;font-family:verdana}
span.forumlistnumtopics, span.forumlistnumposts {font-size:11px;font-family:verdana}
span.topiclistnewswitch, span.forumlistnewswitch {color:#CCCCCC;font-size:11px;font-family:verdana}
.forumlistboardstatsheader {font-family:comic sans ms;font-size:15px;border-width:0px;color:#660066}
span.forumlistheader, span.topiclistheader, span.forumlistseparator, span.topiclisttopicname, span.topicliststartedby, span.topiclistreplies, span.topiclistviews {font-family:verdana;font-size:11px;}
span.topiclistlastpost {font-family:verdana;font-size:10px}
span.topiclisttopicclosed, span.topiclisttopicsticky,span.topiclisttopichidden {font-size:10px;font-weight:normal;font-family:verdana;}


---
Truly Annie
7/28/2006, 9:56 am Link to post Email minnie19mouse   PM minnie19mouse MSN
 
The Mooseman Profile
Live feed
Blog
Friends
Miscellaneous info

BOTM0207

Registered: 03-2005
Location: Looking for my brain...
Posts: 577
Karma: 26 (+29/-3)
Reply Quote
Re: Adding a pic in CSS, has not shown!


#fl_td_8_2.forumlistforumname


When you define it like you do , #fl_td_8_2 , I see no reason to add .forumlistforumname at all

Try take .forumlistforumname away, because that is a class of its own



---
~ Quickly, I must hurry, for there go my people and I am their leader ~
7/28/2006, 4:32 pm Link to post PM The Mooseman
 
minnie19mouse Profile
Live feed
Blog
Friends
Miscellaneous info

Directory Friend

Registered: 06-2006
Posts: 25
Karma: 0 (+0/-0)
Reply Quote
Re: Adding a pic in CSS, has not shown!


Thankyou! It worked!

---
Truly Annie
7/28/2006, 11:09 pm Link to post Email minnie19mouse   PM minnie19mouse MSN
 
The Mooseman Profile
Live feed
Blog
Friends
Miscellaneous info

BOTM0207

Registered: 03-2005
Location: Looking for my brain...
Posts: 577
Karma: 26 (+29/-3)
Reply Quote
posticon Re: Adding a pic in CSS, has not shown!


 emoticon

---
~ Quickly, I must hurry, for there go my people and I am their leader ~
7/30/2006, 5:19 pm Link to post PM The Mooseman
 
Lesigner Girl Profile
Live feed
Blog
Friends
Miscellaneous info

BOTM0211
Head of Runboard staff

Registered: 11-2005
Posts: 6546
Karma: 359 (+378/-19)
Reply Quote
Re: Adding a pic in CSS, has not shown!


I can be so blind sometimes! emoticon

Putting a space between #fl_td_8_2 and .forumlistforumname would have put a background image behind the forum name contained within #fl_td_8_2, but having the two stuck together without a space made it do absolutely nothing.

You can have:

table.classname
td.classname
div.classname
span.classname

...etc, but not...

#id.classname

#id .classname (with a space), on the other hand, would work on that classname when it's contained within that id.

---
Runboard Knowledge Base
Runboard Support Forums
Find other message boards
7/31/2006, 4:49 am Link to post Email Lesigner Girl   PM Lesigner Girl Blog
 


Add a Reply



You are not logged in (Log-in)