homepage Welcome to WebmasterWorld Guest from 54.227.40.166
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
html 5 and css3 in local host
zeusthegreat




msg:4519338
 1:08 pm on Nov 15, 2012 (gmt 0)

I am trying to build a website in html5 and css3 linked to a my sql database and the pages are saved as .php

Now Are all these compatible or am i jumping ahead of time

becasuse i am in the process of writing my admin area for my site
and when i view it the html5 does not seem to work
although i am using dreamweaver strictly in code view and when i check the pages i have written in live view

the html5 is still working!




Does html5 not work in localhost and is there a quick fix for this so i can happily continue with my site

 

benihana




msg:4519387
 4:18 pm on Nov 15, 2012 (gmt 0)

php/mysql could not care about your flavour of html/css.

are you checking in an IE browser < v9? in which case you will the html5shiv to get those browsers to understand the new html 5 elements.

zeusthegreat




msg:4519405
 5:26 pm on Nov 15, 2012 (gmt 0)

i am using ie9 already on a windows seven computer

lucy24




msg:4519497
 10:31 pm on Nov 15, 2012 (gmt 0)

When you are making something to go online you must must must always always always check it in many different browsers. You can also check in information sources like caniuse dot com, but there's no substitute for your own eyeballs. "Not supported" may mean it's quietly ignored-- or it may mean visual disaster.

And then you can decide what proportion of your users are expendable.

css, unlike html, doesn't identify itself. Officially both are still Under Construction-- but my most recent visits to the CSS validator quietly assumed CSS3.

phranque




msg:4519594
 5:46 am on Nov 16, 2012 (gmt 0)

welcome to WebmasterWorld, zeusthegreat!

have you tried W3C's Unified Validator?
http://validator.w3.org/unicorn/ [validator.w3.org]

zeusthegreat




msg:4519649
 10:06 am on Nov 16, 2012 (gmt 0)

I am in php pages writing html5 and css3

so how can i view the pages in browser as i have xamp installed for my database so i can view my pages through the localhost
dreamweaver i used by me solely as a text editor.

I will try saving the pages as php and html so i can check them unless there is another way i am missing

lucy24




msg:4519669
 11:09 am on Nov 16, 2012 (gmt 0)

You can't do it by clicking and dragging the filenames, the way you do with ordinary html. But you can put any address into the browser's address bar. Mine is http://localhost:8888/ and that's pretty standard. I've got a default browser, but any browser will recognize an address in this form so long as your pseudo-server is already running. ("Any browser" = it even works with MSIE 5. I just tried.)

drhowarddrfine




msg:4519836
 3:21 am on Nov 17, 2012 (gmt 0)

@zeusthegreat - If you are creating pages for the modern web you need to be using a modern web browser that will be able to render those html5/css3 elements you want to use and IE will never be it. Always, always use ANY other browser to test your markup first. But the multitude of problems with IE are well known, as are the hacks to fix it.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved