First, as gsb said, we can have more then one approach, but for this
point of view sould be:

<div id=footer>

   <p class=credit> (C) 2010</p>

</div>

The footer contein everything is in the bottom part of the site.

You can't see your footer because is the <ul> that have the attribute
"selected=true" and only this one will be show in the page.
When I told you "be consistent" I meant exactly this, if you use an
<ul> as structure of your homepage you need to insert the footer in
this structure, otherwise you need to include everything in a wrapper
<div> (with the attribute "selected=true").

If you need a good book tha cover this tuff and the iUI framwork,
check this one:
http://www.wrox.com/WileyCDA/WroxTitle/productCd-0470251557.html
or the new version:
http://www.wrox.com/WileyCDA/WroxTitle/Safari-and-WebKit-Development-for-iPhone-OS-3-0.productCd-0470549661.html

Andrea

On Jan 11, 1:44 am, alanw <[email protected]> wrote:
> I am working with this as my main page:
>
> <ul id="home" title="Home" selected="true">
>     <li><a href="#row1">Row 1</a></li>
>     <li><a href="#row2">Row 2</a></li>
>     <li><a href="#row3">Row 3</a></li>
> </ul>
>
> When I added the #footer to the .css and this to the html after the ul
> above, it didn't do anything:
> <div id="footer">
>         <p>(c) 2010.</p>
> </div>
>
> Thanks,
> Alan
>
> On Jan 10, 6:52 pm, alanw <[email protected]> wrote:
>
>
>
> > Thanks very much Andrea for your response.  Just so I'm clear, are you
> > using both footer and credits or either ?  What would a div HTML look
> > like please... Thanks!
>
> > On Jan 10, 10:35 am, Andrea Picchi <[email protected]> wrote:
>
> > > Hi alanw,
> > > there isn't a specific doc for this but the concept it's easy.
>
> > > /* footer rules for a <div> or a <ul>, depend on how the structure
> > > page is (ul links or group of divs, just be coerent) */
> > > #footer { ... footer rules ... }
>
> > > /* define some simple text rules for <p> , according with text style
> > > used in your page */
> > > .credits { ... credits rules ... }
>
> > > Hope can help you out.
> > > Andrea
>
> > > On Jan 10, 1:37 pm, alanw <[email protected]> wrote:
>
> > > > I have created a test app using the list structure of the music
> > > > example but want to get a footer in small text below the list that
> > > > says something like (c) 2010 etc...
>
> > > > Where can I learn how to do that please?
>
> > > > Thanks
> > > > Alan
-- 
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en.


Reply via email to