Forum Moderators: open
However, when it comes to lists within a positioned div I have a problem that affects our clients using contribute and/or Dreamweaver's design mode (I get round it in code view, but that's not an option for our clients).
Whithin these divs I want to add an unordered list as part of the inline content. Like this >
<div class="leftcolumn">
<p> some text </p>
<p> some more text </p>
<ul>
<li>One</li>
<li>Two<li>
</ul>
<p> some more text </p>
</div>
This seems to work in the browsers I have tried it in. However if I use design mode inDreamweaverMX (I know, I know) to convert pre-existing paragraphs into a list I get the following >
<div class="leftcolumn">
<p> some text </p>
</div>
<ul>
<li><div class="leftcolumn">One</div></li>
<li><div class="leftcolumn">Two</div><li>
</ul>
<div class="leftcolumn">
<p> some more text </p>
</div>
Since .leftcolumn is floated left with a width of 64% this gives a wacky appearence.
So basically I need to know if
(a) my code is OK (i.e. 'legal' CSS) and Dreamweaver is choking for some reason known best to itself or
(b) I've done something very stoopid!
Many thanks
Peter
PS How do I get my code in those nice bordered boxes?
[edited by: Nick_W at 6:32 pm (utc) on Nov. 12, 2003]