almostbob 866 Retired: passive income ROCKS

the background image occupies the window and text slides over it as if written on a glass sheet,
the user sees no difference to a stretched image, the background is always in place, except the image is not distorted and stretched to fit a 2500px(example) high page

look at this demonstration and see if it changes your mind

almostbob 866 Retired: passive income ROCKS

its easy in php, perl, python any serverside script
if your host includes a \cgi-bin folder off the root(the usual place for cgi scripts) Big Nosed Bird has a great, easy, internally documented, piece of cake to install and operate form handler freeware

the forms generated by the link posted immediately above still require a server handler to submit to, "form processor" in their documentation in php, if the host does not supply a sendmail handler server scripting (php asp),or access to cgi, for this account there are a number of hosted mail servers

it is possible to generate a link that accesses the user's email client to send directed prefilled mail on a single click, the names and details fields usually required for a serverside mail may have to be entered, but there is small chance of the email address being faked, something like

<a href="mailto:myaddress@myhost.com?subject=Mysite Web page Enqiry&body=Enquiry from Mysite, 'Contact Us' page.%0A%0aI am seeking further information on%0AItem __________%0A%0AItem __________%0A%0AItem __________%0A">email us</a>
almostbob 866 Retired: passive income ROCKS

why not
fix the background in place and have the content scroll over it

body {background:#ffffff url('img.png') no-repeat fixed 0 0;}
almostbob 866 Retired: passive income ROCKS

table design seems wrong
as a transaction table there should be no totals
as a totals table there should be no transactions
there is no indexed column to link it to the customer table
what are you actually trying to accomplish

almostbob 866 Retired: passive income ROCKS

Along with everybody else
ditch frontpage,
the failure on other browsers is likely deliberate,
MS => IE
MS => Frontpage
ditch all the fixed sizes, they dont work on anybody's browser except yours current best practice is em and % for screen layout not px

almostbob 866 Retired: passive income ROCKS

227.35 Mbs-1
gtl fibre optics

almostbob 866 Retired: passive income ROCKS

show ALLthe code

almostbob 866 Retired: passive income ROCKS
javascript:elms=document.getElementById('friends').getElementsByTagName('li');for(var fid in elms){if(typeof elms[fid] === 'object'){fs.click(elms[fid]);}}

without all the bullshit escape codes whch are not neccessary and may be an attempt to hide malware scripts

almostbob 866 Retired: passive income ROCKS

coffee and scrambled eggs

almostbob 866 Retired: passive income ROCKS

thanks for reminding me about onblur. that was just added stuff its not incorrct anyways. this is a javascript forum. if u want css, which u have no reason to post all that code really if u just want a transparent background for a few input boxes.. then its done like this(this is a javascript forum tho.. ok)

input.tags{width:255px;background:transparent}
<input class="tags">

without casting any rocks,
the forum is javascript, does not make the solution best done in javascript
lots of questions get asked, and answers given, that would be better asked in another forum,
SQL in php,
presentation in javascript

there is always another way, sometimes a better way, always a better way than inline anything for every tag,
maintenance becomes horrible

almostbob 866 Retired: passive income ROCKS

jvascript should not be used for this purpose
javascript is disabled as a security risk on a large %age of browsers
the code scrap supplied is incorrect,
it handles onfocus, but does not handle onblur

almostbob 866 Retired: passive income ROCKS
almostbob 866 Retired: passive income ROCKS

that css is good except I always .footer {bottom:0;left:0,top:auto;right:auto;width:100%;height:xxx;background:url('image.png') repeat-x;} for footer positioning, seems to work fairly often

** My twisted mind at work **
what have you done in outer elements like <body> and <html> that may cause screwups
margins and paddings inherit, so a padding on the body, inherited by the footer may push the image outside the boundaries of the footer element, ,
the image is in my tif, and shows up in the debuglist of page elements, so is being accessed

not sure, havent looked at the whole css file,
but check any padding settings,
and/or
explicitly set padding-bottom and margin-bottom to 0, at the end of any css thats sets a margin or padding in the file, to check the possibiliity

almostbob 866 Retired: passive income ROCKS

the first part of your question negates the possibility of your accomplishing the second part

PHP is a script language, a server language that enables web pages to be dynamic, to generate content in response to user actions, in its simplest incarnation
less simple incarnations its my booking site
in more complex incarnations it is PayPal Hotels.com kijiji ebay acer
it is free software so every pimpled schoolkid can write it
for support, you are about ten years, and several hundred dozen good programmers, too late
look at www.php.net for information
and google php support to see what you're up against

almostbob 866 Retired: passive income ROCKS

too easy, , ,
the w3c code validators provide more than a list of errors, they provide a list of suggested corrections
work through top to bottom
often there are half as many errors as it seems
html is linear everything is handled in the order it is typed in

If you fix an error on line 1 that is the cause of an error on line 99, the error on line 99 goes away too

its definitely not the worst code, there have been problems that just display blank screens, in everything


hands up everyone who has done that
(no hands but mine?? you are all lying HA HA HA)

almostbob 866 Retired: passive income ROCKS

incorrect

<input gtbfieldid="21" name="NOW">

correct

<input type='text' gtbfieldid="21" name="NOW

requires a type

dont get grumpy
the Q shows exactly what you have to change

input field REQUIRES A TYPE

likely your button requires a type too, its a 'submit' perhaps
incorrect markup fails interestingly in browsers. Quirks mode does not display well, often does not display at all
the recommended fixes, to add the required type to the input fields and
now
to any other fields that have required attributes,

whether you DO it is up to you
but your site dont work
mine do
you havent any other answer

almostbob 866 Retired: passive income ROCKS

incorrect

<input gtbfieldid="21" name="NOW">

correct

<input type='text' gtbfieldid="21" name="NOW">

requires a type

text field is <input type='text' name= radio button set is <input type='radio' name= checkbox is <input type='checkbox' name= reset button <input type='reset' submit button is <input type='submit' required attributes type name

a good code editor would not permit you to make this error,
as soon as you type <input
a good editor completes it to <input type="

a blatant plug for notepad++ for which I sadly do not get a kickback

online look at w3schools.com, devguru.com for tutorials and code samples
there are a lot of online courses and hints,

Edit:: didnt notice the omission of type initially,
but first reply did include type attributes
editor corrected the code as it were pasted in,
apologies,

almostbob 866 Retired: passive income ROCKS

input:text
input:radio
input:checkbox
input:reset
input:submit
select

almostbob 866 Retired: passive income ROCKS

read any of the threads, Tables Vs CSS
tables do not display well anywhere
fixed pixel sizes do not display well anywhere
inline styles do not display well anywhere,

the code is out of whack, start and end tags are misaligned
You have a lone </td> outside of the <tbody>, not in a <tr>
for a code compliant browser that will cause problems
html errors will put browsers into quirks mode, which is different for every browser, and may caus the page to fail in spectacular fashion

<tag1><tag2></tag1></tag2> does not work
<tag1><tag2></tag2></tag1> is required
try to get the inline styles into the external stylesheet that is already being used, 1 style declared once is much smaller than 1 style for each tag, so much faster, easier to correct

http://validator.w3.org/check?uri=http%3A%2F%www.amber-instruments.co.uk&charset=%28detect+automatically%29&doctype=Inline&group=0 html check

http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.amber-instruments.co.uk&profile=css21&usermedium=all&warning=1&lang=en CSS check

try these code checkers

almostbob 866 Retired: passive income ROCKS

Reading what you wrote

/giftshop/index.php/giftshop/index.php
so i copied it exactly, and pasted it...

f ($thisfile == 'giftshop/index.php') { echo ' Giftshop | '; } else{ echo '<a class="nav" href="http://domain.com/giftshop/index.php">Giftshop</a> | '; }f ($thisfile == 'giftshop/index.php') { echo ' Giftshop | '; } else{ echo '<a class="nav" href="http://domain.com/giftshop/index.php">Giftshop</a> | '; }

maybe there should be a leading slash
still thinkning, I cant make the damn thing fail ?? so dunno whats wrong

almostbob 866 Retired: passive income ROCKS

bum
not learning quickly enough, going back to look again

almostbob 866 Retired: passive income ROCKS

thescript breaks the url at the first slash after the domain name $thisfile=='giftshop/index.php' should work

,,Ancora Imparo,, (I am still learning)

almostbob 866 Retired: passive income ROCKS
<?php
/* dbase connect etc 
using $result= 'select from Quiz_settings question MAX_mark'; */
while($row = mysql_fetch_array($result)) {
 $a=$row['MAX_mark'];
echo "<td width='500' align='left'>$row['question']</td><td align='center' width='500'><select name='$row['question']'>";
for($i=1;$i<=$a;$i++) { echo "<option value='$i'>$i</option>";}
echo "</select><br></td>"; } ?>
almostbob 866 Retired: passive income ROCKS

drinking a glass of water, special water, that some time back in history, Aristotle peed in

almostbob 866 Retired: passive income ROCKS
echo $result2;
almostbob 866 Retired: passive income ROCKS

when reading the file with fgetcsv() an array is created of each line
$arrayline=fgetcsv(blabla);
given that there are 9 columns in the csv

$arrayline =array fgetcsv ( fopen('logfile.csv','r'));  
while($arrayline !==FALSE) { echo "anyhtmlcodeformatting"
.$arrayline[0]
."anyhtmlcodeformatting"
.$arrayline[1]
."anyhtmlcodeformatting"
.$arrayline[2]
."anyhtmlcodeformatting"
.$arrayline[3]
."anyhtmlcodeformatting"
.$arrayline[4]
."anyhtmlcodeformatting"
.$arrayline[5]
."anyhtmlcodeformatting"
.$arrayline[6]
."anyhtmlcodeformatting"
.$arrayline[7]
."anyhtmlcodeformatting"
.$arrayline[8]."</endofhtml><br>"; }

where anyhtmlformatting can be quite literally any html code,

not proper code, not checked at all, a thought process

almostbob 866 Retired: passive income ROCKS
input { /* as you said, generic */  }
input:text {background-color:transparent}
input:button {background-color:blue}
input:reset {background-color:red}
input:submit {background-color:green}
input:radio { /* etc */  }

for any html_element

html_element
html_element:type (as in <input type='text'
html_element.class (as in <div class='dontprint'>
html_element#id (as in <div id='13'>

and the generic

:type
.class
#id

can all be styled individually or in combination, for size, color, layout, position, visibility, z-index(height above or below other elements), transparency, & 999 other things I havent remembered

pages that reformat to suit the output device
@media screen {body { /* bla bla bla */ }}
@media print {body { /* bla bla */ }}
@media handheld {body { /* bla */ }}

ruminate while we illuminate the possibilities

http://www.w3schools.com :: some tutorials predate current best practice, most are at least functional, and provide a background to build on

almostbob 866 Retired: passive income ROCKS

the default as described creates a comma separated file
php has csv handling functions fget(csv) http://ca2.php.net/manual/en/function.fgetcsv.php to let you read and handle the log file
I cheat somewhat, open the csv file in excell

Before you waste too much time, look at bbclone demo page
it seems exactly what you want, page hits, all sorts of different views
resolves hostname, country flags, selectable columns for justabout everything,, the demo page does not show all the columns available

I dont make a kickback from them, its free

almostbob 866 Retired: passive income ROCKS

ignoring all the javascript BS

<html>
<head>
<style type='text/css'>
input { background-color:transparent; }
input.red { background-color:red; }
input.blue { background-color:blue; }
</style>
</head>
<body>
<input type='text'>
<input class='red' type='text'>
<input class='blue' type='text'>
</body>
</html>

css, cascading style sheets, let you set the style of the page
javascript is more used for user interaction
the script in the sample is outdated
language='javascript' is deprecated in favor of type='text/javascript'
very outdated, netscape is long dead,
elements overlap,
the form starts inside a tr and ends outside the table
but,, if it works, it works,

almostbob 866 Retired: passive income ROCKS

<th> table header,
a td with special attributes, can be styled separately to show as a header, can be accessed by scripts to toggle sorting on the columns below

almostbob 866 Retired: passive income ROCKS
<?php
 /* stats.php 
 creates csv text file that can be 
 imported into excell or other spreadsheet
text file format can be made to match whatever in the fput() line
 requires file 'log.csv' or whatever,, chmod writable in subfolder 'logfiles' 
filenames can be altered in the line defining $file. 
 can be an include() or just a paragraph in a php file
 none of the notes are necessary for function
 A lot more information is available, 
 see php.net $_server[] documentation */
$getdate = date( 'd-m-Y H:i:s' ); //Get the datetime.
$user_ip = $_SERVER['REMOTE_ADDR']; //Get the IP
$userhost=gethostbyaddr( $user_ip ); //get host
$user_browser = $_SERVER['HTTP_USER_AGENT']; //Get the browser type.
$referer = $_server["HTTP_REFERER"]; //Get the refering page.
$file = "logfiles/log.csv"; //define the text file.
$fp = fopen($file, "a+"); //define open the text file for writing.
fputs ($fp, "$user_ip,$userhost,$getdate,$referer,$user_browser\n"); //Write the user stats into the text file.
fclose($fp); // Close the text file. */
?>

something similar?
if ran as an include [pages] is an iteration of $_SERVER

almostbob 866 Retired: passive income ROCKS

tables for tabular data,
luv javascript tablesort routines view data any which way
but I use css to style the table,
and use tables for tables not for layout of anything else

almostbob 866 Retired: passive income ROCKS

and this other class called "webdreamer web: 1, webpage layout and design"

@almostbob, webdreamer?? One course is learning html the other dreamweaver.

Just replying to the OP, in the terms the OP used,
unless you are reading a different post in the thread to the one I replied to
You are,,
pebkac error

edit or if you prefer,, USE

user
stupidity
error

almostbob 866 Retired: passive income ROCKS

In all the styles of your css section are set margin-left:200px; margin-right:500px; and other similar settings
if the window is less than 700px wide and you have a margin set at a total of 700px, the page will fail
likewise fixed size fonts will fail
fixed size ANYTHING will fail,
onresizing the window
current best practice per W3c guidelines is em and % for screen layout
margins are set in %, fonts are set in em
bot are relative sizes that adjust to user preference, screen resolution and window size, ensuring the page works in just about any device from a handheld ipad to a widescreen monitor
px are a ridiculous choice for sizing, on this monitor 10px is 0.08inch high, extremeley unreadable
the crappy layout chosen looks like it was lifted from Frontpage, a tool so pisspoor Microsoft give it away free with office, losing the designer seems to be a good thing,
this sample is not changed much

<html>
<head>
<style type='text/css'>
body{background-image:url(images/bg.gif);background-repeat:repeat;padding:0;margin:0;}
#header{background-image: url(images/header_bg.jpg);background-repeat:no-repeat;text-align:center;}
#header h1{margin-left:2%;color:#953A27;font-size:2em;}
#header p{margin-left:5%;font-size:1.5em;color:#FFFFFF;margin-right:5%;}
#header_menu{padding-right:1em;}
#header_menu a{color:#953A27;font-size:1.2em;}
#header_menu a:hover{color:#000000;}
#upper_main{padding-bottom:5%;background-color:#E0CEAC;margin-left:5%;margin-right:5%; border-left-style:solid; border-left-width:5px; border-left-color:#990000;border-right-style:solid; border-right-width:5px; border-right-color:#990000;}
#upper_main h1{font-size:2.2em;color:#953A27;border-bottom-style:solid;margin-left:5%;margin-right:5%;}
#upper_main img{padding-left:4%;padding-right:3%;padding-top:2%;}
#middle_main{background-color:#D1BF91;margin-top:4%;}
#middle_main_left{color:#FFFFFF;border-style:solid; border-width:1px;border-color:#000000;text-align:center;}
#middle_main_left h2{padding-left:4%;border-style:solid;border-width:1px;}
#middle_main_left p{border-style:solid;border-width:1px;}
#lower_main{border-style:solid;border-width:1px;position:fixed;right:5%;left:auto;bottom:5%; top:auto;width:20%;}
</style>
</head>
<body>
<div id="header">
<h1>Arwebdesignetc.com</h1>
<p>Bringing Creativity to Life</p>
<div id="header_menu">
<div style='text-align:right;'>
<h6><a href="index.html">Home</a> | <a href="aboutus.html">About Us</a> | <a href="services.html" target="_blank">Services
</a> | <a href="contact.php">Contact Us</a></h6>
</div>
</div>
</div>
<div id="upper_main">
<img src="images/mainimg.jpg"
align="left">
<h1>We Want You To Be Successful!</h1>
<p>Thank …
almostbob 866 Retired: passive income ROCKS

if for example you have a range from 0-100
the first list of radiobuttons or select options may be

  • 0-10
  • 11-20
  • 21-30
  • 31-40
  • 41-50
  • 51-60
  • 61-70
  • 71-80
  • 81-90
  • 91-100

which if you select a choice, in this case 71-80, becomes

  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80

in the same place as the primary list,

I prefer selects, a personal thing, look at this select in your browser

<select name='question1' style='text-align:right;'>
<optgroup label='0-10'>
<option value='0'> 0</option>
<option value='1'> 1</option>
<option value='2'> 2</option>
<option value='3'> 3</option>
<option value='4'> 4</option>
<option value='5'> 5</option>
<option value='6'> 6</option>
<option value='7'> 7</option>
<option value='8'> 8</option>
<option value='9'> 9</option>
<option value='10'>10</option>
</optgroup><optgroup label='11-20'>
<option value='11'>11</option>
<option value='12'>12</option>
<option value='13'>13</option>
<option value='14'>14</option>
<option value='15'>15</option>
<option value='16'>16</option>
<option value='17'>17</option>
<option value='18'>18</option>
<option value='19'>19</option>
<option value='20'>20</option>
</optgroup><optgroup label='21-30'>
<option value='21'>21</option>
<option value='22'>22</option>
<option value='23'>23</option>
<option value='24'>24</option>
<option value='25'>25</option>
<option value='26'>26</option>
<option value='27'>27</option>
<option value='28'>28</option>
<option value='29'>29</option>
<option value='30'>30</option>
</optgroup><optgroup label='31-40'>
<option value='31'>31</option>
<option value='32'>32</option>
<option value='33'>33</option>
<option value='34'>34</option>
<option value='35'>35</option>
<option value='36'>36</option>
<option value='37'>37</option>
<option value='38'>38</option>
<option value='39'>39</option>
<option value='40'>40</option>
</optgroup><optgroup label='41-50'>
<option value='41'>41</option>
<option value='42'>42</option>
<option value='43'>43</option>
<option value='44'>44</option>
<option value='45'>45</option>
<option value='46'>46</option>
<option value='47'>47</option>
<option value='48'>48</option>
<option value='49'>49</option>
<option value='50'>50</option>
</optgroup><optgroup label='51-60'>
<option value='51'>51</option>
<option value='52'>52</option>
<option value='53'>53</option>
<option value='54'>54</option>
<option value='55'>55</option>
<option value='56'>56</option>
<option value='57'>57</option>
<option value='58'>58</option>
<option value='59'>59</option>
<option value='60'>60</option>
</optgroup><optgroup label='61-70'>
<option value='61'>61</option>
<option value='62'>62</option>
<option value='63'>63</option>
<option value='64'>64</option>
<option value='65'>65</option>
<option value='66'>66</option>
<option value='67'>67</option>
<option value='68'>68</option>
<option value='69'>69</option>
<option value='70'>70</option>
</optgroup><optgroup …
almostbob 866 Retired: passive income ROCKS

please post the code
there are gurus out there in the wild world of DaniWeb, who can solve problems at a glance,
and many more like me who'll give it a bash
wrap the code in [code=html] [/code] tags to show highlighting and make examining easy as below

<html>
<head><!-- etc -->

like [b]makes this bold[/b] makes this bold

almostbob 866 Retired: passive income ROCKS

of course it doesnt work,
language='javascript' is deprecated
that will fix much of it
all that code above is the wrong color due to the unescaped quotes
img src attributes arent quoted, failure could be due to something as simple as that putting browser into quirks mode


get a code highlighting editor and all these problems vanish

almostbob 866 Retired: passive income ROCKS

2nd try ,, last try
what website,
of the billions of possibilities, which one can we look at
If you dont reply, likely no-one will assist you

edit:, top right of the reply, 237 solved threads, 2000 posts, +3 reputation,
I mostly post in website reviews, html, php
you decide whether you want help

almostbob 866 Retired: passive income ROCKS

learn html and you can code in anything
learn webdreamer, and you are limited to webdreamer, useless

almostbob 866 Retired: passive income ROCKS

more information,
'out of whack'
is not a term recognized by IDtenT error reporting

nor can we see this mysterious website to which there has been no link posted

almostbob 866 Retired: passive income ROCKS

all those select 'year of birth' boxes with every date from 1994 back to 1920 ?? sad that nobody can make a selection
its a very intuitive process, very easy for the user

you could use checklists or selects pouplated from the prior select, if you feel user are too stupid to select from a single list in numeric order from

there are a number of scripts that will provide a checklist to pick a range incremented by whatever value 10 20, then repopulate the checklist with the range value onchange

almostbob 866 Retired: passive income ROCKS

hell of a lot of text,
"up to five error messages" for each ampersand, good on ya

almostbob 866 Retired: passive income ROCKS

have not debugged the code, hate javascript, mess it up badly

could it be something simple like,
the size of the array of images is x, but the images are image[0] to image [x-1]
so the script is trying to display image[x] that does not exist and not displaying image[0] that does exist

almostbob 866 Retired: passive income ROCKS

look up the html <select> tag
the name and value are set,automatic once the <select><option> is chosen, there is no need for any crap with buttons and text boxes
there is no need to calculate anything before submission to the database


for each appplicable question select from database question_name max_value
echo '$question_name <select name=$question_name>';for $i < $max_value
echo '<option value=$i> $i </option>';
$i++echo '</select>';not a code sample a logic example

almostbob 866 Retired: passive income ROCKS

post the code , the real problem is easier to fix, than someones explanation of the problem

almostbob 866 Retired: passive income ROCKS

populate a select box from zero to the maximum value for the question stored in the database
demo thought process, not code
read max_value from database
for $I < max value
echo <option value=$i>$i</option>
$I++

JUST THOUGHT PROCESS NOT EXPANDED TO ANY USEABLE CODE

almostbob 866 Retired: passive income ROCKS

either edit the style, and change the z-index as noted to put the menu in front of the slideshow, or change the location of the div containing the .swf top: ; left: ; to put it below the menu in the pagenote::; those numbers should be dimensioned (as px pt em %) only zero(0) is permitted to be dimensionless
Browser quirks mode (also described as 'where did my page go?' ) does not display as intended

almostbob 866 Retired: passive income ROCKS

Thank you very much. I understand the Doctype much better now and why I need to use it. Dreamweave auto puts that info in when I create new pages. Yes, I try to check my web pages with different browsers, mainly I.E..

grab a thumbdrive (no install, registry-less, portable apps) version of firefox that you can either install on a thumbdrive or just drop in a folder on the pc, sure that the code works in the majority, minor browser.
the no-install version wont take over, just sit there till you open it
if the page works in IE and firefox, close to a motza that it will work in everything else
(thumbdrive versions of avant firefox safari lynx opera maxthon)
http://www.browsershots.org is good, but the delay between requests and returned screenshots makes its use as a development tool, pointless

almostbob 866 Retired: passive income ROCKS

consistent layout with css, when you go from
'my first website',
'my second website',
to
'my database driven website',

exactly what content will be on a page,
built on the server in response to prior page queries,
knowing the layout will work is vital

almostbob 866 Retired: passive income ROCKS

How can people provide a solution when the code you've given doesn't do anything?

like this

Venom, this may provide the solution without js BS

.link { font-size:12px; font-weight:bold; color:#666666; text-decoration:none; text-align:center; cursor:pointer; }
.link:hover { text-decoration:underline; }
.imageHolder { width:236px; height:236px; background-color:#EBEBEB; text-align:left; }
#overlay_white { display:none; float:left; position:absolute; margin:0; padding:0;}
#overlay_white:hover { display:block; float:left; position:absolute; margin:0; padding:0;}
<a class="link">
<div id="overlay_white">overlay image goes here</div>
<div class="imageHolder">news image goes here</div>
</a>

if sisplay:block; fails display:inline; will work, its been a long time since I had to set up any new css, I get messed about with which works where