almostbob 866 Retired: passive income ROCKS

perl can use c, perl exists
php can use c, php exists

most languages can use extensions written in other languages
but you wouldnt say html is included in the perl language just coz my html form posts to a perl script

asp is below countable,
the Mac of programming, ( huge amount of advertising, corporate pusch, sales at 2% )

almostbob 866 Retired: passive income ROCKS

your choice of yyyem or yyy% xxx and yyy being any numeric or calculated value, in css3 you can calculate

almostbob 866 Retired: passive income ROCKS

if going xhtml
also have to add <html xmlns="http://www.w3.org/1999/xhtml"> or other issues will arise

diafol commented: Blimey! That's new to me. Thanks. +5
almostbob 866 Retired: passive income ROCKS

I have WAMP installed on my desktop and do most of my work there but its still a pain... a visual css editor would be ideal but no one seems to be working in that area.

Did you get the private message? My sent folder doesnt show anything as having been sent so not sure it went through...

I dunno, turned off notification, brb,
*edit*
yup I do, go read it

almostbob 866 Retired: passive income ROCKS

you have at the moment, your table inside your <form>
position the form anywhere you want onscreen
there is no limit under css as to what elements accept positioning, and much more than 'align' and 'valign' to use

to avoid edit publish edit publish cycles get an ide(iintegrated development environment), they are a combination editor, localhost server and ftp program, many can do html xhtml php mysql and the supporting scripts and stylesheets
I use devphp (sourceforge is the source) on a thumbdrive as a portable ide, it works, edit view edit ok publish
wamp -Windows Apache Mysql Php, is another bundle

the attached image is a screenshot of the ide,

almostbob 866 Retired: passive income ROCKS

1em = 10px

If you don't know, don't guess
1 em = http://en.wikipedia.org/wiki/Em_(typography)

almostbob 866 Retired: passive income ROCKS

xhtml, is the next update after html4, there is html5 in the wings, but its been bumped over (the windows vista of html)

xhtml is slightly stricter in code standards
all tags must be lower case
all tags must be closed
<td></td> is fine
<img> <br> in not fine and must be <img /> <br /> any singelton tag
xhtml has the ability to handle multiple xml schema, can import xml versions of feeds, can do much
so when using xhtml you have to specify the xml schema in the <html> tag, thats as I understand it (or don't)
you may have noticed the styling of p.copy,
Just for fun I made the copyright notice remain in the same place always onscreen regardless of page scroll
&copy; is the html entity of the copyright sign, more circular than (C)
the styles are supposed to be commented, but there are very few old browsers still in use that dont understand <script> and <style> tags so it isnt as neccessary to comment out the data, but still good practice, 'nother headslap moment.
i dont know what <!-- @(#) $Id$ --> does, but stuff happens when I don't put it in, so I put it in
You can style the H elements and the table in the stylesheet, http://www.w3schools.com/css/ is a good tutorial, they wrote css standards
it has become so much easier to layout pages, without …

almostbob 866 Retired: passive income ROCKS
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- @(#) $Id$ -->
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1250"/>
<title>HalfFrogHalfPrince - Where I Call Home</title>
<style type='text/css'>
body {background:green; color:white; text-align:center;}
table {background:white; color:black; }
p.copy {font-size:75%; position:fixed; bottom:0; top:auto;}
input[type=text] { background:white; border:0; border-bottom:1px solid black;}
input[type=text]:hover { border:0; border-bottom:1px solid red;}
input[type=text]:focus { border:0; border-bottom:1px solid red;}
input[type=text]:active { border:0; border-bottom:1px solid red;}
</style></head>
<body>
<h1>Test Form</h1>
<br/><br/><br/><br/><br/>
<div class='form'>
<table bgcolor='white'>
<form method='post' action='register.php'>
<tr>
<td>Name:</td><td><input type='text' name='name' max='40'></td>
</tr>
<tr>
<td>Address:</td><td><input type='text' name='name' max='40'></td>
</tr>
</form>
</table>
</div>
<p class='copy'>Copyright &copy; <a href='store.html'>2010</a> by Phil Petree, All rights reserved worldwide.</p>
</body>
</html>

head slap moment, doh,

if your html page were xhtml,some css is not available in html4
sorry didnt specify,

form has method, typo

almostbob 866 Retired: passive income ROCKS

mmm, so... em is like % and px right? l have never actually heard of em, seen it used but never new what it meant... And is em just something like 10em instead of 10px when being used? Also, if l have n image, say a background and set how far from the top and left it is and pin it there and put all my text in it, will it still stay there on a mobile phone and wordwrap, expand and stay the same distance from the right hand side?

em(%) is the width of the M(any letter) in the users current basefont it scales around 1(100%), 0.8em(80%) is for unimportant text or footnotes 1.25em(125%) is for h2 1.5em(150%) for h1, 2em(200%) is doubly large
If you pin an element xxxem(%) from top/left it will stay there on a mobile phone or widescreen. If as well you set the width of the element as yyyem(%) it will auto adjust to mobile phone, windescreen, partscreen windows, and wrap the text within the width of the element
example a two column layout on widescreen, images in the top left corner of each column, each column being just under half screen width, with a margin between them and between the edge of the screen
|margin2%[image20%|text 27%|margin2%|image20%|text27%|margin2%|
you can modify the images in css, so they dont become invisibly small, and the text will then drop below them, preserving the layout in handheld, if not the actual text position …

almostbob 866 Retired: passive income ROCKS

the imagined target audience
the people who have widescreens,
are also the people who have handheld devices,
so sites have to display in all resolutions, if not exactly the same just becuase wordwrap will alter, at least readably.
W3C current best practice, using ems or %, and the layout will adjust to screen resolution, monitor size, user basefont settings
position elements by %
set a margin in % not a fixed width for the body, (example)
and it adjusts and looks correct on everything from handheld devices to 8foot projection screens
any use of fixed size fonts or elements will cause problems for the user, as noted fixed positioning pushes elements offscreen, and users do not scroll sideways, they leave. Fixed size text also causes problems. on this monitor 10px is .09inches high, illegible
scaled in em, fonts are always readable, and give the same appearance regardless

almostbob 866 Retired: passive income ROCKS

its screwed up
It works in a localhost on an ide
but does not work in IE FF Safari

<script type='text/javascript'>
function validatethis() {
var sel = document.getElementById('Is Vehicle Roadworthy with Full M.O.T.');
var sel2 = sel.options[sel.selectedIndex].value;
if(!(sel2 = 'Yes') ) { Alert('The vehicle must be roadworthy with full M.O.T'); return false;}
if(!(document.getelementById('checkboxx').checked ='on' )) { Alert('You must agree to the Terms and Conditions'); return false;}
return true;}
</script>

this code is better but still buggy
I only post it in case there is a guru with insight into what is wrong
I have to learn again

almostbob 866 Retired: passive income ROCKS

the only change I think to to make is in the display,
calculators typically fill from right to left as you punch numbers so

<input style='text-align:right;' type="text" size="25" length="25" value="" name="ans" style='text-align:right;background:beige;color:black;'>
almostbob 866 Retired: passive income ROCKS

php is so ubiquitous, that you get php scripting in free web hosts

almostbob 866 Retired: passive income ROCKS
<select name="myList">
<script type='text/javascript'>
var today=new Date();
var mydate=new Date();
if ( today < mydate.setFullYear(2010,0,14)) { document.write("<option value='1' id='1-20-2010'>Option 1</option>"); }
if ( today < mydate.setFullYear(2010,0,23)) { document.write("<option value='2' id='1-23-2010'>Option 2</option>"); }
if ( today < mydate.setFullYear(2010,0,28)) { document.write("<option value='3' id='1-28-2010'>Option 3</option>"); }
</script>
</select>

code explanation, compare todays date with the expirydate Year month(zero based Jan) day, and write the option if it hasnt arrived yet
If the date range should include the expiry date than change < (less than) to <= (less than eq)

code may not function on user browsers with javascript disabled
Serverside, in php asp, is a better approach, a very similar script, for 'must work' functions

almostbob 866 Retired: passive income ROCKS

then what is the use of DANIWEB...

Daniweb provides a forum, where somewhat experienced people can give some help to less experienced peoplea public servicethe protocols for Daniweb require that the less experienced person make some prior attempt to assist themselves

the expletive fword is likely to be deleted from this uri http://www.justfuckinggoogleit.com?query=what+does+php+stand+for

http://lmgtfy.com/?q=what+does+php+stand+for

almostbob 866 Retired: passive income ROCKS

if(!$homework_question) { echo ' http://php.ca/manual/en/book.mysql.php '; } else { echo 'Bad lotus,'; }

Will Gresham commented: :D +2
almostbob 866 Retired: passive income ROCKS

ASP

  • is Microsoft proprietary software
  • is expensive
  • runs only on MS servers 10-20%
  • prefers microsoft browsers
  • has a strict language

php

  • is open source
  • free
  • runs on apache unix linux windows MSservers (100%)
  • has hundreds of thousands of free premade scripts
  • works in MS browers Moz Browsers Apple browsers every browser
  • has a flexible language

"My friends like ASP" - The rest of the world uses php
http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html
ASP doesnt make the top20 programming languages

DaniWeb is php
If you want a forum for your site, its php
If you want a free script for anything, its php
If you want to pay a lot for tech support, its asp

almostbob 866 Retired: passive income ROCKS

I'll try
but you need to rethink the 'id's you have chosen

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>National Vehicle Movements - Booking Form</title>
<style type="text/css">
<!--
body { background-color: #1d255f; margin: 0; padding: 0; }
#apDiv1 {
position:absolute;
width:487px;
height:706px;
z-index:auto;
left: 50%;
top: 433px;
font-family: Arial, Helvetica, sans-serif;
font-size: 10px;
font-weight: bold;
text-align: center;
textarea-align: center;
background-position: center;
margin-left: -244px;
}
-->
</style>
<script type='text/javascript'>
function validatethis() {
if(!document.getelementById('Is Vehicle Roadworthy with Full M.O.T.').value='Yes') { Alert('The vehicle must be roadworthy with full M.O.T'); return false;}
if(!document.getelementById('checkbox').checked='checked') { Alert('You must agree to the Terms and Conditions'); return false;}
return true;}</script>
</head>
<body>
<div align="left">
<div id="apDiv1">
<form id="form1" name="form1" method="post" action="sendform.php" onsubmit='validatethis();'>
<table width="400" border="0" align="center">
<tr>
<td width="193" align="right">Company:</td>
<td width="197" ><input type="text" name="company" id="Company" /></td>
</tr>
<tr>
<td align="right">Name:</td>
<td ><input type="text" name="name" id="Name" /></td>
</tr>
<tr>
<td align="right">Phone Number:</td>
<td ><input type="text" name="phonenum" id="Phone Number" /></td>
</tr>
<tr>
<td align="right">Email Address:</td>
<td ><input type="text" name="email" id="Email" /></td>
</tr>
<tr>
<td align="right">Vehicle Make and Model:</td>
<td ><input type="text" name="vmam" id="Vehicle Make and Model" /></td>
</tr>
<tr>
<td align="right">Vehicle Reg./Ref. No.:</td>
<td><input type="text" name="vreg" id="Vehicle Reg." /></td>
</tr>
<tr>
<td align="right">Collection Address including Postcode:</td>
<td><textarea name="colladd" rows="4" id="Collection Address"></textarea></td>
</tr>
<tr>
<td align="right">Collection Contact Name:</td>
<td><input type="text" name="collconname" id="Collection Contact Name" /></td>
</tr>
<tr>
<td align="right">Collection Contact Number:</td>
<td><input type="text" name="collconnum" id="Collection Contact Number" /></td>
</tr>
<tr>
<td align="right">Delivery Address including Postcode:</td> …
almostbob 866 Retired: passive income ROCKS

huge numbers of homework questions
in most forums

almostbob 866 Retired: passive income ROCKS

@ is not a common character, it was chosen as the email delimter because it isnt common
I am not familiar with wordpress's setup so I'm not sure how many @ there will be or how close to physical line 430 the one with an error will be, or what the fix will be when you find it, sometimes the error is simple and visible
example: $address=fred@fredsite.com; that should be $address='fred@fredsite.com'; othertimes it makes no sense at all

It may be a corruption during file transfer or setup that you have to run the setup script again
it could be something ridiculously simple if you know wordpress
this should be posted at Wordpress.org help forums they have wordpress gurus

almostbob 866 Retired: passive income ROCKS

may not be physical ine 430, logical line 430
included files add lines
single logical lines if(condition) { code } may be spread over multiple physical lines
makes it harder to find coz it could be before or after line 430search for a @character in the file and then included files

see also wordpress.com helpscreens , it may be known,, with a fix or update

almostbob 866 Retired: passive income ROCKS

mark it solved, and give theMan, Manish, an attaboy :)

Lafreak,
this problem would be apparent if you got yourself a code highlighting editor
notepad++ nodepad2, any of hundreds of notepad replacements or ide-s

Wrapped in code tags to enable code highlighting on this page your code looks like this

$result = mysql_query("SELECT Artikelnummer, Artikelmerk, Artikelnaam FROM Product ORDER BY Artikelnummer;");
printf('<table class="adminblok">');
while($r = mysql_fetch_assoc($result))
{

printf("<tr><td><a href="#">%u</a></td><td></td><td>%s</td><td>%s</td></tr>",$r[ "Artikelnummer"], $r["Artikelmerk"], $r["Artikelnaam"]);

}
printf('</table>');
?>

and its easy to see something wrong in line 7
a code highlighting editor does the same with your local files while you work
not meant as a solution to this question, but it may save a lot of debugging later

almostbob 866 Retired: passive income ROCKS

W3Confusingum.net note:
PEBKAC ; text code errors have been superseded by id(number) errors,
use of id allows access to error handling using id=""
this error code replaced by ID10T error code :P

almostbob 866 Retired: passive income ROCKS

Dont use a popup window, it Will be blocked on more users than not as a potential malware threat
using css layers z-index
create a layer with
width /height of 100%
located at 0,0
z-index hugely >0
in css sit on top of all other elements, and containing the form
toggle the div/layer between
visible and focus by whatever onpage control/button/anchor you activate the form,
invisible by onsubmit for the form

almostbob 866 Retired: passive income ROCKS

which package
the cheapest package says scripting X
no scripting, no php

<html><body>
<?php echo date('M-d-Y');
echo '<p>Your IP Address is '.$_SERVER['REMOTE_ADDR'].'</p>'; ?>
</body></html>

to close the unfinished <p></p>
lowercase tags,
xhtml gets specific, might as well use good structure now

almostbob 866 Retired: passive income ROCKS
input[type=text] { background:white; border:0; border-bottom:1px solid black;}
input[type=text]:hover { border:0; border-bottom:1px solid red;}
input[type=text]:focus { border:0; border-bottom:1px solid red;}
input[type=text]:active { border:0; border-bottom:1px solid red;}

something like this in your <style> or external css file

what you want is doable in css

almostbob 866 Retired: passive income ROCKS

the google search is online hex ascii convertor

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>beauty salon</title>
<style type="text/css">
	.row1{
		background-image:url(images/banner.jpg);
		background-repeat:no-repeat;
	}
	.rowTC
	{
		border-bottom-color:#CD2C44;
		padding-bottom:5px;
		border-bottom-width:medium;
	/*	border-bottom-width:thick; */
	}
	.row
	{
		padding-bottom:5px;
		
	}
	.rowl
	{
		padding-top:5px;
	}
</style>
</head>

<body>
	<table width="743" border="0" cellspacing="0" cellpadding="0" align="center">
	  <tr>
		<td class="row1" colspan="2" height="106px">&nbsp;</td>
	  </tr>
	  
	  <tr>
		<td width="202" valign="top">
			<table width="202px" border="0" cellspacing="0" cellpadding="0" height="100%">
				  <tr>
					<td background="images/left-div.gif" height="9px"></td>
				  </tr>
				  <tr>
					<td class="rowTC" background="images/menu-home.gif">&nbsp;</td>
				  </tr>
				  <tr>
					<td class="row" background="images/menu-services.gif">&nbsp;</td>
				  </tr>
				  <tr>
					<td class="row" background="images/menu-fashion.gif">&nbsp;</td>
				  </tr>
				  <tr>
					<td class="row" background="images/menu-training.gif">&nbsp;</td>
				  </tr>
				  <tr>
					<td class="row" background="images/menu-news.gif">&nbsp;</td>
				  </tr>
				  <tr>
					<td class="rowTC" background="images/menu-about.gif">&nbsp;</td>
				  </tr>
				  <tr>
					<td class="row" background="images/menu-contact.gif">&nbsp;</td>
				  </tr>
				  <tr>
					<td  background="images/left-div.gif" height="9px"></td>
				  </tr>
				  <tr>
					<td background="images/left-im.jpg" height="175px">&nbsp;</td>
				  </tr>
				  <tr>
					<td height="175px" align="center" bgcolor="#CC3300" valign="top" class="rowl">
						<img src="images/im-khuyenmai.jpg" alt="met qua" longdesc="http://chan.com" />
					</td>
				  </tr>
		  </table>

		</td>
		<td width="535px" valign="top">
			<table width="100%" height="100%" border="1" cellspacing="0" cellpadding="0">
			  <tr>
				<td bgcolor="#FF6600" height="11px"></td>
			  </tr>
			  <tr>
				<td style="background:url(images/title-training.gif); background-repeat:no-repeat;">&nbsp;</td>
			  </tr>
			  <tr>
				<td height="105">
					<p>
						V?i s? gi?ng d?y c?a <b>T?ng Hoài Linh</b>, chuyên gia t?o m?u tóc <b>T?ng M? Liên (MyMy</b>) và toàn th? gia dình u?n tóc MyMy, chúng tôi r?t mong mu?n dóng góp cho ngành th?i trang tóc nhi?u th? h? các nhà t?o m?u tóc tr? qua các chuong trình dào t?o co b?n và chuyên sâu sau: 
					</p>
					<ul>
						<li>Co b?n (cho v? trí ph? th?): 3 tháng </li>
						<li>T?o ki?u tóc: 6 tháng (c?t, ch?i, nhu?m, du?i) …
almostbob 866 Retired: passive income ROCKS

I got mine at http://www.barcodephp.com/ self coding was in the too hard basket

almostbob 866 Retired: passive income ROCKS

We pretty much all do,
all built at least our own sites, this is technogeek heaven,
tecsheaven's thought is the pplace to start
look at a hosting package, get a domain name appropriate to your business, myname.com
many hosting packages have built in support for website layout tools, downloadable desktop programs
built in templates
etc
there are a bunch of WYSIWYG layout tools
my cheap n nasty host provides a huge quantity of software bundled in the package and off their control panel page
MS Office has frontpage, but it expects MS programs, does not always work in other people's pc, but if you already have Office then try it out
There are thousands of websites devoted to free and paid website templates, that you just put your text and images into,
thousands more sites devoted to free and paid web design software to let you start from nothing and chose how your site looks
or you can oldschool it and write your own html in any text editor,
strange but nobody seems to want to do that much,
--this-way-to-the-too-hard-basket-->

almostbob 866 Retired: passive income ROCKS

without looking at the css,
zero should have no dimension $0 = 0px = 0 apples = 0em = 0% = 0
zero, as 0(dimension), throws everything into quirks mode, quirks mode causes unreasonable failures
examine your css to find any 0px 0em 0% 0pt and change them to just 0
what is the "specific height" at which failure occurs

**edit
had a look, there are a few, may not be the cause, but removing unpredicatables helps

almostbob 866 Retired: passive income ROCKS

css has states for all elements as psuedo(?cantspell)classes
<element>
<element>:hover
<element>:active
<element>:focus
<element>:first-line
<element>:first-letter and others
active and focus mean pretty much the same thing but account for browser differences
selected='selected' for a <li> has nothing to do with presentation, it is a method of defining the default choice

li a { color:red; }
li a:hover { color:yellow; background:red; } //mouseover
li a:focus { color:white; background:green; } // roughly = Selected
li a:active { color:white; background:green; } // roughly = Selected

excusing disgusting colors
any parent child (anything) combination can be <element>

edit**

Focus is a pseudoclass

knew I can't spell that word

almostbob 866 Retired: passive income ROCKS

egg n bacon toasted on multigrain flax bread

almostbob 866 Retired: passive income ROCKS

possible search terms,
Crypt
md5
hash
encrypt my password field

and others

almostbob 866 Retired: passive income ROCKS

10 extra lines of code, unneccessary markup, to correct an error created by unneccessary markup
html KISS = "Keep It Small S*****"

almostbob 866 Retired: passive income ROCKS

tranchibinh,
simple answer, and like such answers, wrong
the point of the final nav element not being floated, is to break between nav and subsequent elements .center { float:left; } :: the subsequent element will continue on the same line, screwing up the menu
Not what the op requiresI know why I did what I did,Do you?

almostbob 866 Retired: passive income ROCKS

fishsticks

almostbob 866 Retired: passive income ROCKS

^ enjoyed the cookie
< does lots commando including watching movies
V shuddered at the image of < commando

almostbob 866 Retired: passive income ROCKS

I am a student myself (technically.. on a (multiple) gap year).

I have no problem helping people, regardless of what their reason for asking.

However, if I see a post with a few lines of text detailing a vague idea of what they want, I am less likely to want to try to assist compared to a post where the OP has got some description of what they want, their current code and what the problem is.

Basically, if the poster has shown some initiative and done some research themselves, I am happy to help, otherwise they get a nice link to www.lmgtfy.com :P

and the always popular if slightly bad taste justf**kinggoogleit.com the url probably wont work, the expected f word removed by the bad words processor

almostbob 866 Retired: passive income ROCKS

[oops]duplicate post[/oops]

almostbob 866 Retired: passive income ROCKS

let us base our treatment of animals on the treatment of animals by animals
Therefore,
we can eat them, alive if we want to,
mutilate them
parasitise them
lay our eggs upon their paralyzed bodies so our young can eat them alive
find any number of ways to make their existence painful to our benefit

observed objectively, and, compared to "mother nature"
chickens
cattle
sheep
antelope

every animal fixated upon by humans has it good, in a relative sense, we kill rapidly, stress hormones toughen the meat
if I were a thinking fly, I would prefer to be swatted - than be injected with a poison that liquefies my intestines and have them sucked out of my body before I had a chance to die

And Cwarnie old bean

I sorta disagree. My Definition - A clone is an organic product produced in a non natural way and without a god (like a machine but organic).

can you demonstrate any involvement by this god person in my birth,
Don't want rant, dogma et al, just want proof of your postulate.MS programmers left their names in the windows code
IBM programmers left pictures in chip masksWhere is the easteregg that the making stuff god left in the mask
every bacterium on the planet is the product, duplicate, of an adult cell : Define non natural,
and which one of these god things?

almostbob 866 Retired: passive income ROCKS

write your own content and avoid trying to steal content that somebody else has written

the copyright notice resides in the footer ?
pictures of the owner of what you are stealling?

or contact the site owner and ask them permission and/or a copy of the page to put on your server

to everybody else, put one of these in your menu include

<script type='text/javascript'>
if (window != top) { top.location.replace(self.location.href); }
</script>

break out of thieves' framesets,

blinkey commented: Thanks for the tip +0
almostbob 866 Retired: passive income ROCKS

screen captures are not much good
cant see what you may have done different to the example

div (p span whatever) order matters class='center' is a block element not floated, must come last
left right center in the html works per example
right left center in the html works
left center right in the html dont work - I know why I did what I did, pity I didnt tell you

almostbob 866 Retired: passive income ROCKS

There is a prior thread including much better instructions on permanently gzipping unchanging files to lower processing overhead,
I have it enabled, its brilliant, but I cant find the link, (and dont care coz "Mine is working" (I do just writing that coz I'm POed at myself))
as well as this on minify mod deflate gzip http://www.daniweb.com/forums/thread182518.html
the difference in apparent load times that can be made from optimized images, minified code, gzip/deflate, changing the load order of images & such, establishing subdomain names so that some elements can parallel download from

to make the most of http protocol abilities (2 files each from 3 domains concurrently)
sample code gzip enabled on all text files and images tweaked for size blank.jpg is a 1*1 blank image just for page load
the page loads, becomes functional before all the eyecandy is finished downloading

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- @(#) $Id$ -->
<head>
<title>HTML Template</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta name="Keywords" content="keywords" />
<meta name="Description" content="." />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
<link rel="stylesheet" type="text/css" href="stdStyle.css" />
</head>
<body>
<img src='blank.jpg' alt='www.realimgsrc.jpg' width='100' height='100' />
<img src='blank.jpg' alt='www.realimgsrc2.jpg' width='100' height='100' />
<img src='blank.jpg' alt='img.mysite.com/realimgsrc3.jpg' width='100' height='100' />
<img src='blank.jpg' alt='img.mysite.com/realimgsrc4.jpg' width='100' height='100' />
<img src='blank.jpg' alt='pic.mysite.com/realimgsrc5.jpg' width='100' height='100' />
<img …
almostbob 866 Retired: passive income ROCKS
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- @(#) $Id$ -->
<head>
<title>HTML Template</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta name="Generator" content="AlmostBob" />
<meta name="Keywords" content="keywords" />
<meta name="Description" content="." />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache" />
<style type='text/css'>
.left {width:40%; text-align:right; float:left; padding-right:1%; border:1px solid black;}
.right {width:40%; text-align:left; float:right; padding-left:1%; border:1px solid black; }
.center {text-align:center; border:1px solid black; }
</style>
</head>
<body>
<div class='left'>left 123 456 789 0 </div>
<div class='right'>right 123 456 789 </div>
<div class='center'>text 123 456 789 </div>
</body>
</html>
almostbob 866 Retired: passive income ROCKS

Nope, I have ADD, an insatiable curiosity and access to the interWebs.

Cool a great way to spend time
knowlege is power
edit -- Way cool --

almostbob 866 Retired: passive income ROCKS

I use 4 includes, and
stitch scripts into 1 file

enable mod_gzip or mod_deflate on html php asp script and css files and their size becomes about 25%,
style.css.php

<?php header ('content-type:text/css'); 
ob_start("ob_gzhandler"); ?>/*<style>*/
.rss-box { margin:1em 3%; padding:4px 8px; background-color:#ededed; border:2px dashed #7485CA; }
.topmenu { background-color:#f6f6f6; text-align:right; top:1px; left:auto; bottom:auto; right:1px; position:fixed; }
<?php ob_flush(); ?>

script.js.php

<?php header ('content-type: text/javascript');
ob_start("ob_gzhandler"); ?>
function movein(which,html){
which.style.background='turquoise'
window.status=html
}
function moveout(which){
which.style.background='#d4d0c8'
window.status=''
}
<?php ob_flush(); ?>
almostbob 866 Retired: passive income ROCKS

match an md5 code, not a name {as above}
the validation code and name has to

  • exist in the database
  • match
  • come from the same $_server['remote_addr'] as the original registration, stored in the database
  • be received within a certain time of the registration

and

  • include a remote update script that checks for correct users and disables features on a given schedule, http://www.daniweb.com/forums/post785006-2.html
    1. if the update script is not run
    2. if the update script is run from 2 ip
    3. if the md5 exists and name doesnt wipe tha datafiles

i'm sure there are other ideas beyond these
some of them less/more nasty

almostbob 866 Retired: passive income ROCKS

on my screen it is a narrow stripe in the middle, this is 34inches wide, you can have a lot of fun with lcd screens
so there is a lot of wasted realestate, on a small screen, a part screen window or a handheld device layouts dependent on fixed sizes tend to fall over
Have discovered that nobody wants to have to scroll sideways to read the page, they will follow it down forever, but not sideways
images should remain px, but other elements should either be left unsized to occupy the entire remaining space, or sized in % to share self adjust.
This post, reflows in its container if you resize the window, laid out in % the whole page will reflow its text in different window sizes

as an
example
this
block of
text
will not
reflow
and
looks
strange

almostbob 866 Retired: passive income ROCKS
#CV { position:absolute; left:253px; top:177px; width:704px; z-index:3; padding-left: 20px; padding-right: 20px; background-color: #D4CFBB; color: #252525; font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-weight: bold; }
body { background-color: #252525; }
a:link { color: #D4CFBB; }
a:visited { color: #D4CFBB; }
a:hover { color: #D4CFBB; }
a:active { color: #D4CFBB; }
#cv a { color:blue; }
#cv a:active { color:red; }
#cv a:hover {color:yellow; }
#cv a:visited {color:green; }

cascading style sheets
an element as a child of another element is styled something like the above, excluding lousy color choices. Links inside #CV should have the color attributes shown even if they are inside a div p

All those fixed pixel sizes may not look as intended on any other than the pc on which you are laying out the page
at other resolutions the layout will push offscreen or be a narrow column in the middle,
current best practice for screen element dimensions is % and em, an element 96% wide leaves a margin on all screen sizes and all window sizes, and element 966px wide does not
fixed fonts may become invisibly small or too large, or may not be visible by the user due to vision problems
ems or % adjust around basefont settings on the users pc so are always visible,
10px on this monitor is 0.09inch high, not really readable

wieas commented: Thanks, AlmostBob! +0
almostbob 866 Retired: passive income ROCKS

often these images are better with transparent text (gif or png)
instead of loading a second image for the hover state, you change the background color

.thisstyle {background:url('image.url') #000ff no-repeat; }
.thisstyle:hover {background:url('image.url') #0ff00 no-repeat; }

the selected background color shows as the text color through the transparent text.
Not a big deal for one background image, a big deal for 100 background images and four possible states
element
element:active
element:hover
element:visited
it also keeps the css short, only a single td style needs to be defined