Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

sbryan

macrumors member
Original poster
Jun 6, 2007
96
0
Resolved.

I'm running into a weird problem:

When I style `<li>, <ul>, and <a>` elements within my PHP document, everything appears as it should. When I externally reference them, things go haywire.

All other elements in the external file work, so the file is linked correctly.

Any ideas?
 
They're defined as a class. And since he is using <span> tags with that class and not <ul> or <li> tags ...

I don't see why it isn't working. :stumped:

Look at the "upcomingacts" div in the source code. There's an unordered list in there and I think that's what he's talking about. There are also no styles for that id either.
 
If I add,
Code:
#upcomingacts li {
 font-size: 2em;
}
to the CSS it certainly works. Are you sure you uploaded the CSS file after making changes? Otherwise you'll need to elaborate on what specifically is not working and what you're expecting.
 
It was actually a server issue. For whatever reason, that CSS file wasn't being replaced with all of the other files.

Thanks,
Sean
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.