PDA

View Full Version : problem styling links in sidebar


avclark
07-28-2008, 05:40 AM
Hi, I'm having a really irritating problem styling some links in my sidebar. The site is a wordpress blog. I'm using a google reader widget, but problem persists even if I put the javascript directly into my sidebar and bypass the widget. Here's the problem:

The google reader markup is this:

<li style="list-style-type: none;"><a href="%link%">%title%</a>from<a href="%sitelink%">%site%</a></li>

I added the "from" between %title% and %sitelink%. When it displays in the browser there is a line break after the "from" so it looks like this:

from
CodingForums.com

instead of:

from CodingForums.com

I want the link to appear on the same line as the "from" and I can't figure out why it won't, because I can insert non-active text in between two links in other areas of my site and it displays fine.

However, I don't think the problem is with the google reader javascript, because on a different blog of mine with a different theme it displays fine. So, I'm inclined to think the problem is somewhere in my stylesheet, but I've changed everything I can think of and nothing seems to correct this problem.

Anyone have any ideas?

Thanks,
adam

avclark
07-28-2008, 06:31 AM
I figured it out. I had a "display: block" in there somewhere. which, to be honest, still doesn't make sense, because the other blog i mentioned has the same attribute, but whatever. at least it's working...