2,295 Posted Topics
Re: 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 | |
Re: the table is styled directly [code=css]table { bla bla } td { bla blah }[/code] where you want to style elements inside the table [code=css]td > p { bla bla ] td > div { bla bla }[/code]these demonstrate the form for a <p> or <div> that is the directly … | |
![]() | Re: once you create a dbase then you have the ability to cxreate a number of tables inside the database, in my head the database is an empty filing cabinet, plenty of potential but not much use yet, my host pack has 1 database, but it has installed in it 6 … ![]() |
Re: [code=javascript]<script language="javascript" type="text/javascript"> if (top.frames.length != 0 ) { top.location = self.document.location; } </script>[/code] this code in the head of your proz.com site is called a framebreaker, (one of several types) so that it will not appear as content in an external site, including yours | |
Re: if you waqnt it to work as expected you have to declare it as expected [code=html]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">[/code] | |
Re: firefix opera safari have 'thumbdrive' versions, no-install versions that allow yout to have all the major engines installed via best western hotels, stuck waiting for hurricane to leave | |
Re: edit the table, to add a new column as a date,a nd store the timestamp, not any text representation.as php date() or mysql now().. a text date is bigger, size matters in the opposite way a timestamp is faster a timestamp is easier to select date or time ranges "where … | |
Re: agree with everyone else start with the tutorials, dont use frontpage publisher or any other wysiwyg, till after you understand the code a little, so that you can clean up the code they produce, the alternative is another ugly, invisible, tiny, fixed-width, layout sitting in the middle of the widescreen … | |
Re: [code=php]<dtd with all the doo dah> <html> <head> <!-- bla bla --> </head> <body> <?php /* huge amount of php script, perfectly OK, user does not see the php, only the output of the script after it is completed */ echo '<p>this is visible</p>'; ?> <!-- more html --> </body> … | |
Re: not marked solved code sample [code=css]@media print { .dontprint {display:none;} }[/code][code=html]<input type='submit' class='dontprint' value='send' />[/code] | |
Re: [url]http://validator.w3.org/check?uri=http%3A%2F%2Fwww.ivalue.be&charset=%28detect+automatically%29&doctype=Inline&group=0[/url] its pretty close to valid,, one <br> that should be <br /> | |
Re: that would likely need to be done in the file that opens in the iframe something like checking [icode]if(self.parent.background='blue') do something wonderful[/icode] not sure, dont use iframes much, use javascript less, but its an approach | |
Re: when you display a url by folder name, you actually get the index.php,index.html,default.asp page, whatever the default filename the server is set to use If you do not have an index page in the folder, you get a folder tree create the index.php file for each folder, that opens the … | |
Re: in css, fix the content box, instead of the content, the content will inherit the position of the parent box, and stay put, inside the box | |
Re: photoshop is not a web design tool photoshop is an image tool, and is very good at it the photoshop layout html and css, is likely in pixels, the dimension of choice for images, alter all the css to % example:[indent]the page you laid out is 1366*768, an irrational size … | |
Re: on apache servers, the following code may help part of a .htaccess file mod_rewrite is the relevant section, [code=apache]RewriteEngine On RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !www.mysite.com [NC] RewriteCond %{HTTP_REFERER} !mysubdomain.mysite.com/ [NC] RewriteCond %{HTTP_REFERER} !mysecondsubdomain.mysite.com/ [NC] RewriteCond %{HTTP_REFERER} !www.someotherpermittedsite.com/ [NC] RewriteRule \.(jpeg|jpg|gif|bmp|png|wmv|asf)$ - [F,NC] <IfModule mod_expires.c> ExpiresActive On ExpiresByType text/html "access … | |
Re: the obscene words filter has brutalized the url posted post the code to the page(between code tags) or a link to the page not containing a string that the obscenity filter will edit out | |
Re: a method for logged in users, the uploaded image url is stored in the db and put into style.css.php on each login from either cookie or session details of course the first lines of style.css.php look something like[code=php]<?php header ('content-type:text/css'); ob_start("ob_gzhandler"); ?>/*<style>*/ @media all { .dontall {display:none; } } @media … | |
Re: tables are not a layout tool, positioning is much harder with a table than it need be, when css was buggy/useless/not_implemeneted tables were the only option, tables are for displaying tabular data margin does not place the div so much, as create whitespace around the element top bottom left right … | |
![]() | Re: missing colon in body margin possible throws everything after that missing colon off less important[INDENT]zero is dimensionless : throws compliant browsers into 'quirks mode' elements have shorthand constructors : makes your css file smaller div#id is redundant only #id is required: there can only be 1 element #id[/INDENT]try[code=css]body {margin:0; font-family:Arial, … |
![]() | Re: [code=php]$album_num = mysql_num_rows(mysql_query("SELECT * FROM albums WHERE userid='%s'",$id));[/code] mysql_query takes sql syntax, not php syntax. not a guaranteed solution I dont work much in sql either |
Re: [icode]<a onclick='document.getElementById('aa').data="newfile.swf";' href="#">click</a>[/icode] maybe? | |
Re: would suggest correcting the css and not using pixels at all the current best practice is to use ems and %, 12px on this monitor is less than 2mm high, 12px on the next generation of monitor will be smaller, device generations are ~6 months fixed size layouts look idiotic … | |
Re: this is the zend article you require [url]http://devzone.zend.com/article/1304[/url], full text searching | |
Re: I do not have access to whatever lightbox is being used, the code posted by the OP is not complete, [code=html]<a onclick="document.body.style.backgroundColor='#707070';return true;" href="indexphp.php?act=generate_quotes" class="style2">Generate</a>[/code]to just change the backgrtond or [code=html]<div id='shadow' style='background:#707070;width:100%;height:2000px;top:0;left:0;right:auto;bottom:auto;z-index:100;display:none;'></div> <a onclick="document.getElementById('shadow').style.display='block';return true;" href="indexphp.php?act=generate_quotes"[/code]to disable the underlying elements, (set opacity as well as color) inline styles are … | |
Re: [icode]#header a:active {}[/icode] | |
Re: show code, that you are already using, most such changes are a single edit | |
Re: [icode]<link rel="shortcut icon" type="image/x-icon" href="http://www.mysite.com/favicon.ico">[/icode] | |
Re: .dotnet, Microsoft servers, such a very small %age of clients possible, but many of those clients are large and require large maintainence contracts, because the type of product they are, but the larger they are the more likely they are locked into maintainence agreements, proprietary codebase -more difficult to outsource … | |
Re: there are also premade scripts [url]http://www.hotscripts.com/category/php/scripts-programs/chat-scripts/[/url] conferencing is only a restricted-access chat something like visichat configured to only access the single private chatroom named, 'company conference' | |
Re: the link color you see on pages you visit each day, reflects the fact you have visited the site before, that link is referenced in your history so shows as 'visited' If you clear the history, the site link will go back to the standard 'not visited' color. either you … | |
Re: agree with raccoon, Web template? what the bleep do you mean? and with drifiting steps explanation of hwo the background works If neither post provides insight into your problem, post back with some explanation of what the problem is If you have sourced a web template from [I]somewhere[/I] and you … | |
Re: onmouseover javascript is unneccessary onmouseout javascript is unneccessary all the inline styles are unneccessary all the code indenting is unneccesary add size and download time to the page, javascripts can be done better with 2 lines of css preferably in external css file, so you only have to type it … | |
Re: You could ask the owner of the site, who's content your are trying to steal, if you have the right to access the code the site owner will email it to you Its not your code, since what you have posted is not complete, asking for help to reverse engineer … | |
Re: all the undimensioned width statements will cause compliant browsers to disregard the statement entirely, current best practice for css layout suggests using ems and % dimensions, relative dimensions that adjust to window size browser resolution and user preference, if those figures given represent pixel vaules, the page will look bad … | |
Re: [code=php]echo ' <a href="'.$_SERVER['PHP_SELF']."?s=$news&q=$var\">Next 10 >></a>";[/code]To my mind there are two forms of that code[code=php]echo ' <a href="'.$_SERVER['PHP_SELF'].'"?s='.$news.'&q='.$var.'">Next 10 >></a> '; echo " <a href='$_SERVER['PHP_SELF']?s=$news&q=$var'>Next 10 >></a>";[/code] if the variables contain anything unsanitized, the resulting code could fail | |
Re: [url=http://www.doshdosh.com/bluesense-theme/]Bluesense[/url] is a downloadable wordpress theme, there are thousands of downloadable wordpress themes plugins etc,optimised for different purposes Bluesense is supposed to be simple search engine friendly and fast, | |
Re: [code=php]print " <a href='$_SERVER['PHP_SELF']?s=$prevs&q=$var'><< Prev 10</a>  ";[/code] php5 unexpected t_variable:: $PHP_SELF does not exist in php5 | |
Re: the top and bottom images need to be the actual image you need, to fit in the curves etc, the center image need only be a slice 1 pixel thick through the middle of the image, repeat-y apologise for inline styles they belong in the stylesheet, included here for expalanation … | |
Re: Its easy if you use a premade gallery script, you dont have to use the script as your script, but it may provide insight to methods to accomplish what you intend [icode]<a href='download.php?img=thisimage.jpg'><img src='thisimagethumb.jpg' /></a>[/icode] download.php[code=php]<?php if(!$img) return false; header("Content-disposition: attachment; filename=$img"); header('Content-type: image/jpeg;'); readfile("$img"); ?>[/code]Pisspoor code, but it may … | |
Re: All screen measurements should only be in ems or % [B]the user[/B] sets the screen font to suit their vision on their computer. change it to something stupid in px, they leave.(all px measurements for fonts are stupid, no offence intended) Set fonts you want to be larger by 20% … | |
Re: not your whole damn web site, images & assorted crap, just the html and css, of the affected page, those are text files, and if they are 14MB zipped you have other problems, post code between [noparse][code]code[/code][/noparse] tags so it looks like this[code=php]<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> … | |
Re: what crishea said assume all servers servers are case sensitive, windows servers arent, but with good fortune you'll never have to work on a windows server, caveBob say ugg apache linux good, ugg windows bad have your file upload script force all filenames to the form your server understands line … | |
Re: first idea post the code its easier to point and fix | |
Re: html will not display properly unless the doctype is specified properly, throws browsers into quirks mode, which is different for each browser, as they try to interpret what they think the code means try something like[code=html]<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <style type='text/css'> .wrapper { width:100%; … | |
Re: the element you wish to show can be styled a layer, in css with a higher z-index than the underlying text it will appear floating over it div is not a good descriptor for your function, it is a reserved word and may cause problems, the functions are ok [code=css]/* … | |
Re: Mobile devices[LIST][*]charge per byte [*]flash never works [*]java seldom works [*]device memory is limited [*]screen size is limited [*]user interface is limited [*]physical input devices are limited [*]download speed(bandwidth) is limited[/LIST] build a site that is not dependent on plugins, with iconized graphics, standard links (default color highlight etc) single … |
The End.