I can't seem to figure out why I get a huge indent on the beginning of each post when viewed with Firefox, and only on a Mac.
Anyone have any ideas or things I should check to pin this down?
Thanks!
Derek
I can't seem to figure out why I get a huge indent on the beginning of each post when viewed with Firefox, and only on a Mac.
Anyone have any ideas or things I should check to pin this down?
Thanks!
Derek
Its all coding my brotha..
Hmm. Ok. Any idea where or what I should be looking for? Thanks.
Help!
looks like an issue with your digg-this button. the button is centered, and the text floats left of it.
Hey thanks for checking it out nathanrice. Here's the code for the button:
<div class="diggLink"> <script type="text/javascript"> digg_url = '<?php the_permalink() ?>'; digg_title = '<?php the_title(); ?>'; //digg_topic = 'TOPIC'; // replace TOPIC /* Use the output buffer to capture the text output from the_ID() rather than having it rendered to the page. */ digg_bodytext = '<?php ob_start(); the_ID(); $postID = ob_get_contents(); ob_end_clean(); /* Get the body of the post, remove HTML, remove carriage returns and line feeds, escape 's, return only the first 350 char. */ $postObj = get_post($postID, OBJECT); $body = strip_tags($postObj->post_content); $body = str_replace(chr(10), '', $body); $body = str_replace(chr(13), '', $body); $body = addslashes($body); echo substr($body, 0, 350); ?>'; </script> <script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script></div>
As far as I know, and I'm NO expert, the button isn't centered with html tags. Do you know how I'd go about finding out how or why it might be? btw, it looks fine in Firefox on PC, Safari on Mac, etc.
Thanks!!!!
Derek
And this is in the css:
.diggLink{
float: left;
margin-top: 6px;
margin-bottom: 5px;
margin-left: 0px;
margin-right: 10px;
}
Ok, so I removed the
float: left;
from the css and that indeed moved the button to the left, but put the text beneath it. I'd like to be able to wrap the text around the button.
(again, this only happens in FF on Mac)
Any ideas?
try setting the width and height of the .diggLink object. if it's not being centered, then it must either be too wide, or have too much left padding.
Ok, so I tried that stuff. Here's the current css code:
.diggLink{
float: left;
padding-left: 0px;
padding-right: 5px;
width: 50px;
height: 75px;
margin-top: 5px;
margin-bottom: 5px;
margin-left: 0px;
margin-right: 5px;
}
Any more ideas?
tia
sorry. this really isn't a WordPress issue. It seems like it has to be a problem with the diggthis code. You may find more help in the themes support forum, since this is more of a problem with a theme than with WordPress.
This topic has been closed to new replies.