List item dropping on iphone

Discussion in 'CSS' started by tksforlife, Nov 29, 2012.

  1. #1
    For my site footer the copyright list item drops to a new line when I view it on my iPhone but on my computer the minwidth keeps it from doing that. Why isnt it working on my iPhone also?

    artsatheart.atwebpages.com
     
    tksforlife, Nov 29, 2012 IP
  2. tommy2912

    tommy2912 Peon

    Messages:
    11
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hi, I'm web designer from Zagreb with 3 years of experience in front end design and also an instructor of web design.

    First of all I can see that you are new in this job so before I'll point you to a few major mistakes you've made creating this website, you shoud definitely see some tutorials of HTML & CSS essentials.

    So lets start from begin:

    1. Your site don't have a wrapper of fixed size which makes your design responsive to different sizes of screens.

    - I'll recommend you to wrap all the content inside of body tag with <div id="wrapper"> ..your content... </div> ...and give it in CSS #wrapper { margin: 0 auto; width: 980px; }
    - this is the only thing you'll need to center and hold your website content in container.
    - get rid of other paddings left and right, and min-width etc...

    2. Use .html file extension for your files, as it is static website. Php is for dynamic pages and for now I don't see any server scripts on you website.

    3. Your Google Analytics Javascript put just before closing </body> tag or in <head> tag, but first way is a better practice for speeding up loading of your site.

    4. HTML essentials :) no one can teach you how to make a web site, we can only give you a few tips and this one is the most important.


    Hope you got some answers, take care.
     
    tommy2912, Nov 30, 2012 IP
  3. tksforlife

    tksforlife Greenhorn

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #3
    I moved the analytics but I use the include php function in my files. Can I still use a .html tag if theres php in my file?
     
    tksforlife, Dec 3, 2012 IP