Welcome to WebmasterWorld Guest from 54.197.94.141

Forum Moderators: incrediBILL

Message Too Old, No Replies

html 5 and css3 in local host

   
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
4:18 pm on Nov 15, 2012 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



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.
5:26 pm on Nov 15, 2012 (gmt 0)



i am using ie9 already on a windows seven computer
10:31 pm on Nov 15, 2012 (gmt 0)

WebmasterWorld Senior Member lucy24 is a WebmasterWorld Top Contributor of All Time Top Contributors Of The Month



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.
5:46 am on Nov 16, 2012 (gmt 0)

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



welcome to WebmasterWorld, zeusthegreat!

have you tried W3C's Unified Validator?
http://validator.w3.org/unicorn/ [validator.w3.org]
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
11:09 am on Nov 16, 2012 (gmt 0)

WebmasterWorld Senior Member lucy24 is a WebmasterWorld Top Contributor of All Time Top Contributors Of The Month



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.)
3:21 am on Nov 17, 2012 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



@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.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month