|
From: dj on 4 Jul 2008 07:44 I have an html file which has some basic styling - style="float:right". When I open this file up in word, word ignores the styles. How do i get word to use the style. What I am trying to achieve is to create an html page where some text appears on the right of the page and this is preserved when opening the page in word. The html page has to drive this behaviour as I can't modify any word settings.
From: Bob Buckland ?:-) on 4 Jul 2008 12:39 Hi D.J., This article lists some of the limitations of page layout via HTML in Word http://support.microsoft.com/kb/212270 You won't be able to 'float' text for positioning without it being supported in a frame or shape or table, Word isn't page layout software, but Word can justify text right in a paragraph or wrap it around a picture. 'Float', if you're referring to a top level CSS class is one of the CSS elements that Word doesn't support. Word is supposed to ignore the elements it does not support. Without having a link to the web page to view, not knowing the version of Word you're using, or if you're using embedded CSS, or an attached CSS sheet, what you may want to try is creating a page in Word the way you want it to look while you're in Web Layout view, and then use File=>Web Page Preview (if pre Word 2007) to open the page in the browser and then in your browser right click and use View=>Source to see how word positioned the graphic, then mimic that CSS in the creation of the HTML page. =============== <<"dj" <dj(a)discussions.microsoft.com> wrote in message news:1E382322-891D-4435-924F-A92E15343AC6(a)microsoft.com... I have an html file which has some basic styling - style="float:right". When I open this file up in word, word ignores the styles. How do i get word to use the style. What I am trying to achieve is to create an html page where some text appears on the right of the page and this is preserved when opening the page in word. The html page has to drive this behaviour as I can't modify any word settings.>> -- Bob Buckland ?:-) MS Office System Products MVP *Courtesy is not expensive and can pay big dividends*
|
Pages: 1 Prev: Turn off this auto date feature Next: Write a letter in Word using contact info from Outlook |