HighDots Forums  

piculiar behaviour of float:left

alt.html.webedit alt.html.webedit


Discuss piculiar behaviour of float:left in the alt.html.webedit forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Manfred Ullrich
 
Posts: n/a

Default piculiar behaviour of float:left - 08-28-2006 , 03:31 AM






I want to surround a picture by a text as shown:

PICHTURETextTextTextText
PICHTURETextTextTextText
PICHTURETextTextTextText
PICHTURETextTextTextText
TextTextTextTexTextTextText
TextTextTextTexTextTextText

I do this by

<img style="margin-right:12px; float:left" src="picture.gif"><div align="justify"> TextTextText</div>

And then I see this on the IE as wanted. But when I print it - even with print-preview - then I have two
results depending on

margin-right:12px

When I have 2, 5, 7, 10, 13, 16px... then it is okay, but with other figures it prints (and shows with
print-preview):

PICHTURE
PICHTURE
PICHTURE
PICHTURE
TextTextTextTexTextTextTextTex
TextTextTextTexTextTextTextTex
TextTextTextTexTextTextTextTex
TextTextTextTexTextTextTextTex

What is wrong?

Thank you,
Manfred



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.