|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Page shows correctly in some IE, but blank in others
Hi all, let me start by saying I don't know a great deal about XML, but I have a user at work who uses Dreamweaver for our (crap) company Intranet.
There are a small number of pages which show ok in some IE5.5/IE6 browsers, but on others, it is just a blank page. I don't think she means to use XML... all it is, is a table of links to PDF documents. Something she could have created as pure HTML. Is there a simple option in Dreamweaver MX that will make an intranet site in XML or HTML? Maybe some aspects of her site do need to be in XML... I'm not too sure. The code is several thousand lines long and I've had a quick look on the net for an XML parser, but one I found showed errors through most of the code. Because of this particular user (a director) I don't want to go and tell her to re-design the site. I have attached the file... it is really basic (in appearance) but would appreciate somebody telling me if there is anything obvious I should be checking for. I suspect this is a bit of a vague question, but many thanks in advance for any help anybody can offer. ![]() |
|
#2
|
|||
|
|||
|
eww eww eww eww. It's not from Dreamweaver, this thing was made with WORD!!!.
Also, it's not xml, it's just horrible horrible html file.Dreamweaver should have an option to "Clean Word HTML" or something like that. If you can't find it, go grab a copy of HTML Tidy. Google for it. There's lots of options/implementations. There's an easy to use one bundled with the HTML editor HTML Tidy. The basic problem is the word throws a lot of cruft in when it generates html, so you need something that will go through and clean it out. Should be easy to fix, though. You could even automate the process for updated files. |
|
#3
|
|||
|
|||
|
Thanks for your input... I will go and look for that. I must say, I hadn't looked too closely at the code. Its just that this particular user has Dreamweaver and normally uses it.
Unfortunantly, our company seem to have a policy of having a really ugly Intranet and no uniformity, and you can only achieve that by using Word!! I thought it was XML as some of the headers had XMLNS names (wrong to assume!) Anyway, thanks again. Mat |
|
#4
|
|||
|
|||
|
It's actually xhtml, so the xmlns stuff is valid. Take a look at the options for cleaning up the Word html. I've had very good success using them. I can't guarantee cleaning up the code will fix the problem, but if it doesn't it *will* make the page much smaller and the problem easier to find.
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > Page shows correctly in some IE, but blank in others |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|