3 replies [Last post]
PARoss
PARoss's picture
User offline. Last seen 1 year 40 weeks ago. Offline
rank Enthusiast
Enthusiast
Timezone: GMT-4
Joined: 2005-10-29
Posts: 144
Points: 10

I'm playing with a potential Worpress design and have used a PHP include to the ID="topinfo" div, which contains some links in a list. The CSS code has been added to style.css, and it shows up as being there. However, the CSS for #topinfo does not register (it has no effect).

What am I doing wrong? I can't see it. Thanks in advance.

Page: http://lambifund.org/wp/

Phil

Debayan Gupta
Debayan Gupta's picture
User offline. Last seen 1 year 33 weeks ago. Offline
rank Regular
Regular
Timezone: GMT-4
Joined: 2010-08-10
Posts: 45
Points: 51

Remove the space

You've used "div #topinfo" in the css - the code tries to find an element with id="topinfo" inside another element of type "div".

What you want to use is "div#topinfo" - well, what you _really_ want to use is "#topinfo".

PARoss
PARoss's picture
User offline. Last seen 1 year 40 weeks ago. Offline
rank Enthusiast
Enthusiast
Timezone: GMT-4
Joined: 2005-10-29
Posts: 144
Points: 10

That did it! I swear I tried

That did it! I swear I tried #topinfo first, and it didn't work. I hate it when that happens.

Thanks.

Phil

Debayan Gupta
Debayan Gupta's picture
User offline. Last seen 1 year 33 weeks ago. Offline
rank Regular
Regular
Timezone: GMT-4
Joined: 2010-08-10
Posts: 45
Points: 51

No prob

You're welcome.

Shameless Note : "best-reply" !