Thanks Tim and David,

The reason I'm having all this bunch of divs, is because I want to have
borders with gradient and rounded corners, using the so called "1 image
technique". 
I don't understand what all does divs do, because I see only the code but no
explanations about the whys. 

1)
If you can point me the name of this technique (so I can study) or suggest a
better one to accomplish this kind of effect, I will more than glad to learn
about it.



Why the second one -
http://www.cantinho.org/pt/cantinho-site/outra_tecnica.html - , despite all
the divs?
Because the first one as some problems on the "bottom left" and "top left"
corners. 
I don't know why, but I get no rounded top left corner, and rounded bottom
left corner on the first one:
http://www.cantinho.org/pt/cantinho-site/rounded_gradient_boxes_v3.html - 

2)
it's easy for any CSS guru to point out a solution for this absent left side
rounded corners?



I also found hard to understand this div hierarchy: 
The div responsible for the top border, comes After the content div ? I
found that weird:
<div class="dialog">
        
        <div class="content">
        
                <div class="t"></div>
                <!-- Your content goes here -->
                <p>Here is a very simple example dialog.</p>
  
        </div>
                
        <div class="b"><div></div></div>
        
</div>


I've tried to do change that to a more "logical" approach, putting the top
div Before the content div like this: 
<div class="dialog">
        
        <div class="t"></div>

        <div class="content">
        
                <!-- Your content goes here -->
                <p>Here is a very simple example dialog.</p>
  
        </div>
                
        <div class="b"><div></div></div>
        
</div>

No success. 

3)
Would be possible to allow this more logical HTML structure approach ?



@David
4)
Should I take your " Eeeks!" as a disapproval of the divs structure? It's
consensual that the first approach is a better one?




I'm sorry for all this questions. I hope they arrive easy to answer... :s



Kind Regards,
Márcio

______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to