-
Can I Display Text In Special Fonts On My Website?
Please, please please try and use the fonts given as 'standard'. There's only any real need to style headers, but the tricks used are a bit 'hacky' and still the nicest designs for web pages need to respect simple markup etc. There's some quite nice display styles available 'out of the box'... Georgia is a beautiful header serif font, and Impact makes a total contrast for 'newspaper' style headlines.
-
remove dotted border from links
Sometimes, one has to respect that the web is becoming more and more 'accessible', and at some point aesthetics have to go out of the window. In this case, there's another trick which is to change focus using Javascript of the current element. If I find the snippet, I'll add more info!
-
Couple of useful add-ons....
So many toys, so little time ...
-
index.htm without any toolbar etc
Am I right in thinking this is a kind of pseudo-screensaver?
-
Expression Engine 2.0 Sneak Preview
It's not fair to 'slate' wordpress for being a single-blog machine... have you not seen WordpressMU ??? I think the price for EE would be a charge-on, so it's not really an issue.
-
Expression Engine 2.0 Sneak Preview
I've been following the progress of this, and I must say that it looks set to be high on my list of 2008 'must-do'. As stated, the documentation and support are outstanding.
-
Php and JS
Go get XAJAX. PHP and JS start talking interactively. The important distinctions to make: 1. PHP is parsed and written SERVER SIDE 2. JS is parsed and used CLIENT SIDE XAJAX bridges the gap (as does AJAX), and is a great framework.
-
Make jpeg of screen function - Is this possible
We had a client requiring this facility, and used Amazon's service (the one used to thumbnail sites in Alexa.com). Try: http://www.amazon.com/gp/browse.html?node=236156011
-
Review customized wordpress site
Don't make errors Nah, seriously, set up a test folder and leave the live site alone until the test site works. Otherwise, if a search engine or client chooses *that* moment to view, they will get gobbledeguk. You *can* suppress errors, but the easiest way is to test separately.
-
CSS positioning help!
Spot on advice for above. CSS 'floats' will go to the screen edge if an enclosing outer div isn't specified. By creating an outer DIV with width but no height specified and the 'inherit' property used, it can be invisible, but is then set to 'hold' your floating elements. Designing with pure CSS is tricky if you're not accustomed to it. But generally, think of it like old-school 'tables', and apply the logic similarly, i.e. a TABLE contains CELLS, and each CELL is governed by the bounds of the TABLE. CSS is similar in that each DIV can be controlled by the DIV which surrounds it. Nesting elements inside a container is the only real way (without using specific absolute measurements) that you can control your layout. Always start by mapping your design out on paper or in a graphics app such as Photoshop, and then work out the positioning. It's a long, hard task if you try to do it blind, unless you are fluent!
-
displaying just the data from an array
What PHP version are you using? Foreach has been around since version 4. You may be able to subsitute a "while/each" loop for the foreach.
-
displaying just the data from an array
Serialzing data for MYSQL is great. We use this method for forms. Here's how you can get your data out... I'll comment it so you know what is going on... $query="SELECT * FROM colours"; // change the 'colours' to the table you have your array in $result=mysql_query($query); // perform the query $numrows=mysql_num_rows($result); // count how many results returned... if($numrows>0) // and if there's anything in the table, process it { while($colours_list=mysql_fetch_array($result)) // This loop checks for multiple sets of colours { $colours_set=unserialize($colours_list['colours']); // Unserailize the 'set' of colours foreach($colours_set as $single_colour) // This loop sorts one at a time each colour from the unserialized array { print $single_colour.', '; // prints the colour name, followed by a comma. } // end of 'for each' loop } // end of 'while' loop } // end of 'if numrows>0' loop if it's true else { print 'That table's empty!'; // Display a message that the table is empty } // end of 'if numrows>0' loop if it was false Hope that makes sense!
-
Contact Form dilemma
Depending on your server setup, most packages come with a CGI bin and a load of useful script. Alas, many don't support PHP. However, there's usually a FORMMAIL script in the CGI bin from Matts Scripts archive. Let us know more about your server details, and we'll guide you best. PHP is simple and quick, but CGI works perfectly well too. Also, it's more than possible to get a simple form sent via mailto, although there's no 'field required' control. But it makes sending a form simple, and sends literally a copy of all the form fields to email. That's 3 options so far available. But you *do* need to let us know what scripting is available to help any further.
-
site re design
You need to be very careful with statistics. RESOLUTION doesn't mean the page width... it means the display width. Subtract toolbars, navbars, scroll bars and the likes, and you'll realise that aiming for 1024 resolution means that ideally your site PAGE WIDTH should be around 800-900 pixels wide. Ergo, RESOLUTION does NOT equal visible page area. Now—also consider that most folk don't even REALISE they can change resolution from the usually default 800x600... and you start to realise that resolution needs a bit more thought than just 'averaging the population's settings'. Go carefully
-
The worst web designers in the world
There's a little room for improvement, but they're not all THAT bad... (hang on, need to put glasses on...)