prosoxi.com | Archive | September

Archive | September, 2008

How to convert HTML tables to CSS

 

How to convert HTML tables to CSS

After explaining in our previous article why it is generally a good idea to get rid of HTML tables it is time to give some practical advise on how to actually convert the tables to tableless HTML and CSS code. In this article we describe a couple of conversion methods that are generic and can be applied to any web page.

First we need to decide which HTML tag or tags could be used to replace the table elements – TABLE, TR, TD (for simplicity’s sake we will ignore other seldom used table elements like THEAD, TFOOT, TH and TBODY). We choose the replacement tag based on the following criteria:

  • The replacement tag should have as few side effects as possible, i.e. we do not want it to affect the style of the inner tags and text, because we will be using CSS styles to define the appearance of the enclosed tags and text.
  • The replacement tag should have a block style just like the replaced TABLE, TR and TD tags. Continue Reading

Posted in CSS, HTML - XHTML0 Comments

Create PDF files from Printer

 

  1. first download PDF printer driver 
    http://www.adobe.com/products/acrobatpro/tryout.html or other programm you want
  2. After install the programm create automaticaly PDF Printer Driver 
  3. Open word file or image or explorer anything programm with print
  4. Choose PDF Driver and press OK
  5. Save the document File As… 
  6. And The PDF is ready

Posted in Graphics, Windows0 Comments

plesk change permissions on files created by apache

make safe-mod from domain setup OFF

Posted in PHP, Plesk0 Comments

ZigoEngine – Fuse Kit on complete call function

this.my_movie.alphaTo(100, .5, ‘easeOutCubic’, .5, “playMovie”)

function playMovie():Void{
gotoAndPlay(2)
}

pop_prod.tween(“_x”,194, 0.8, “easeOutCirc”, 0);
pop_prod.alphaTo(0,0.8,”easeOutCirc”,1,
{ startscope:this, startfunc:”closenik()”, scope:this, func:”closenik()” }
);

Posted in Flash0 Comments

Linux command Reboot – Restart linux

Command Library
NAME
halt, reboot, poweroff – stop the system.
SYNOPSIS
/sbin/halt [-n] [-w] [-d] [-f] [-i] [-p] [-h]
/sbin/reboot [-n] [-w] [-d] [-f] [-i]
/sbin/poweroff [-n] [-w] [-d] [-f] [-i] [-h]
DESCRIPTION
Halt notes that the system is being brought down in the file /var/log/wtmp, and then either tells the kernel to halt, reboot or poweroff the system.

If halt or reboot is called when the system is not in runlevel 0 or 6, in other words when it’s running normally, shutdown will be invoked instead (with the -h or -r flag). For more info see the shutdown(8) manpage.

The rest of this manpage describes the behaviour in runlevels 0 and 6, that is when the systems shutdown scripts are being run.
OPTIONS

-n
Don’t sync before reboot or halt.
-w
Don’t actually reboot or halt but only write the wtmp record (in the /var/log/wtmp file).
-d
Don’t write the wtmp record. The -n flag implies -d.
-f
Force halt or reboot, don’t call shutdown(8).
-i
Shut down all network interfaces just before halt or reboot.
-h
Put all harddrives on the system in standby mode just before halt or poweroff.
-p
When halting the system, do a poweroff. This is the default when halt is called as poweroff.

Posted in Linux0 Comments

How to restart plesk from command

RESOLUTION
This can be done using the following commands when logged in as root via SSH on the Plesk server:

Linux Plesk versions:

# /etc/rc.d/init.d/psa stopall
# /etc/rc.d/init.d/psa start

FreeBSD Plesk, versions prior 8.1:

# /usr/local/psa/rc.d/psa stop
# /usr/local/psa/rc.d/psa start

FreeBSD Plesk since 8.1 version:

# /usr/local/etc/rc.d/psa.sh stop
# /usr/local/etc/rc.d/psa.sh start

Posted in Plesk0 Comments

Enable 3d Wall Cooliris on your site

Enable your site with Media RSS

Media RSS is an open standard for syndicating multimedia content. It extends RSS 2.0 to provide additional information, such as richer thumbnail and image metadata. Media RSS allows Cooliris (formerly known as PicLens) to understand the location of the media files that are displayed in the wall, as well as which thumbnails link to which high-resolution images. Click here for a complete description of Media RSS. To Cooliris enable your site: Continue Reading

Posted in HTML - XHTML, Programming1 Comment

Css LI UL rollover effect


CSS
#rollover {
width:150px;
margin:auto;
}
Continue Reading

Posted in CSS, HTML - XHTML0 Comments

My-sql comma values query

Show values 1,2,22,11

mysql_select_db($database_cdl_cms, $cdl_cms);
$query_photos = “SELECT * FROM table WHERE ex_ID IN (1,2,22,11)”;
$photos = mysql_query($query_photos, $cdl_cms) or die(mysql_error());
$row_photos = mysql_fetch_assoc($photos);
$totalRows_photos = mysql_num_rows($photos);

or
LIKE ‘%”.$_GET['cc_id'].”%’

Posted in MySQL0 Comments

Mysql ORDER by Random

“SELECT * FROM talbe ORDER BY RAND()”;

Posted in MySQL0 Comments

Domain Finder

Domain Finder Tool by Truste.gr

read more for domains

Advertisers

Wedstar all about wedding - gamos - γαμος
Κατασκευή ιστοσελίδων
Domain Names | Hosting

Adds