Problem with news

Status
Not open for further replies.

Hermoine22

New Member
Messages
322
Reaction score
0
Points
0
Hello

I have been going crazy lol trying to figure out how to align my avatar in cutenews, i know its not really a hosting question but i am running out of sources the support fourms at Cutenews are bad, so i thought id ask here if anyone would know

My problem

I want to align my avatar to the side of my news, so it goes fully to the side not just on the first sentance, i have to specify that in templates where the avatar will go by using {avatar} now i added it over here but it wont work here is my code.

<div style="text-align:justify; padding:3px; margin-top:3px; margin-bottom:5px;">{avatar}{short-story}</div>

i tried everything and nottin seems to work if anyone can help i much appriciate it thnx

www.dprophecy.com
 

Jake

Developer
Contributors
Messages
4,057
Reaction score
5
Points
0
all i can tell you how to do is make it like:

_______
|--------| Text
|--------| Text
|______| Text
............. Text
............. Text
............. Text

pretend the ....s arnt there...

you would have to make a table, and then put in rows <td> and align the avatar in the center of one row and the text to the left in another
 
Last edited:

Hermoine22

New Member
Messages
322
Reaction score
0
Points
0
Yeah someone else showed me they did that but it messes up my whole page when i tried that
 

Jake

Developer
Contributors
Messages
4,057
Reaction score
5
Points
0
i think you had the tables set to auto-stretch

you goto make the <table> the specific length of the spot in which you are placing it...
 

Hermoine22

New Member
Messages
322
Reaction score
0
Points
0
this is the code i tried
<span style="float: left;">{avatar}
<td width="100%" style="text-align:justify">
<font style="font-family:georgia, verdana, arial, sans-serif; color:#666; font-size:14;">{short-story}</font></td>
 

Jake

Developer
Contributors
Messages
4,057
Reaction score
5
Points
0
try

<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="100" valign="top"><span style="float: left;">{avatar}</td>
<td width="5" valign="top">&nbsp;</td>
<td><div style="text-align: left;"><font style="font-family:georgia, verdana, arial, sans-serif; color:#666; font-size:14;">{short-story}</font></div></td>
</tr>
</table>

fill in the width="<size of text+avatar on site - 100>" with what it asks for
 
Last edited:
Status
Not open for further replies.
Top