[thelist] [CSS] Disappearing Markup Block (IE)

Stephen Rider evolt_org at striderweb.com
Wed Apr 21 15:32:42 CDT 2004


On Apr 21, 2004, at 12:02 PM, Adriano Castro wrote:
> <div class="section">
>   <div class="title">foobar</title>
>   <div class="content">example example</title>
> </div>

-snip-

> <div class="section">
>   <a href="#" accesskey="n">
>     <div class="title">foobar</title>
>   </a>
>   <div class="content">example example</title>
> </div>


I notice that your opening a <div> tag, but closing a <title> tag.  
They should be:

<div class="section">
   <div class="title">foobar</div>
   <div class="content">example example</div>
</div>

and

<div class="section">
   <a href="#" accesskey="n">
     <div class="title">foobar</div>
   </a>
   <div class="content">example example</div>
</div>


That could have something to do with the odd rendering.
Also, you may choose to simplify the second one to:

<div class="section">
   <a href="#" accesskey="n" class="title">foobar</a>
   <div class="content">example example</title>
</div>


By the way, the word you want is "right" not "rite".  :)
> It works perfectly for all titles on the "left" and "rite" sections as
> well as all titles

Hope It Helps,
Steve



More information about the thelist mailing list