
visitor
Members-
Posts
73 -
Joined
-
Last visited
Everything posted by visitor
-
Hi, do you mean something like this...? <form method="post" thanks ozzo
-
Hi Guys, have you got an idea how I can create a user management system with login and pw, please? I tried the below, but when I click on the "ADD NEW USER" button nothing happens <div> <fieldset> <legend>USER DETAILS</legend> <table> <tr> <td align="right"><a title='NAME' href='user_edit.php?id=1'>NAME</a></td> <td> <input class="norm" type="text" name="name" id="name" /></div> </td> <td align="right"><a title='SURNAME' href='user_edit.php?id=2'>SURNAME</a></td> <td> <input class="norm" type="text" name="surname" id="surname" /></div> </td> </tr> <tr> <td align="right"><a title='E-MAIL ADDRESS' href='user_edit.php?id=3'>E-MAIL ADDRESS</a></td> <td colspan="4"> <input class="norm" type="text" size="57" name="e-mail" id="e-mail" /></div> </td> </tr> <tr> <td align="right"><a title='LOGIN' href='user_edit.php?id=4'>LOGIN</a></td> <td> <input type="text" name="login" id="login" /></div> </td> <td align="right"><a title='PASSWORD' href='user_edit.php?id=5'>PASSWORD</a></td> <td> <input class="norm" type="text" name="password" id="password" /></div> </td> </tr> </table> </fieldset> </div> <br /> <div> <fieldset> <input type='submit' name='delete' value='DELETE USER' onclick='confirm("ARE YOU SURE?");'/> <input type='submit' name='add' value='ADD NEW USER'/> </fieldset> </div> cheers, ozzo
-
Hi, yeah, problem solved! Thanks mate
-
Hi, I get this error message... Parse error: syntax error, unexpected '{' in /home/web1018/public_html/send.php on line 5 ...although this "{" is needed. Thanks ozzo
-
Hi Guys Somehow I can't make this chat work... maybe you've got an idea what the problem is? main.php <?php session_start(); ?> <html> <head> <title>Chat</title> <script language="JavaScript"> msg = new Array(); function showchat() { for (i = 0; i < msg.length; i++) { show.document.write(msg[i]; show.document.write("<br />"); } show.document.write("<a name='end'></a>"); } </script> </head> <frameset rows="0,*,45" border="0"> <frame name="main" src="main.php"> <frame name="show" src="show.php"> <frame name="send" src="send.php" scrolling="no"> </frameset> </html> <?php session_start(); $time = $_SESSION['time']; if (!isset($time)) $time = 0; $hdlDB = mysql_connect('localhost', 'root', ''); $strSQL = "SELECT * FROM chat WHERE time > '$curTime'"; $dhlRS = mysql_db_query('chat', $strSQL, $hdlDB); while ($arrRS = mysql_fetch_assoc($hdlRS)) { $arrMsg[] = '<b>' . $arrRS['sender'] . '</b>: ' . $arrRS['data']; $time = max($arrRS['time'], $time); } session_register('time'); ?> <html> <head> <title>Chat</title> <script language="JavaScript"> <?php if (is_array($arrMsg)) { $i = 0; foreach($arrMsg as $strLine) { echo "top.msg[$i] = '$strLine';\n"; $I++; } } ?> top.show.location.reload(); </script> </head> <body onload="window.setInterval('location.reload()', 4000)"> </body> </html> send.php <?php session_start(); if (!isset($time)) $time = 0; if (strlen($_POST['newmsg'] > 2) { $hdlDB = mysql_connect('localhost', 'root'; ''); $curTime = time(); $strSQL = "INSERT INTO chat (time, data, sender) VALUES ('$curTime', $newmsg', '$sender')"; mysql_db_query('chat', $strSQL, $hdlDB); session_register('time'); } /* end if */ ?> <html> <head> <title>Chat</title> <script language="JavaScript"> <?php if (is_array($arrMsg)) { foreach($arrMsg as $strLine) echo "top.msg[top.msg.length]=\"$strLine\""; } ?> top.show.location.reload(); </script> </head> <body bgcolor="white"> <form action="<?php echo $PHP_SELF; ?>" method="post"> <select name="sender" size="1"> <option value="Admin" <?php $sender == 'Admin' ? print 'selected' : print ''; ?>>Admin <option value="Client" <?php $sender == 'Client' ? print 'selected' : print ''; ?>>Client </select> 's Beitrag: <input type="Text" name="newmsg" size="40"> <input type="Submit" value="Send"> </form> </body> </html> show.php <html> <head> <title>Chat</title> </head> <body> <script language="JavaScript"> top.showchat(); </script> </body> </html> Database (chat) CREATE TABLE chat ( id bigint(20) NOT NULL auto_increment, time varchar(10) NOT NULL, data text, sender varchar(32) DEFAULT '1' NOT NULL, PRIMARY KEY (id), KEY id (id) ); cheers, ozzo
-
Hi, please check the attachment... cheers, [attachment deleted by admin]
-
Hi there I'm trying to move the small tables from center to the left but it doesn't work. Has anyone got an idea how to do it, please? Thanks visitor <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de-ch" lang="de-ch"> <head> <title>Test</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link rel="Stylesheet" href="styles.css" /> </head> <body> <br /> <div> <fieldset> <legend>SELLER DETAILS</legend> <table> <tr> <td align="right">TRANSFER AGENT</td> <td colspan="4"> <input class="norm" type="text" size="58" name="TA_Name" id="TA_Name" /></div></td> </tr> <tr> <td align="right">BIC (TA)</td> <td><input class="norm" type="text" name="TA_BIC" id="TA_BIC" /></div></td> </tr> <tr> <td align="right">CUSTODIAN A/C WITH T/A</td> <td><input class="norm" type="text" name="cust_ac_ta" id="cust_ac_ta" value=""/></td> </tr> <tr> <td align="right">REMARKS</td> <td colspan="4"> <input type="text" size="58" class="roundcorner_textbox" name="comment" id="comment" /></div></td> </tr> </table> </fieldset> </div> <br /> </body> </html>
-
Great! Thank you I'll try...
-
Hi, somehow I can't log-in on my testsite anymore... (username: user / pw: pass) I receive the following error message... Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/web1244/public_html/functions.php on line the code is as follows... <?php function get_fund($ISIN) { $ISIN = mysql_real_escape_string($ISIN); $qr = mysql_query("SELECT * FROM fund WHERE ISIN='".$ISIN."' "); if ( mysql_error() ) echo mysql_error(); if ( mysql_num_rows($qr) == 0 ) return NULL; return mysql_fetch_object($qr); } function show($var) { if(trim($_POST[$var])) return 'value="'.trim($_POST[$var]).'"'; return '';; } function checkForError($text, $result, $output) { if (in_array(($text), $result)) echo "<span style='color:#FF0000'>$output</span>"; else echo "$output"; } function exist($var) { if(isset($var)) if(trim($var) !== '') return TRUE; return FALSE; } function logged() { if(exist($_SESSION['login'])) return TRUE; return FALSE; } function loggedAdmin() { if(exist($_SESSION['admin'])) if($_SESSION['admin'] == aPass) return TRUE; return FALSE; } function loginAdmin() { if(exist($_POST['username'])) if(exist($_POST['password'])) if(exist($_POST['button'])) if(trim($_POST['username']) == aLogin) if(trim($_POST['password']) == aPass) $_SESSION['admin'] = aPass; } function login() { if(exist($_POST['username'])) if(exist($_POST['password'])) if(exist($_POST['button'])) if(mysql_ping()) { $query = "SELECT * FROM user WHERE login ='".mysql_real_escape_string($_POST['username'])."' AND password='".mysql_real_escape_string($_POST['password'])."'"; $res = mysql_query($query); if(mysql_num_rows($res)) { $resx=mysql_fetch_assoc($res); $_SESSION['login'] = $resx['id']; } } } function getAccounts($id = false) { $accounts= array(); $query = $id? " SELECT id, name FROM custody_ac WHERE id_client = '$id'" :"SELECT id, name FROM custody_ac WHERE id_client = '".$_SESSION['login']."'"; $qres=mysql_query($query); while($row = mysql_fetch_assoc($qres)) $accounts[] = $row; return($accounts); } ?> is there probably anyone who could tell me what I've done wrong, please? Thanks ozzo
-
Great! Thank you
-
Hi there, Does anyone know if it's possible to have mandatory fields (i.e. BUY ISIN is mandatory and therefore this text should change color into red) to show up in a different color? In addition it would be nice to have a text appear like... "fields marked with an asterisk * are mandatory:..." is this something that can be done in PHP5? Has probably anyone got a script...? Cheers, visitor <script> function SetValues(id,number) { var Ids = new Array(0, <?php echo $isinCollection->getIdsProperty('id'); ?> ); var Currency = new Array(0, <?php echo $isinCollection->getIdsProperty('currency'); ?> ); var Names = new Array(0, <?php echo $isinCollection->getIdsProperty('name'); ?> ); var Nav = new Array(0, <?php echo $isinCollection->getIdsProperty('nav'); ?> ); var Date_nav = new Array(0, <?php echo $isinCollection->getIdsProperty('date_nav'); ?> ); //alert(number); if(Ids[id]) if(number=='0'){ document.getElementById('Currency').value = Currency[id]; document.getElementById('Name').value = Names[id]; document.getElementById('NAV').value = Nav[id]; document.getElementById('Date_NAV').value = Date_nav[id]; } if(id==0) if(number=='0'){ document.getElementById('Currency').value = 'Select ISIN'; document.getElementById('Name').value = 'Select ISIN'; document.getElementById('NAV').value = 'Select ISIN'; document.getElementById('Date_NAV').value = 'Select ISIN'; } if(Ids[id]) if(number=='1'){ document.getElementById('Currency2').value = Currency[id]; document.getElementById('Name2').value = Names[id]; document.getElementById('NAV2').value = Nav[id]; document.getElementById('Date_NAV2').value = Date_nav[id]; } if(id==0) if(number=='1'){ document.getElementById('Currency2').value = 'Select ISIN'; document.getElementById('Name2').value = 'Select ISIN'; document.getElementById('NAV2').value = 'Select ISIN'; document.getElementById('Date_NAV2').value = 'Select ISIN'; } } function verify() { if((document.getElementById('amount1').value == parseInt(document.getElementById('amount1').value))&&(document.getElementById('amount2').value == parseInt(document.getElementById('amount2').value))) document.createT.submit(); else{ alert('AMOUNT MUST BE NUMERIC!'); return false;} } function switc(val) { document.getElementById('xxx').style.visibility = (val == 'switch') ? 'visible' : 'hidden'; if(val!='switch') document.getElementById('amount2').value='0'; return true; } </script> <?php //var_dump($result); ?> <form name='createT' method='post' action='create.php'> <input type='hidden' name='type' value='<?php echo trim($_REQUEST['type']); ?>'/> <table width="605px" border="0"> <tr> <td width="120px" align="right"> <?php if($_REQUEST['type']=='PURCHASE') { echo (CheckForError('BUY ISIN',$result,'BUY ISIN')).'<sup>*</sup>'; } else { echo (CheckForError('SELL ISIN',$result,'SELL ISIN')).'<sup>*</sup>'; } ?> </td> <td width="100px"> <select name='security1' onchange='SetValues(this.value,"0")'> <option value='0'><?php echo 'Select ISIN';?></option> <?php foreach($isins as $isin){ ?> <option value='<?php echo $isin['id'];?>' <?php if(trim($_POST['security1']) == $isin['id']) echo"selected = 'selected'" ?>><?php echo $isin['code'];?></option> <?php } ?> </select> </td> <td width="120px" align="right"> CURRENCY </td> <td width="100px"> <label> <div class="roundcorner_div"> <input type="text" class="roundcorner_textbox" name="Currency" id="Currency" readonly="readonly" <?php echo show('Currency'); ?>/></div> </label> </td> </tr> <tr> <td align="right"> FUND NAME </td> <td colspan=3> <label> <div class="roundcorner_div" align="center"> <input type="text" name="Name" id="Name" readonly="readonly" size=71 <?php echo show('Name'); ?>/> </div> </label> </td> </tr> <tr> <td width="120px" align="right"> <?php echo CheckForError('Amount or Units',$result,'UNITS').'<sup>*</sup>'; ?> </td> <td width="100px"> <label> <div class="roundcorner_div"> <input type="text" class="roundcorner_textbox" name="Units" id="Units" <?php echo show('Units'); ?>/></div> </label> </td> <td width="120px" align="right"> <?php echo CheckForError('Amount or Units',$result,'AMOUNT').'<sup>*</sup>'; ?> </td> <td width="100px"> <label> <div class="roundcorner_div"> <input type="text" class="roundcorner_textbox" name="Amount" id="Amount" <?php echo show('Amount'); ?>/></div> </label> </td> </tr> <tr> <td width="120px" align="right"> NET ASSET VALUE </td> <td width="100px"> <label> <div class="roundcorner_div"> <input type="text" class="roundcorner_textbox" name="NAV" id="NAV" <?php echo show('NAV'); ?>/></div> </label> </td> <td width="120px" align="right"> N.A.V. DATE </td> <td width="100px"> <label> <div class="roundcorner_div"> <input type="text" class="roundcorner_textbox" name="Date_NAV" id="Date_NAV" readonly="readonly" <?php echo show('Date_NAV'); ?>/></div> </label> </td> </tr> <?php if($_REQUEST['type'] == 'switch'){ ?> <tr> <td width="120px" align="right"> </td> <td width="100px"> </td> <td width="120px" align="right"> </td> <td width="100px"> </td> </tr> <tr> <td width="120px" align="right"> <?php echo CheckForError('Buy ISIN',$result,'BUY ISIN').'<sup>*</sup>'; ?> </td> <td width="100px"> <select name='security2' onchange='SetValues(this.value,"1")'> <option value='0'><?php echo 'Select ISIN';?></option> <?php foreach($isins as $isin){ ?> <option value='<?php echo $isin['id'];?>' <?php if(trim($_POST['security2']) == $isin['id']) echo"selected = 'selected'" ?>><?php echo $isin['code'];?></option> <?php } ?> </select> </td> <td width="120px" align="right"> CURRENCY </td> <td width="100px"> <label> <div class="roundcorner_div"> <input type="text" class="roundcorner_textbox" name="Currency2" id="Currency2" readonly="readonly" <?php echo show('Currency2'); ?>/></div> </label> </td> </tr> <tr> <td align="right"> FUND NAME </td> <td colspan=3> <label> <div class="roundcorner_div" align="center"> <input type="text" name="Name2" id="Name2" readonly="readonly" size=71 <?php echo show('Name2'); ?>/> </div> </label> </td> </tr> <tr> <td width="120px" align="right"> <?php echo CheckForError('second Amount or Units',$result,'UNITS').'<sup>*</sup>'; ?> </td> <td width="100px"> <label> <div class="roundcorner_div"> <input type="text" class="roundcorner_textbox" name="Units2" id="Units2" <?php echo show('Units2'); ?>/></div> </label> </td> <td width="120px" align="right"> <?php echo CheckForError('second Amount or Units',$result,'AMOUNT').'<sup>*</sup>'; ?> </td> <td width="100px"> <label> <div class="roundcorner_div"> <input type="text" class="roundcorner_textbox" name="Amount2" id="Amount2" <?php echo show('Amount2'); ?>/></div> </label> </td> </tr> <tr> <td width="120px" align="right"> NET ASSET VALUE </td> <td width="100px"> <label> <div class="roundcorner_div"> <input type="text" class="roundcorner_textbox" name="NAV2" id="NAV2" <?php echo show('NAV2'); ?>/></div> </label> </td> <td width="120px" align="right"> N.A.V. DATE </td> <td width="100px"> <label> <div class="roundcorner_div"> <input type="text" class="roundcorner_textbox" name="Date_NAV2" id="Date_NAV2" readonly="readonly" <?php echo show('Date_NAV2'); ?>/></div> </label> </td> </tr> <?php }?> <tr> <td width="120px" align="right"> CUSTODY A/C </td> <td width="100px"> <select name='account' > <?php foreach($accounts as $account){ ?> <option value='<?php echo $account['id'];?>'><?php echo $account['name'];?></option> <?php } ?> </select> </td> </tr> <tr> <td width="120px" align="right"> FINAL REMARKS </td> <td width="100px"> <label> <div class="roundcorner_div"> <input type="text" class="roundcorner_textbox" name="comment" id="Final-Remarks" <?php echo show('comment'); ?>/></div> </label> </td> </tr> </table> <br> <input type='submit' name='button' value='Send' onclick='return verify();'/> </form>
-
Hi, Please have a look at this code... how can I place the menus 4 - 6 on the right hand side? <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de-ch" lang="de-ch"> <head> <title>Test</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <style type="text/css"><!-- body { font-family:Arial,Verdana,Helvetica,sans-serif; font-size:12px; background-color:#FFFFFF; text-align:center; margin:100px; } code {font-size:14px;color:#FFFFFF;} pre { font-size:14px; color:#FFFFFF; padding:5px; } a:link, a:visited, a:active, a:hover { text-decoration:none; font-weight:normal; color:#FF0000; font-size:12px; } a:active, a:hover { color:#FFFFFF; } a.menu { display:block; padding:3px; border-top:1px solid #605C88; background-color:#FFFFFF; text-align:center; color:#FFFFFF; text-decoration:none; } a.menu:link, a.menu:visited { color:#FF0000; background-color:#FFFFFF; text-decoration:none; } a.menu:active, a.menu:hover { color:#605C88; background-color:#FFFFFF; } #left { background-color:#FFFFFF; width:128px; float:left; } .menutitle{ text-align:center; margin:2px; } .menucontainer { border:1px solid #605C88; background-color:#FFFFFF; width:175px; margin:10px; } #content { background-color:#FFFFFF; width:605px; float:right; padding:0px; } //--></style> </head> <body> <div style="width:805px; margin:0px auto; text-align:left; background-color:#FFFFFF; border:1px solid #605C88;"> <div id="title"> <img src="ZEIT8.jpg" style="float:right; width:605px; height:185px; margin-left:0px; margin-top:10px;" /> </div> <div id="left"> <div class="menucontainer"> <p class="menutitle">MENU 1</p> <a class="menu" href="#"> </a> </div> <div class="menucontainer"> <p class="menutitle">MENU 2</p> <a class="menu" href="#"> </a> <a class="menu" href="#"> </a> <a class="menu" href="#"> </a> </div> <div class="menucontainer"> <p class="menutitle">MENU 3</p> <a class="menu" href="#"> </a> <a class="menu" href="#"> </a> <a class="menu" href="#"> </a> <a class="menu" href="#"> </a> <a class="menu" href="#"> </a> </div> <div class="menucontainer"> <p class="menutitle">MENU 4</p> <a class="menu" href="#"> </a> <a class="menu" href="#"> </a> <a class="menu" href="#"> </a> <a class="menu" href="#"> </a> <a class="menu" href="#"> </a> </div> <div class="menucontainer"> <p class="menutitle">MENU 5</p> <a class="menu" href="#"> </a> <a class="menu" href="#"> </a> <a class="menu" href="#"> </a> </div> <div class="menucontainer"> <p class="menutitle">MENU 6</p> <a class="menu" href="#"> </a> </div> </div id="content"> </body> </html> Thanks visitor
-
Hi, To have a better idea of what I'm talking about... please have a look at the following website http://www.brainbell.com/tutorials/HTML_and_CSS/Horizontal_List-Based_Navigation_With_Color.htm I'm trying to do the left part (Ads by Google, A+ Certification etc.). This website exists of two parts and they're perfectly centered. Any help how this can be achieved is highly appreciated. Thanks visitor
-
Hi, any idea how...? Thanks visitor
-
Hi, I wonder if this can be centred in any browser without using tables but only CSS...? <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de-ch" lang="de-ch"> <head> <title>Test</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <style type="text/css"> a:link { font-family:Arial,Verdana,Helvetica,sans-serif; font-size:10pt; color:#FF0033; text-decoration:none } a:visited { font-family:Arial,Verdana,Helvetica,sans-serif; font-size:10pt; color:#FF0033; text-decoration:none } a:active { font-family:Arial,Verdana,Helvetica,sans-serif; font-size:10pt; color:#FF0033; text-decoration:none } body { font-family:Arial,Verdana,Helvetica,sans-serif; font-size:10pt; color:#605C88; text-align:center } table { font-family:Arial,Verdana,Helvetica,sans-serif; font-size:10pt; color:#605C88; text-align:justify } </style> </head> <body> <center> <table border="0" cellspacing="0" cellpadding="0" width="955px"> <tr> <td width="175px"> </td> <td width="605px"><a href="index.html" target="_top"><img src="ZEIT8.jpg" border="0" alt="Click on this image to return to the index page"></a></td> <td width="175px"> </td> </tr> </table> <br> <table border="0" cellspacing="0" cellpadding="0" width="605px"> <tr> <td align="left" width="79px" height="25px"><a href="index-en.php" target="_top">DATABASE</a></td> <td align="left" width="59px" height="25px"> </td> <td align="center" width="60px" height="25px"><a href="stf-en.html" target="_top">FORMS</a></td> <td align="left" width="59px" height="25px"> </td> <td align="center" width="70px" height="25px"><a href="trading-en.html" target="_top">TRADING</a></td> <td align="left" width="59px" height="25px"> </td> <td align="center" width="85px" height="25px"><a href="transfer-en.html" target="_top">TRANSFER</a></td> <td align="left" width="59px" height="25px"> </td> <td align="right" width="75px" height="25px"><a href="support-en.html" target="_top">SUPPORT</a></td> </tr> </table> <br> <table border="1" cellspacing="0" cellpadding="0" width="955px"> <tr> <td width="175px" height="25px"><a href=".htm" target="_top">CLIENT ACCOUNT</a></td> <td width="605px" height="25px"> </td> <td align="center" width="175px" height="25px"><a href=".htm" target="_top">LOGOUT</a></td> </tr> </table> <table border="1" cellspacing="0" cellpadding="0" width="955px"> <tr> <td width="175px" height="25px"><a href=".htm" target="_top">PENDING TRADES</a></td> <td width="605px" height="25px"> </td> <td width="175px" height="25px"> </td> </tr> </table> <table border="1" cellspacing="0" cellpadding="0" width="955px"> <tr> <td width="175px" height="25px"><a href=".htm" target="_top">TRANSACTION HISTORY</a></td> <td width="605px" height="25px"> </td> <td width="175px" height="25px"> </td> </tr> </table> </body> </html> Thanks visitor
-
Hi haku, Yes, you're absolutely right! Now it works smoothly... slsContents[0] = "<img src=\"photos01/ip2803-017.jpg\" width=\"512px\" height=\"384px\">"; Thanks again for your help visitor
-
Hm, according to the developer it should look like this... so is he wrong? // slsContents[2] = "Here's an image:<br><img src=\"path/to/image\">";
-
Hi, Please see below what the developer wrote... //--------------------------------------------------------------------------------------------------------- // CONTENTS //--------------------------------------------------------------------------------------------------------- // Insert your contents here. Example: // // slsContents[0] = "This is the first page."; // slsContents[1] = "This is the second page."; // slsContents[2] = "Here's an image:<br><img src=\"path/to/image\">"; // ... // // - You can use HTML-tags. // - Escape all quotation marks inside your contents with a backslash (\"). // - Use tables or CSS to set a padding where needed. I tried this... but it still doesn't work (so you're right haku) slsContents[0] = "<img src=photos\"ip2803-017.jpg\" width=\"512px\" height=\"384px\">"; visitor
-
Hi, I've got pictures in a separate folder named photos. I'm trying to link it as follows... slsContents[0] = "<img src=\photos\"ip2803-017.jpg\" width=\"512px\" height=\"384px\">"; unfortunately this doesn't work. Does anybody know how this might work, please? Thanks visitor
-
Hi Has anyone got an idea why I can't centre this one, please...? <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>test</title> <style type="text/css"> div#slideshow-wrapper { height:auto; margin:auto; position:relative; width:512px; } </style> </head> <body> <div id="slideshow-wrapper"><img src="ip0001-001.jpg" width="512px" height="384px"></div> </body> </html> thanks visitor
-
Hi premiso Yes exactly...! The tree forms are on the left hand side. Do you think it's possible to move it closer to the centre without using frames (only with CSS)? Thanks visitor
-
Hi Well, I'm not sure if it looks about the same in a sitemap, though. Let's say it starts on top with the HOME button. Below you'll find A next to it B next to B you'll find C and finally D. Below A you'll find A1 then A2 and A3. The same goes for B (B1 to B3), C (C1 and C2) and D (D1). Do you think browsing through this "jungle" is easy or rather complicated? Thanks visitor
-
Hi Does anyone know websites where hyperlinks are arranged in a treeform? Thanks visitor
-
Hi, Thanks for your suggestions...! Unfortunately some contents are positioned absolutely. I think that's the reason why the "div slideshow-wrapper" doesn't work. visitor
-
Hi, I've been told that to centre something I have to do this... to simply add a div wrapper around the entire slideshow code and center it using margin auto. <div id="slideshow-wrapper"> --all the slideshow code goes here-- </div> Example: If the slideshow overall width is 600 pixels, then you would give that div the following css: #slideshow-wrapper {width: 600px; margin: 0 auto;} unfortunately this doesn't work. Has anyone got another idea how to centre things? Thanks