Everything posted by Jenski
-
CSS Tidyup Help
Hi guys, I'm tidying up a website that has been previously modded by different people in the past. Here is the skeleton of the page I have.. test.html nav.css default.css content.css I think the CSS could do with a proper tidyup. I was thinking of using a reset like this http://meyerweb.com/eric/tools/css/reset/ to replace : *{margin: 0; padding: 0;} and maybe split up the css into fonts.css, layout.css Any thoughts, suggestions how I can tackle this problen would be grateful.
-
ASP Escape String
Hi Guys I've been working in PHP for so long I'm having trouble with this... How do you escape characters in a string with classic asp? i want to store "/path/to/my/site" as a string in a variable in asp... how do I do it? (kinda feel silly asking, I don't think I'm searching for the right thing in Google either)
-
Total Noob on PHP
Why not look at the CMS on here: Open Source CMS It even has a demo for each one so you can try them out to find one that suits you. Quick fix solution for a CMS anyway and don't need to know php/mysql to do it.
-
How do you make text follow an uneven surface?
Hi guys, I'm not a total whizz @ Photoshop, but know enough to get by. I was wondering how do you make text follow an uneven surface? For example if I had a smooth surface that suddenly has a shallow hole in it, and I wanted to put text over the top of it, how could I make the text start from one side, go over the hole and come out the otherside, and make the text look as though it is down that hole and is really there? Any ideas? Thanks in advance Jen
-
Village Website
It doesn't really have a distinctive skyline, but when you mentioned a silouette I don't know why, but I thought of maybe something like the fields and the sky in this design: www.glasshills.co.uk/ with maybe a vectorised look of the church? or maybe its just better using a standard photograph. I also have an aerial photo I can use, however I don't think it will be much good becuase the quality is terrible
-
Village Website
I want to build a website for our local community, I have lots of ideas, and can code, but am usless when it comes to the graphics side of things. I was wondering if you guys had any ideas on any designs i can use, I was thinking of fields, possibly the church, with a web 2.0 type feel. I've looked on google and haven't come accross any ideas for inspiration. Any thoughts would be appreciated, thanks.
-
simple sessions question
Is your URL www.whatever.com/somepage.php?id=607504 what are you expecting and what's your url?
-
My Freelance/blog Website Redesign
The design is amazing, I think it's totally fab!!! Wish I could produce designs like that... You might want to check it out in Firefox though (only a small thing don't panic) around... <h2> <span/> Web Design & Development Services </h2>
-
PHP - Driving me Loopy! Pls Help!
I don't know? I'm clutching at straws...
-
PHP - Driving me Loopy! Pls Help!
print_r( $code ); Doesn't pull back anything when the error is showing, but when i put it the way that will display it properly (by reordering the lines again) it just displayed the value that is pulled from the database. Would any server settings what so ever have an effect on this? Because I really confuzzled...
-
PHP - Driving me Loopy! Pls Help!
When I put in: error_reporting(E_ALL); Still just comes up with: Thanks for your thoughts, i do appreciate it...
-
PHP - Driving me Loopy! Pls Help!
Would Server settings have any effect to this? We had a power cut last night and our server restarted. That wouldn't be causing this strange behavoir would it?
-
PHP - Driving me Loopy! Pls Help!
Its in code.php $code = new Code(); $code->retrieveCodeInfo($codeid); $ven = $code->venue(); $id = ' '; $name = $code->getCourseName(); The problem happens when i put $ven underneath $name
-
PHP - Driving me Loopy! Pls Help!
code.php $code = new Code(); $code->retrieveCodeInfo($codeid); $ven = $code->venue(); $id = ' '; $name = $code->getCourseName(); code.inc.php require_once("database.inc.php"); class Code { var $codeid; var $loc; var $courseid; var $code; var $occur; var $sdate; var $edate; var $hrswk; var $numwks; var $daytime; var $tutor; var $active; var $vp; var $drop; function retrieveCodeInfo($id){ $this->codeid = $id; $sql = "SELECT * FROM Course WHERE id = '$this->codeid'"; $dbconn = new Database(); $result = $dbconn->getQueryResults($sql); $row = mysql_fetch_array($result); $this->loc = $row['Location_code']; $this->courseid = $row['course_id']; $this->code = $row['code']; $this->occur = $row['occur']; $this->sdate = $row['start_date']; $this->edate = $row['end_date']; $this->hrswk = $row['hours_week']; $this->numwks = $row['num_weeks']; $this->daytime = $row['day_times']; $this->tutor = $row['tutor']; $this->active = $row['active']; $this->vp = $row['vp_validated']; $this->drop = $row['dropin']; } function getCourse(){ $val = 'Test'; return $val; } function getCourseName(){ $tip = 'Test'; return $tip; } function getCode($mode='edit'){ if($mode == 'edit'){ $val = '<input name="code" type="text" value="'.$this->code.'" />'; }else{ $val = $this->code; } return $val; } function venue(){ $val = 'please work'; return $val; } }
-
PHP - Driving me Loopy! Pls Help!
And to confuse matters even more confusing if I do: $code = new Code(); $anotherval = $code->getOtherName(); $value = $code->getName(); It seems to work fine! Have I been missing a basic rule of PHP all these years or something?
-
PHP - Driving me Loopy! Pls Help!
Ok I have a class in the format of: class Code{ .... function getName(){ $val = 'Test'; return $val; } function getOtherName(){ $val = 'Test'; return $val; } } Then I use this class on another page like this: $code = new Code(); $value = $code->getName(); Which works fine, but when I add: $anotherval = $code->getOtherName(); underneath it comes up with this error: I mean why?! I use classes all the time, what's so abnormal about this? What am I missing?! It's got to be something so stupid!
-
Best amateur webstaff of 2008
I think the idea is there, but probably better going down the flash route... There is a lot of potential there but you need to have a think about how people are actually going to browse the site.
-
Review my logo
An earlier version of the Microsoft Office Logo? Looks good though...
-
Syntax Highlighting
Anybody know how to get Dreamweaver CS3 to treat .inc files like .php files with the syntax highlighting? Thanks in advance
-
Dreamweaver Templates
Just a thought, you know when you create a template in Dreamweaver, the template is formatted around these tags: <!-- TemplateBeginEditable name="head" --> <!-- TemplateEndEditable --> Well, I was wondering if anybody know's a trick how to change the name of these e.g. <!-- LayoutBeginEditable name="head" --> and Dreamweaver treat them exactly the same? it would be kewl to know... Jen
-
Doctypes and CSS Headache
Harmony, thank you so much! I can't believe it was something so simple. How did you know that? Any idea where can I find the "rules" for certain doc types? Thanks ever so much!! You star!!!
-
Doctypes and CSS Headache
Ok here is the code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <title>Sitemap</title> <style type="text/css" media="all"> ul#map { list-style:disc; } ul#map li.0 { margin-left:0px; font-size: 12pt; font-weight: bold } ul#map li.1 { margin-left: 1cm; font-size: 11pt } ul#map li.2 { margin-left: 2cm; font-size: 10pt } ul#map li.3 { margin-left: 3cm; font-size: 8Pt } ul#map li.4 { margin-left: 4cm; font-size: 8Pt } ul#map li.5 { margin-left: 5cm; font-size: 8Pt } </style> </head> <body> <ul id="map"> <li class="0"><a href="/index.php">Home</a></li> <li class="1"><a href="/pageone.php">Page 1</a></li> <li class="2"><a href="/pagetwo.php">Page 2</a></li> <li class="3"><a href="/pagethree.php">Page 3</a></li> <li class="4"><a href="/pagefour.php">Page 4</a></li> <li class="5"><a href="/pagefive.php">Page 5</a></li> </ul> </body> </html> Any ideas why this displays fine with the doctype tag taken out? How can I keep the same doctype but display it correctly? Any thoughts? Thanks in advance, this is driving me loopy... Jen