| | |
|
|
|
Source formatting DIV-tags |
| message from Laiverd.COM on 18 Jul 2004 |
Hi,
Using DMX2004 I have a problem using 'apply source formatting'. If I use
only css styled DIV's in my page, no source formatting whatsoever happens
leaving me with barely readable code like below. This functionality does not
even apply the formatting as defined in the Tag Library, let alone that it
shows the nesting structure of the DIV tags. How can this be solved. This is
especially importatnt to me as I want to move away as far as possible from
traditional layout using tables. I have seen some similar posts on the
topic, but no solution was provided. By the way: running 7.01 here.
Thanks,
John
Example of troublesome source formatting:
<body> <div id="main"> <div id="header"><span class="topMenu"><a
href="#">Link1</a> :: link 2 :: link 3 :: link 4 :: link 5 </span></div>
<div id="navigation"><a href="#" target="_top">link1</a> <a href="#"
target="_top">link2</a> <a href="#" target="_top">link3</a> <a href="#"
target="_top">link4</a> <a href="#" target="_top">link5</a> <a href="#"
target="_top">link6</a> <a href="#" target="_top">link7</a> <a href="#"
target="_top">link8</a> <a href="#">link9</a> <a href="#">link10</a><div
id="lowerLeft"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.
cab#version=7,0,0,0" width="148" height="148" align="middle"> <param
name="allowScriptAccess" value="sameDomain" /> <param name="movie"
value="100x100_clock.swf" /> <param name="loop" value="false" /> <param
name="menu" value="false" /> <param name="quality" value="high" /> <param
name="bgcolor" value="#ffffff" /> <embed src="100x100_clock.swf"
loop="false" menu="false" quality="high" bgcolor="#ffffff" width="148"
height="148" align="middle" allowscriptaccess="sameDomain"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object></div></div><div id="content">
<p><span class="dropCap">L</span>ore corem velit amconsed modolent la facing
ex estrud doloborem ver si. Duisci et alit vendiat, qui ting ero dit
praestio dolore con utem iuscipis dolor sustrud tis eu faccummy nosto
dignibh et ad essit velesecte ming estrud euguero dunt wis nonsect tummodi
mcorem incidui modio doluptatum iriure vel do diamconum iriliquip ea faccum
do consenit ad et praesse velit la conulla feu feum ing et num alis ecte
velesse molor iliquat ad dolor se minci tions nons euis dolut in henim illa
consequis ea feuissi tio consequ mcore <a href="#"
target="_top">exerciduis</a> ametums ndiam, con ut aut volobore mod enibh
exer in hent luptatum exerat, venismodip eriure commy nostrud tat. Ut del
utem dolorper sit wisi. </p>
<p><span class="subheader">Subheader</span>
|
| Laiverd.COM replied to Laiverd.COM on 20 Jul 2004 |
An advise to change editor would also be welcome if Dreamweaver is simply
not the tool for this. Just state your suggestion ;-).
John
|
|
Archived message: Source formatting DIV-tags (Macromedia Dreamweaver Web Design)