Hi,

When you look at the following code it shows up fine in IE and FireFox as a list of images placed next to each other. But when I open it in Word it puts each image on a new line. How can this be fixed.
Thanks


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" >
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>FaceSheet</title>
<link href="http://css.dada.net/sadv/4you-tng/us/style.css?ver=2_02" rel="stylesheet"
type="text/css" />
</head>
<body>

<!-- DYNAMIC CONTENT - START -->
<!-- <div id="box_dinamico">-->
<!-- DYNAMIC RECORDS - START -->

<div id="contenuti_dinamici">

<div class="pictureframe_over">
<div class="bk">
<div class="img">


<img src="http://ima.dada.net/ngx/video/listthumb/1a/6b/1883003.jpg?ts=0925054402"
border="0" title="20" />

</div>
</div>
<div class="category">20</div>
<div class="img_title">

from fennyu**
</div>
</div>
<div class="pictureframe_over">
<div class="bk">
<div class="img">
<a href="http://us.sso.dada.net/from.php?f=2818&dest=http%3A%2F%2Fus.dada.net%2Fvideo%2F1883753%2FThe-parrot-revenge-records-%2F"
onclick="javascript:statsadv_viewImageStat(this,3);urchinTracker('/out/us4y/life');"
target="_blank">
<img src="http://ima.dada.net/ngx/video/listthumb/1d/c8/1883753.jpg?ts=0925070132"
border="0" title="The parrot revenge records" />
</a>

</div>
</div>
<div class="category">
<a href="http://us.sso.dada.net/from.php?f=2818&dest=http%3A%2F%2Fus.dada.net%2Fvideo%2F1883753%2FThe-parrot-revenge-records-%2F"
onclick="javascript:statsadv_viewImageStat(this,3);urchinTracker('/out/us4y/life');"
target="_blank" class="title" title="The parrot revenge records">The parrot revenge
records</a></div>
<div class="img_title">
<p>
from <a href="http://us.sso.dada.net/from.php?f=2818&dest=http%3A%2F%2Fus.dada.net%2Fprofile%2Fvideo%2FjlaNyY32Kcdy77d7FInl2COXuI%2Fmary2050"
onclick="javascript:statsadv_viewImageStat(this,3);urchinTracker('/out/us4y/life');"
target="_blank" class="author">mary2050</a></p>

</div>
</div>
<div class="pictureframe_over">
<div class="bk">
<div class="img">
<a href="http://us.sso.dada.net/from.php?f=2818&dest=http%3A%2F%2Fus.dada.net%2Fvideo%2F1882113%2FDucks%2F"
onclick="javascript:statsadv_viewImageStat(this,3);urchinTracker('/out/us4y/life');"
target="_blank">
<img src="http://ima.dada.net/ngx/video/listthumb/98/b6/1882113.jpg?ts=0925034347"
border="0" title="Ducks" />
</a>
</div>

</div>
<div class="category">
<a href="http://us.sso.dada.net/from.php?f=2818&dest=http%3A%2F%2Fus.dada.net%2Fvideo%2F1882113%2FDucks%2F"
onclick="javascript:statsadv_viewImageStat(this,3);urchinTracker('/out/us4y/life');"
target="_blank" class="title" title="Ducks">Ducks</a></div>
<div class="img_title">
<p>
from <a href="http://us.sso.dada.net/from.php?f=2818&dest=http%3A%2F%2Fus.dada.net%2Fprofile%2Fvideo%2FeYaNrg3ggwzUp71_HjdZH2xKSuDHr_%2Fhaihui"
onclick="javascript:statsadv_viewImageStat(this,3);urchinTracker('/out/us4y/life');"
target="_blank" class="author">haihui</a></p>
</div>

</div>
<div class="pictureframe_over">
<div class="bk">
<div class="img">
<a href="http://us.sso.dada.net/from.php?f=2818&dest=http%3A%2F%2Fus.dada.net%2Fvideo%2F1880404%2Fcat%2F"
onclick="javascript:statsadv_viewImageStat(this,3);urchinTracker('/out/us4y/life');"
target="_blank">
<img src="http://ima.dada.net/ngx/video/listthumb/db/ab/1880404.jpg?ts=0925002611"
border="0" title="cat" />
</a>
</div>
</div>

<div class="category">
<a href="http://us.sso.dada.net/from.php?f=2818&dest=http%3A%2F%2Fus.dada.net%2Fvideo%2F1880404%2Fcat%2F"
onclick="javascript:statsadv_viewImageStat(this,3);urchinTracker('/out/us4y/life');"
target="_blank" class="title" title="cat">cat</a></div>
<div class="img_title">
<p>
from <a href="http://us.sso.dada.net/from.php?f=2818&dest=http%3A%2F%2Fus.dada.net%2Fprofile%2Fvideo%2FvgaNegxIXKPlHHM7FInl2COXuI%2Fkitty"
onclick="javascript:statsadv_viewImageStat(this,3);urchinTracker('/out/us4y/life');"
target="_blank" class="author">kitty</a></p>
</div>
</div>

<div class="pictureframe_over">
<div class="bk">
<div class="img">
<a href="http://us.sso.dada.net/from.php?f=2818&dest=http%3A%2F%2Fus.dada.net%2Fvideo%2F1880199%2FFAEB92DD_1854359%2F"
onclick="javascript:statsadv_viewImageStat(this,3);urchinTracker('/out/us4y/life');"
target="_blank">
<img src="http://ima.dada.net/ngx/video/listthumb/23/43/1880199.jpg?ts=0925000057"
border="0" title="FAEB92DD_1854359" />
</a>
</div>
</div>
<div class="category">

<a href="http://us.sso.dada.net/from.php?f=2818&dest=http%3A%2F%2Fus.dada.net%2Fvideo%2F1880199%2FFAEB92DD_1854359%2F"
onclick="javascript:statsadv_viewImageStat(this,3);urchinTracker('/out/us4y/life');"
target="_blank" class="title" title="FAEB92DD_1854359">FAEB92DD_1854359</a></div>
<div class="img_title">
<p>
from <a href="http://us.sso.dada.net/from.php?f=2818&dest=http%3A%2F%2Fus.dada.net%2Fprofile%2Fvideo%2FHFaNrYTlRYzSVoLYIp6cCo%2Flungu"
onclick="javascript:statsadv_viewImageStat(this,3);urchinTracker('/out/us4y/life');"
target="_blank" class="author">lungu</a></p>
</div>
</div>
<div class="pictureframe_over">

<div class="bk">
<div class="img">
<a href="http://us.sso.dada.net/from.php?f=2818&dest=http%3A%2F%2Fus.dada.net%2Fvideo%2F1875439%2FLovely-dogs%2C-excitement%2F"
onclick="javascript:statsadv_viewImageStat(this,3);urchinTracker('/out/us4y/life');"
target="_blank">
<img src="http://ima.dada.net/ngx/video/listthumb/fa/00/1875439.jpg?ts=0924171529"
border="0" title="Lovely dogs, excitement" />
</a>
</div>
</div>
<div class="category">
<a href="http://us.sso.dada.net/from.php?f=2818&dest=http%3A%2F%2Fus.dada.net%2Fvideo%2F1875439%2FLovely-dogs%2C-excitement%2F"
onclick="javascript:statsadv_viewImageStat(this,3);urchinTracker('/out/us4y/life');"
target="_blank" class="title" title="Lovely dogs, excitement">Lovely dogs, excitement</a></div>

<div class="img_title">
<p>
from <a href="http://us.sso.dada.net/from.php?f=2818&dest=http%3A%2F%2Fus.dada.net%2Fprofile%2Fvideo%2FvEaNycEulgGU7vT7FInl2COXuI%2Flitter+baby"
onclick="javascript:statsadv_viewImageStat(this,3);urchinTracker('/out/us4y/life');"
target="_blank" class="author">litter baby</a></p>
</div>
</div>
<div class="pictureframe_over">
<div class="bk">
<div class="img">

<a href="http://us.sso.dada.net/from.php?f=2818&dest=http%3A%2F%2Fus.dada.net%2Fvideo%2F1875908%2FSleepy-kittens.-%2F"
onclick="javascript:statsadv_viewImageStat(this,3);urchinTracker('/out/us4y/life');"
target="_blank">
<img src="http://ima.dada.net/ngx/video/listthumb/2e/77/1875908.jpg?ts=0924175226"
border="0" title="Sleepy kittens." />
</a>
</div>
</div>
<div class="category">
<a href="http://us.sso.dada.net/from.php?f=2818&dest=http%3A%2F%2Fus.dada.net%2Fvideo%2F1875908%2FSleepy-kittens.-%2F"
onclick="javascript:statsadv_viewImageStat(this,3);urchinTracker('/out/us4y/life');"
target="_blank" class="title" title="Sleepy kittens.">Sleepy kittens.</a></div>
<div class="img_title">

<p>
from <a href="http://us.sso.dada.net/from.php?f=2818&dest=http%3A%2F%2Fus.dada.net%2Fprofile%2Fvideo%2FrzaNyX3lYcWSoHTtvj6y2C5gC2a7t%2Fyanyan1974"
onclick="javascript:statsadv_viewImageStat(this,3);urchinTracker('/out/us4y/life');"
target="_blank" class="author">yanyan1974</a></p>
</div>
</div>

<div class="pictureframe_over">
<div class="bk">
<div class="img">
<a href="http://us.sso.dada.net/from.php?f=2818&dest=http%3A%2F%2Fus.dada.net%2Fvideo%2F1877045%2F%E7%8C%AB%E7%8B%97%E5%A4%A7%E6%88%98%2F"
onclick="javascript:statsadv_viewImageStat(this,3);urchinTracker('/out/us4y/life');"
target="_blank">

<img src="http://ima.dada.net/ngx/video/listthumb/81/dc/1877045.jpg?ts=0924191241"
border="0" title="猫狗大战" />
</a>
</div>
</div>
<div class="category">
<a href="http://us.sso.dada.net/from.php?f=2818&dest=http%3A%2F%2Fus.dada.net%2Fvideo%2F1877045%2F%E7%8C%AB%E7%8B%97%E5%A4%A7%E6%88%98%2F"
onclick="javascript:statsadv_viewImageStat(this,3);urchinTracker('/out/us4y/life');"
target="_blank" class="title" title="猫狗大战">猫狗大战</a></div>
<div class="img_title">
<p>

from <a href="http://us.sso.dada.net/from.php?f=2818&dest=http%3A%2F%2Fus.dada.net%2Fprofile%2Fvideo%2FvEaNycEulgGU7vT7FInl2COXuI%2Flitter+baby"
onclick="javascript:statsadv_viewImageStat(this,3);urchinTracker('/out/us4y/life');"
target="_blank" class="author">litter baby</a></p>
</div>
</div>
<div class="pictureframe_over">
<div class="bk">
<div class="img">
<a href="http://us.sso.dada.net/from.php?f=2818&dest=http%3A%2F%2Fus.dada.net%2Fvideo%2F1876663%2Fcat%2F"
onclick="javascript:statsadv_viewImageStat(this,3);urchinTracker('/out/us4y/life');"
target="_blank">
<img src="http://ima.dada.net/ngx/video/listthumb/cc/28/1876663.jpg?ts=0924184620"
border="0" title="cat" />

</a>
</div>
</div>
<div class="category">
<a href="http://us.sso.dada.net/from.php?f=2818&dest=http%3A%2F%2Fus.dada.net%2Fvideo%2F1876663%2Fcat%2F"
onclick="javascript:statsadv_viewImageStat(this,3);urchinTracker('/out/us4y/life');"
target="_blank" class="title" title="cat">cat</a></div>
<div class="img_title">
<p>
from <a href="http://us.sso.dada.net/from.php?f=2818&dest=http%3A%2F%2Fus.dada.net%2Fprofile%2Fvideo%2F_OaNrRxuwR8UoUhUII6y2C5gC2a7t%2Fdiandianke"
onclick="javascript:statsadv_viewImageStat(this,3);urchinTracker('/out/us4y/life');"
target="_blank" class="author">diandianke</a></p>

</div>
</div>
<div class="pictureframe_over">
<div class="bk">
<div class="img">
<a href="http://us.sso.dada.net/from.php?f=2818&dest=http%3A%2F%2Fus.dada.net%2Fvideo%2F1873574%2FDuncan-always-steals-Hana-s-treats%2F"
onclick="javascript:statsadv_viewImageStat(this,3);urchinTracker('/out/us4y/life');"
target="_blank">
<img src="http://ima.dada.net/ngx/video/listthumb/da/dc/1873574.jpg?ts=0924145650"
border="0" title="Duncan-always-steals-Hana-s-treats" />
</a>
</div>

</div>
<div class="category">
<a href="http://us.sso.dada.net/from.php?f=2818&dest=http%3A%2F%2Fus.dada.net%2Fvideo%2F1873574%2FDuncan-always-steals-Hana-s-treats%2F"
onclick="javascript:statsadv_viewImageStat(this,3);urchinTracker('/out/us4y/life');"
target="_blank" class="title" title="Duncan-always-steals-Hana-s-treats">Duncan-always-steals-Hana-s-treats</a></div>
<div class="img_title">
<p>
from <a href="http://us.sso.dada.net/from.php?f=2818&dest=http%3A%2F%2Fus.dada.net%2Fprofile%2Fvideo%2F_OaNrRxuwR8UoUhUII6y2C5gC2a7t%2Fdiandianke"
onclick="javascript:statsadv_viewImageStat(this,3);urchinTracker('/out/us4y/life');"
target="_blank" class="author">diandianke</a></p>
</div>

</div>
<div class="pictureframe_over">
<div class="bk">
<div class="img">
<a href="http://us.sso.dada.net/from.php?f=2818&dest=http%3A%2F%2Fus.dada.net%2Fvideo%2F1873338%2FLovely-dogs-and-cats%2F"
onclick="javascript:statsadv_viewImageStat(this,3);urchinTracker('/out/us4y/life');"
target="_blank">
<img src="http://ima.dada.net/ngx/video/listthumb/f4/59/1873338.jpg?ts=0924144011"
border="0" title="Lovely dogs and cats" />
</a>
</div>
</div>

<div class="category">
<a href="http://us.sso.dada.net/from.php?f=2818&dest=http%3A%2F%2Fus.dada.net%2Fvideo%2F1873338%2FLovely-dogs-and-cats%2F"
onclick="javascript:statsadv_viewImageStat(this,3);urchinTracker('/out/us4y/life');"
target="_blank" class="title" title="Lovely dogs and cats">Lovely dogs and cats</a></div>
<div class="img_title">
<p>
from <a href="http://us.sso.dada.net/from.php?f=2818&dest=http%3A%2F%2Fus.dada.net%2Fprofile%2Fvideo%2FvEaNycEulgGU7vT7FInl2COXuI%2Flitter+baby"
onclick="javascript:statsadv_viewImageStat(this,3);urchinTracker('/out/us4y/life');"
target="_blank" class="author">litter baby</a></p>
</div>
</div>

<div style="clear: both">
</div>
</div>
<!-- DYNAMIC RECORDS - END -->
<!-- </div>-->
</body>
</html>

Erm... when you say "next to each other"... you mean "side by side" or "horizontally ???

Well, think about it.
MS Word is not receiving the styles!
If you remove your style sheet call, you'll probably see that the browsers do the same as the word processor.

Divs, by desfult, go full width.
This means that they will not appear side by side, but instead will stack beneath each other.


Additionally.... why do many divs?
You could get much the same result with a List and Spans :)
(Okay, not exactly much better... but more logical?).

Thanks autocrat. I did mean 'next to each other - to mean side by side'. I'll try using lists and spans and see if that helps. Thanks!

Don't foget, if you are using an external style sheet, cutting and pasting the Code will result in a different display.

Using Inline Styles will help... but I cannot gaurentee that any application will accept or result in a manner the same way a browser would.

If it is important to get a example of the page in a document, eithe take a screen shot and paste it in as an image.... or make it a PDF.

Word does stupid things with web pages.

I use it just to check my speling and grammmer. I make the actual changes in Notepad after seeing what Word says, and then I don't save the Word version.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.