Re: [PHP] PHP Manual problems

[email protected] (tedd)
Newsgroups php.general
Message-ID <p06240801c798df34a387@[192.168.1.102]>
At 1:38 PM -0500 2/10/10, Robert Cummings wrote:
>Agreed. Those make sense to demarcate the structure layout of the 
>document... but still, for styling the class makes more sense since 
>it keeps the specificity low and easy to override (especially true 
>for skinnable apps). In my experience I've seen quite often things 
>like:
>
><div id="header_wrapper">
>     <div id="header">
>         <div id="left">LOGO</div>
>     </div>
></div>
>
>And then of course I'll see later:
>
><div id="footer_wrapper">
>     <div id="footer">
>         <div id="left">COPYRIGHT</div>
>     </div>
></div>
>
>And in the specific example I responded to the example was:
>
><div id="aside">
>     <aside>
>         // stuff
>     </aside>
></div>
>
>This seemed like a classic example of ID abuse.
>
>Cheers,
>Rob.

If you use:

         <div class="left">COPYRIGHT</div>

then you can align other elements on the page.

I also use attributes like:

         <div class="floatR">COPYRIGHT</div>

I understand the other view point on this, but this is my practice.

Cheers,

tedd

-- 
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.