dereknickerson
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Digg Button Formatting in Firefox on Mac (only)help! thanks ??
Forum: Themes and Templates
In reply to: Digg Button Formatting in Firefox on Mac (only)If I remove
float: left;
from the .diggLink object in the CSS, the image no longer floats in the center, but is left justified, however, the text does not wrap around the button. The text starts beneath the button.
tia
Forum: Themes and Templates
In reply to: Digg Button Formatting in Firefox on Mac (only)And this is in the css:
.diggLink{
float: left;
margin-top: 6px;
margin-bottom: 5px;
margin-left: 0px;
margin-right: 10px;
}
Forum: Themes and Templates
In reply to: Digg Button Formatting in Firefox on Mac (only)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=”https://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!!!!
DerekForum: Fixing WordPress
In reply to: Firefox Formatting Beginning of Each Post ScrewyOk, 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
Forum: Fixing WordPress
In reply to: 2.5 Widgets Crashing and Deleting ThemselvesI had the same problem. The fix is to always use a title. With a title, 2.5 won’t delete your content within the text box.
Forum: Fixing WordPress
In reply to: Firefox Formatting Beginning of Each Post ScrewyOk, 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?
Forum: Fixing WordPress
In reply to: Firefox Formatting Beginning of Each Post ScrewyAnd this is in the css:
.diggLink{
float: left;
margin-top: 6px;
margin-bottom: 5px;
margin-left: 0px;
margin-right: 10px;
}
Forum: Fixing WordPress
In reply to: Firefox Formatting Beginning of Each Post ScrewyHey 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=”https://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!!!!
DerekForum: Fixing WordPress
In reply to: Firefox Formatting Beginning of Each Post ScrewyHelp!
Forum: Fixing WordPress
In reply to: Firefox Formatting Beginning of Each Post ScrewyHmm. Ok. Any idea where or what I should be looking for? Thanks.