The best way to do so:
- Code your PHP website using classes / OOp
- Code your website on one side
- Code your mobile website on another side
- Detect the platform and redirect on the proper version

Benefits:
- Being present in both desktop and mobile search engines
- Using all built-in functionalities of your mobile frameworks out of the box
- Any HTML / CSS updates on your desktop website will not break a thing for the 
mobile one
- You will be able to use those classes to create a WAP site, a RSS Feed, 
create a dynamic sitemap xml/ror, …
- All desktop version is not always appropriate on a mobile one, same on the 
opposite (accesskey, geolocalisation, …)

And this <lI> or CSS problem is over :)

example:
http://www.beosfrance.com/
http://m.beosfrance.com/
http://www.beosfrance.com/iphone/

Remi

Le 1 déc. 2009 à 02:25, lictor4 a écrit :

> Ya its definitely a CSS issue, I realize that.
> I've tried adding my div (.page) to the CSS as you've suggested but
> I'm likely too retarded at CSS to have done it right.
> 
> The <li> seem to be indenting but I can't  seem to find a way to
> override that. Isn't the default behavior of a <li> to indent? How is
> iUI preventing it?
> I should also mention that its the same for all <li>, not just the
> ones inside a fieldset.
> Thanks again for your time,
> Swj
> 
> On Nov 28, 11:26 pm, Remi Grumeau <[email protected]> wrote:
>> Actually, that's not a javascript issue but a CSS one.
>> 
>> body > .dialog or body > .panel you will see in iui.css means first child of 
>> <body>
>> After that, you'll find .panel > fieldset , fieldset > .row, .panel > h2, … 
>> which means first child also right after body
>> 
>> So, the structur supported by iUI could be reproduce like this
>> 
>> body
>>   + whatever you want (div, form, p, ul, …) .panel (or .dialog, .toolbar, …)
>>      +  h2
>>      +  fieldset
>>         +  div.row
>>             +  label
>>             +  input
>> 
>> The structur you propose is the following
>> 
>> body
>>   + whatever you want (div, form, p, ul, …) .panel (or .dialog, .toolbar, …)
>>      +  form
>>         +  h2
>>         +  fieldset
>>            +  div.row
>>                +  label
>>                +  input
>> 
>> which can't work, at least if you don't change 80% of the CSS code or core 
>> iUI styles.
>> But yes, if you do this 80% of code modification, it should work :-)
>> 
>> Remi
>> 
> 
> --
> 
> 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.
> 
> 


Remi Grumeau
(+33) 663 687 206
http://www.remi-grumeau.com

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to