Daniel0
Staff Alumni-
Posts
11,885 -
Joined
-
Last visited
Everything posted by Daniel0
-
To the table-people: Try to create this using tables: http://www.webdesignerwall.com/tutorials/advanced-css-menu/ (final result: http://www.webdesignerwall.com/demo/advanced-css-menu/). Also note how small the HTML is: <ul id="menu"> <li><a href="#" class="home">Home<span></span></a></li> <li><a href="#" class="about">About<span></span></a></li> <li><a href="#" class="rss">RSS<span></span></a></li> </ul>
-
[quote author=lukkyjay link=topic=119433.msg728404#msg728404 date=1193718287] I'm just now starting to learn php for a project on my own site. I don't understand how a WYSIWYG would work with php, but that would be awesome if it were actually possible. Can you get specific about the best WYSIWYG for a beginner? [/quote] WYSIWYG is for HTML only. Best is a matter of personal preference and hence the reason why this and [url=http://www.phpfreaks.com/forums/index.php/topic,54859.0.html]this[/url] topic are created.
-
Actually it's Heap Media who created it. It's just a site with Google Co-op.
-
Your site will also load faster if you separate content (HTML), presentation (CSS) and behavior (Javascript). If you do that then the browser will only have to download the HTML each time while the CSS and Javascript files are cached. If you use tables, then part of the presentation is moved into the content and therefore forcing the user to download it each time.
-
I'm not being a dick or anything, just helpful, I know English is not your first language: You ride a bike, not drive it. Ah, ok... thanks for clearing that out. In Danish you say "drive" ("køre") whenever you are using something with wheels.
-
At large roads the snow and ice is cleared away, but most of the way I'm driving on small paths to take a shortcut. I don't use bike chains or any other sort of "special equipment", I just drive carefully and a bit slower (which is a problem because I'm often a bit late and therefore have to hurry in order to get there in time) if it's icy or if there is snow.
-
Year round? How rough does the weather get? Yes, year round. I think at winter it's like -5 to 5 Celsius (maybe a little colder sometimes), sometimes with snow and sometimes with rain. Summers can be up to 35 degrees, but usually they're around 25 degrees. Distance is approximately 3 km (1.9 miles).
-
I bike to school no matter what the weather condition is.
-
Well, would you write an essay in Excel (or any other spreadsheet) for example?
-
Can't you just install a LAMP on the VPS yourself? It's not particularly difficult and there are lots of online resources to help you.
-
You don't buy scripts of software, you buy a license to use it. There is a vast difference between those two things. Same thing goes for movies, you don't buy it in the way that you now own the rights of it, you simply purchase permission to view it. Music is the same as well. This is of course if the license doesn't state otherwise.
-
It will be faster for people located in Asia because they are physically closer to the server. It depends on who your target users are.
-
What do you mean with "act like tables"?
-
Well, consider this: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" /> <title>Test Layout</title> <link href="styles/default.css" rel="stylesheet" media="screen" /> </head> <body> <div id="container"> <div id="header"> <h1>Test layout</h1> </div> <div id="top-navigation"> <ul> <li><a href="#">Link 1</a></li> <li><a href="#">Link 2</a></li> <li><a href="#">Link 3</a></li> <li><a href="#">Link 4</a></li> </ul> </div> <div id="side-navigation"> <ul> <li><a href="#">Link 1</a></li> <li><a href="#">Link 2</a></li> <li><a href="#">Link 3</a></li> <li><a href="#">Link 4</a></li> </ul> </div> <div id="content"> <h2>Page title</h2> <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Curabitur ante augue, viverra ut, dignissim non, ultricies quis, erat. Aliquam dignissim massa sed odio. Donec scelerisque nonummy diam. Proin molestie venenatis ipsum. In hac habitasse platea dictumst. Suspendisse fermentum. Sed iaculis viverra metus. Nunc purus. Donec non enim. Sed interdum faucibus mi. Vivamus molestie magna sit amet elit interdum interdum. Ut interdum. Nunc eleifend fermentum magna.</p> <p>Sed molestie nonummy lectus. Sed leo. Fusce sit amet orci ac nunc pharetra bibendum. Morbi mollis dictum leo. Etiam condimentum. Aenean a nunc. Mauris malesuada, lacus ut adipiscing tempus, tellus nisi dignissim risus, in porta lacus libero sed nisl. Donec consectetuer vehicula enim. Praesent ut pede. Proin ac purus nec odio vehicula vestibulum. Fusce congue urna ullamcorper augue. In et enim sit amet nunc ultricies tincidunt. Nulla tristique bibendum massa. Sed accumsan. Quisque nonummy rutrum ligula. Pellentesque felis orci, pharetra vitae, porta tincidunt, rutrum eu, nisi.</p> </div> <div id="footer"> Copyright © 2007 Somebody </div> </div> </body> </html> In that way you don't have to use a lot of <table>, <tr> and <td> tags so there is less code to read for the spider. As to what concerns accessibility, screen readers can more easily read your page as you haven't filled it with a lot of semantically incorrect tags. Your layout isn't tabular data, so you shouldn't use tables. Also note that the above code says nothing about how your page looks, with CSS you can make it look like you want it and therefore it will also be easier to maintain and change to another layout. You could for example replace the contents of the <h1> tag with an image (logo) but still retain the text using CSS so spiders can still see it.
-
Question: What is Illustrator used for in a Web App? Probably to create vector art. A logo or a button for example.
-
The process control functions shouldn't be used within a web server environment. See: http://php.net/pcntl
-
Serving from a different root. (PERMISSIONS)
Daniel0 replied to Sylmand's topic in PHP Installation and Configuration
Try <Directory "C:/path"> Order allow,deny Allow from all </Directory> in httpd.conf -
[SOLVED] freak loop, (acts differently on using nested functions..) why??
Daniel0 replied to dsaba's topic in PHP Coding Help
If yous still want to return int 0, then you could check if it's !== FALSE. That should work. -
[SOLVED] Fatal error: Unknown function: islogged()
Daniel0 replied to jaredclance's topic in PHP Coding Help
Well, it seems to be a bug in the script you're using. You should contact the developers of the script then. -
[SOLVED] freak loop, (acts differently on using nested functions..) why??
Daniel0 replied to dsaba's topic in PHP Coding Help
If you do $endKey = 'hello'; then $endKey != FALSE will evaluate to true as $endKey is true. -
[SOLVED] Fatal error: Unknown function: islogged()
Daniel0 replied to jaredclance's topic in PHP Coding Help
Are you sure you uploaded all the files? -
This is strictly SQL, so the problem has nothing to do with the upgrade? Do you get any errors?