Subscribe link spread over 2 lines
-
Near the top of my sidebar at http://whtest.wordpress.com I have a box with the word “Subscribe” in it. Why it’s not on the same line as the image above it mystifies me. It’s just specified with a HREF that contains the image followed by another link.
I’m using the Regulus theme. Anyone know what’s causing the problem? How to solve it?
-
-
-
I think you must have gotten the code from Feedburner. Can you paste it here between backticks so we can look at it? Backticks are those little things on the same key as ~, the ones that look like `. Put one at the start of the code and one at the end so it displays here properly and we can look at it.
-
<a href="http://feeds.feedburner.com/wordpress/abcd" rel="alternate"><img src="http://www.feedburner.com/fb/images/pub/feed-icon16x16.png" alt=""></a> <a href="http://feeds.feedburner.com/wordpress/abcd" rel="alternate">Subscribe</a> -
-
-
Try this code. I think it needed a left align and a couple of small changes.
<a href="http://feeds.feedburner.com/wordpress/abcd"><img src="http://www.feedburner.com/fb/images/pub/feed-icon16x16.png" align="left" /></a> <a href="http://feeds.feedburner.com/wordpress/abcd" rel="alternate">Subscribe</a> -
It’s getting closer. It appears that for some reason the space was causing a problem.
In my sidebar, the new code’s results appear above the old code’s for comparison purposes.
-
The strange thing about this problem is that even when I reduced “Subscribe” to “Sub” it’s still not displaying properly.
-
I solved my problem by using a table.
<table border="0" style="border:0;margin:0;"> <tr> <td style="border:0;margin:0;padding:0;"> <a href="http://feeds.feedburner.com/wordpress/abcd"><img src="http://www.feedburner.com/fb/images/pub/feed-icon16x16.png" style="vertical-align:text-bottom;" /></a> </td> <td style="border:0;margin:0;padding:0;"> <a href="http://feeds.feedburner.com/wordpress/abcd" rel="alternate">Subscribe</a> </td> </tr> </table>
- The topic ‘Subscribe link spread over 2 lines’ is closed to new replies.