Border not ajusting to images only text

More
11 years 6 months ago - 11 years 6 months ago #10578 by tmntmn
Hi CK

I'm using the template creator and I think that it is a fine tool.

However I have a problem with it.

When I make an article and display it in the main content, the border ajust fine to the text content, but if I add an image and it is bigger than the text, the border still ajust to text not the image.

How can this be done?

See attachment:







Thomas
Attachments:
Last edit: 11 years 6 months ago by tmntmn.

Please Log in or Create an account to join the conversation.

More
11 years 6 months ago #10590 by ced1870
Hi
are you sure that this is related to tempalte creator and not just the fact that your image has float:right that put it out of the flow ?
CEd

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
11 years 6 months ago - 11 years 6 months ago #10622 by tmntmn
Hi CK

I don't think I'm using float here just "align=right":

Code:

</p><hr id="system-readmore" />
<div>


<img src=" www.somedomain.dk/images/stories/com_form2content/p1/f41/3.jpg " align="right" style="padding-left:10px;" alt="Frank Solo" />

<br/>
<br/>

Fredag d. 26. april gik Frank Solo p&aring; sin 70.-tyvende start.<br />
<br />
Et stort tillykke herfra!
</div>

Thomas
Last edit: 11 years 6 months ago by tmntmn. Reason: HIde info

Please Log in or Create an account to join the conversation.

More
11 years 6 months ago #10623 by ced1870
the result is the same as float :)
try to add the clear:both at the end
Code:
</p><hr id="system-readmore" /> <div> <img src="www.somedomain.dk/images/stories/com_form2content/p1/f41/3.jpg" align="right" style="padding-left:10px;" alt="Frank Solo" /><br/> <br/> <br/> Fredag d. 26. april gik Frank Solo p&aring; sin 70.-tyvende start.<br /> <br /> Et stort tillykke herfra! <div style="clear:both;"></div> </div>

Joomlack Webmaster and Developer
The following user(s) said Thank You: tmntmn

Please Log in or Create an account to join the conversation.

More
11 years 6 months ago #10660 by tmntmn
That did the trick. Works perfect now.
Thank you for your help.

--Thomas

Please Log in or Create an account to join the conversation.

Time to create page: 0.220 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 663 guests and no members online