Runboard.com
You're welcome.
Runboard Extra! Runboard Support Runboard Knowledge Base
~ Board of the Month ~Board of the Month

October BotP Poll

View Wall of Honor
~ RB Popular Site ~
~ RB Outstanding Site ~

runboard.com       You are not logged in.

 
minnie19mouse Profile
Live feed
Blog
Friends
Miscellaneous info

Directory Friend
Top of the page

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

.#[sign in to see URL] {display:block;height:20px;padding-left:20pxbackground:url([sign in to see URL]) 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
Top of the page
● Premium User ●

Head of Runboard staff

Registered: 11-2005
Posts: 6509
Karma: 358 (+376/-18)
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
Website Creation Tutorials
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
Top of the page

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 */
[sign in to see URL] , [sign in to see URL], [sign in to see URL] {font-size:30px;font-family:comic sans ms}.
#[sign in to see URL] {display:block;height:20px;padding-left:20pxbackground:url([sign in to see URL]) top left no-repeat;},. topiclisttopicname {color:#CCCCCC;font-size:11px;font-family:verdana}
[sign in to see URL], [sign in to see URL] {font-size:11px;font-family:verdana}
[sign in to see URL], [sign in to see URL] {color:#CCCCCC;font-size:11px;font-family:verdana}
.forumlistboardstatsheader {font-family:comic sans ms;font-size:15px;border-width:0px;color:#660066}
[sign in to see URL], [sign in to see URL], [sign in to see URL], [sign in to see URL], [sign in to see URL], [sign in to see URL], [sign in to see URL] {font-family:verdana;font-size:11px;}
[sign in to see URL] {font-family:verdana;font-size:10px}
[sign in to see URL], [sign in to see URL],[sign in to see URL] {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
Top of the page
● Premium User ●

Head of Runboard staff

Registered: 11-2005
Posts: 6509
Karma: 358 (+376/-18)
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 */
[sign in to see URL] , [sign in to see URL], [sign in to see URL] {font-size:30px;font-family:comic sans ms}.
#[sign in to see URL] {display:block;height:20px;padding-left:20px;background:url([sign in to see URL]) 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
Website Creation Tutorials
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
Top of the page

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 */
[sign in to see URL] , [sign in to see URL], [sign in to see URL] {font-size:30px;font-family:comic sans ms}
#[sign in to see URL] {display:block;height:20px;padding-left:20px;background:url([sign in to see URL]) top left no-repeat;}. topiclisttopicname {color:#CCCCCC;font-size:11px;font-family:verdana}
[sign in to see URL], [sign in to see URL] {font-size:11px;font-family:verdana}
[sign in to see URL], [sign in to see URL] {color:#CCCCCC;font-size:11px;font-family:verdana}
.forumlistboardstatsheader {font-family:comic sans ms;font-size:15px;border-width:0px;color:#660066}
[sign in to see URL], [sign in to see URL], [sign in to see URL], [sign in to see URL], [sign in to see URL], [sign in to see URL], [sign in to see URL] {font-family:verdana;font-size:11px;}
[sign in to see URL] {font-family:verdana;font-size:10px}
[sign in to see URL], [sign in to see URL],[sign in to see URL] {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
Top of the page

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


#[sign in to see URL]


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
Top of the page

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
Top of the page

Registered: 03-2005
Location: Looking for my brain...
Posts: 577
Karma: 25 (+28/-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
Top of the page
● Premium User ●

Head of Runboard staff

Registered: 11-2005
Posts: 6509
Karma: 358 (+376/-18)
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:

[sign in to see URL]
[sign in to see URL]
[sign in to see URL]
[sign in to see URL]

...etc, but not...

#[sign in to see URL]

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

---
Runboard Knowledge Base
Website Creation Tutorials
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)