Need some easy "DiggThisButton" alignment help...

projectv3

New member
Mar 6, 2007
506
2
0
Normally this should be pretty easy but I cant seem to get the alignment on a Digg smart button integrated into a Joomla article properly this time around...

What I'm looking to do is integrate the button as an align="left" so the text will wrap around it but have the text as align="justify".

In the html portion I have it as:

<p style="text-align: justify;">text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text </p>

according to Integrate: The Digg Button | Digg About

my two choices of codes are
<a class="DiggThisButton" />

or

<a class="DiggThisButton"> ('<img src="http://digg.com/img/diggThis.png" height="80" width="52" alt="DiggThis" />’)</a>

I'm wanting to insert this button right at the beginning of the test (align="left" as mentioned), the problem comes when I use the <a class="DiggThisButton" />. If i insert an image and just set that to align left it works perfectly - but then the only problem is that it leaves it as a static image. Once I wrap the image code with <a class="DiggThisButton">(' ')</a> as shown above (or even just using the <a class="DiggThisButton" />) it automatically gets rid of the alignment and the text doesn't wrap the button anymore.

I've tried everything I can think of (mind you I'm not naturally a webpage coder) in terms of trying different align="left" including using div tags but I still can't seem to get it to work...

If anyone has a spare moment and knows how to fix this it'll be greatly appreciated :D
 


ok nvm i swear almost everytime after going crazy trying to solve a coding issue, i post a thread on WF then within the hour i come up with a solution...
 
ok nvm i swear almost everytime after going crazy trying to solve a coding issue, i post a thread on WF then within the hour i come up with a solution...

When I have a problem, I usually take a small break to clear my head... things usually come to me while smoking or taking a dump. Don't over work yourself.

overworked-staff-repercussions-300x296.jpg