2,295 Posted Topics

Member Avatar for cwarn23

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

Member Avatar for efmesch
1
175
Member Avatar for stevenpetersen

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 …

Member Avatar for veneta1
0
150
Member Avatar for ingeva

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 …

Member Avatar for ingeva
0
240
Member Avatar for Norwenglishguy

[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

Member Avatar for Norwenglishguy
0
137
Member Avatar for Night N Gail

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]

Member Avatar for almostbob
0
89
Member Avatar for manojwali

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

Member Avatar for manojwali
0
122
Member Avatar for heshanm

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 …

Member Avatar for almostbob
0
122
Member Avatar for Baby.D

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 …

Member Avatar for packetpirate
0
142
Member Avatar for jjemphoung

[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> …

Member Avatar for jjemphoung
0
125
Member Avatar for Kadafiz

not marked solved code sample [code=css]@media print { .dontprint {display:none;} }[/code][code=html]<input type='submit' class='dontprint' value='send' />[/code]

Member Avatar for Kadafiz
0
175
Member Avatar for jb1ker

[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 />

Member Avatar for Varnius
0
175
Member Avatar for vmahe

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

Member Avatar for almostbob
0
151
Member Avatar for maxelcat
Member Avatar for hindu times

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 …

Member Avatar for almostbob
0
152
Member Avatar for ihatestarch

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

Member Avatar for ihatestarch
0
118
Member Avatar for maacyuga

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 …

Member Avatar for almostbob
0
85
Member Avatar for nick3592

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 …

Member Avatar for almostbob
0
115
Member Avatar for osirus

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

Member Avatar for osirus
-1
175
Member Avatar for george61

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 …

Member Avatar for Airshow
0
454
Member Avatar for sonny_burnett

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 …

Member Avatar for sonny_burnett
0
135
Member Avatar for vmpchris

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, …

Member Avatar for macgurl70
0
93
Member Avatar for doctorphp

[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

Member Avatar for ﻼim
0
128
Member Avatar for mrkaran

[icode]<a onclick='document.getElementById('aa').data="newfile.swf";' href="#">click</a>[/icode] maybe?

Member Avatar for almostbob
0
74
Member Avatar for Doug McClair

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 …

Member Avatar for macgurl70
0
74
Member Avatar for rahulephp

this is the zend article you require [url]http://devzone.zend.com/article/1304[/url], full text searching

Member Avatar for almostbob
0
114
Member Avatar for ello

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 …

Member Avatar for almostbob
0
125
Member Avatar for yaragalla_mural
Member Avatar for Virangya
Member Avatar for almostbob
0
82
Member Avatar for racoon8995

[icode]<link rel="shortcut icon" type="image/x-icon" href="http://www.mysite.com/favicon.ico">[/icode]

Member Avatar for anthmaina
0
48
Member Avatar for NewOrder

.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 …

Member Avatar for NewOrder
0
110
Member Avatar for panhwer

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'

Member Avatar for panhwer
0
123
Member Avatar for Alex Sterling

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 …

Member Avatar for JRM
0
170
Member Avatar for canterorist

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 …

Member Avatar for Lusiphur
0
144
Member Avatar for ScoobMJ

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 …

Member Avatar for macgurl70
0
124
Member Avatar for alb3rt

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 …

Member Avatar for almostbob
-2
76
Member Avatar for smokin745

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 …

Member Avatar for almostbob
0
155
Member Avatar for lwaterfo

[code=php]echo '&nbsp;<a href="'.$_SERVER['PHP_SELF']."?s=$news&q=$var\">Next 10 &gt;&gt;</a>";[/code]To my mind there are two forms of that code[code=php]echo '&nbsp;<a href="'.$_SERVER['PHP_SELF'].'"?s='.$news.'&q='.$var.'">Next 10 &gt;&gt;</a> '; echo "&nbsp;<a href='$_SERVER['PHP_SELF']?s=$news&q=$var'>Next 10 &gt;&gt;</a>";[/code] if the variables contain anything unsanitized, the resulting code could fail

Member Avatar for almostbob
0
2K
Member Avatar for PythonNewbie2

[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,

Member Avatar for macgurl70
0
86
Member Avatar for lwaterfo

[code=php]print "&nbsp;<a href='$_SERVER['PHP_SELF']?s=$prevs&q=$var'>&lt;&lt; Prev 10</a>&nbsp&nbsp;";[/code] php5 unexpected t_variable:: $PHP_SELF does not exist in php5

Member Avatar for cwarn23
0
407
Member Avatar for Smudly

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 …

Member Avatar for almostbob
0
100
Member Avatar for peck3277

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 …

Member Avatar for sourcebits
0
134
Member Avatar for comhacker99
Member Avatar for dflor

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% …

Member Avatar for landlessness
0
1K
Member Avatar for humaza

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"> …

Member Avatar for almostbob
0
225
Member Avatar for drfarzad
Member Avatar for drfarzad
0
132
Member Avatar for bucktaylor

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 …

Member Avatar for almostbob
0
336
Member Avatar for fletch219839
Member Avatar for JRM

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%; …

Member Avatar for JRM
0
128
Member Avatar for andrewliu

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]/* …

Member Avatar for almostbob
0
148
Member Avatar for elum.chaitu

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 …

Member Avatar for racoon8995
0
162

The End.