Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

aaron1uk

Members
  • Joined

  • Last visited

Everything posted by aaron1uk

  1. I'm a bit of an obsessive compulsive when it comes to tidy uniform code; being this person I went on a journey through the blogs on the subject, I finally came up with this stylesheet; http://www.aaronbrand.co.uk/draft/aaronbra...signs/style.css for the sake of it I made a simple html page to work from too (this uses the above stylesheet) I suggest you view the source: http://www.aaronbrand.co.uk/draft/aaronbrand/otherdesigns/ I find working from this saves me a lot of time. I also included some of the common DIVs and attributes you find in your everyday stylesheet. There isn't a great deal to explain 1ST is your primary content 2nd is secondary (I indented all secondary content to illustrate). For larger stylesheet I sometimes add a table of contents to the top and use this to find classes. I have also put the longest strings at the top with the smallest at the bottom, but this isn't the best way of doing things some attributes are better next to each other (e.g Height & Width), I just find it easier on the eyes . I have used this on a few projects and it saves me heaps of time, I know its not going to suite every website but the organisation should suite any site. I thought I'd share it, some of you may find it of some use.
  2. I've always wondered what the difference is nice to have an awnser, Kapi I used transitional is it a mix of html & xhtml? maybe I should start using Strict.
  3. Thank you Iris I'll take those comments on board, This was the first site I built using a template I developed to keep my CSS & HTML tidy, I having untidy code would add hours onto the process.
  4. Great idea on the background! sure that will add the depth it needs. with the studio photography I did a banner without It, depends on what my friend would prefer if he wants the studio their I will look into it. I think every site I put up for critique people tell me to add more line-height . Thanks for your input I appreciate it.
  5. this is a big pain in the... well yeah think we've all had this problem
  6. Yeah the navigation is a bit overwhelming. It doesn't seem to suit the iphone but as you said the client isn't looking for this.. (customer is not always right! )
  7. Totally agree, I really like the design though defiantly my style simple and clean.
  8. Great looking site I love the header and footer images, However I don't think the flowers to the bottom right don't fit with the rest of the design. They stand out too much compared to everything else to me. overall great stuff
  9. Quite impressed with this I completed it within 3 hours from concept to code. http://www.aaronbrand.co.uk//draft/sycamor...camorestudios0/ needs a better background, I would like to but the footer at the bottom of the page, need to look at the "current project bit" that could be far better, also the boarders of the entire page need some work. But what do you guys think?
  10. I know i need to tidy it up a bit, I have them in the html because if the form has errors or a user hasn't filled in all the info i want them to post on the same page. is there a way to do this if using php from its own file? I put all the code in to demonstrate that there are two forms on one page, they both work fine on there own. PEA i tried changing the function names but it still doesn't work, I need to get myself a php debugger.
  11. Here is the code, this is my first time using PHP, I assume it has something to do with two PHP-SELF posts on one page, I've used this so I can post the errors on the same page heres the code of the whole page: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!--aaronbrand design for HairyLemonhostel.com--> <html> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <title>Hairy Lemon Hostel : Albania : Saranda</title> <meta name="author" content="Aaron Evans" /> <meta name="date" content="2009-01-01" /> <meta http-equiv="content-language" content="en" /> <meta name="keywords" content="hostel, hostels, albania, accomadation, travel, saranda, tiriana, butrint, hairy-lemon, hairy lemon, cheap hostel, backpacker hostel, youth hostel" /> <meta name="description" content="Hairy Lemon Hostels Traveler Accomadation. Hairy Lemon Hostels are developed by travelers for travelers." /> <link rel="stylesheet" type="text/css" href="saranda.css" /> <link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" /> <script type="text/javascript" src="js/prototype.js"> </script> <script type="text/javascript" src="js/scriptaculous.js?load=effects,builder"> </script> <script type="text/javascript" src="js/lightbox.js"> </script></head> <body> <div id="outer"> <div id="topbg"></div> <div id="inner"> <div id="header"></div> <!-- menu start --> <div id="orangecontainer"> <ul id="navorange"> <li class="c1">Our hostels :</li> <li><a href="/saranda/">Saranda</a></li> <li><a href="/tirana/">Tirana</a></li> <li><a href="/borshi/">Borshi</a></li> <li class="c1">Interested:</li> <li><a href="faq.php">FAQ</a></li> <li><a href="jobs.php">Jobs</a></li> <li></li> </ul> </div> <!--<li class="c1">Our hostels :</li> <li class="c1">Interested:</li>--> <!-- menu end --> <!-- content start --> <div id="content"> <div class="picturebar"><a href="photos/contact2.jpg" rel="lightbox[contact]" title="Albanina from corfu by Ken Hircock <a href="http://ncane.com/7lc<a href=""><img src="photos/thumbs/contact2.jpg" alt="albainafromcorfu" /></a><a href="photos/contact2.jpg "></a></a><a href="photos/contact.jpg" rel="lightbox[contact]" title="Annette your wonderfull host and guests enjoying an evening at hairy lemon"><img src="photos/thumbs/contact.jpg" alt="hairy lemon party" /></a><a href="photos/contact3.jpg" rel="lightbox[contact]" title="Confused? why not get in touch"><img src="photos/thumbs/contact3.jpg" alt="hairy lemon party" /></a></div> <div> <div class="content" > <h1>Contact</h1> <p>Hairy Lemon Hostels</p> <p>13 street name</p> <p>appartment 6, saranda</p> <p>Albania</p> <p>+355 69 355 9317</p> <p><a href="mailto:saranda@hairylemonhostel.com">saranda@hairylemonhostel.com</a></strong></p> <p>you can contact us the email above by using the form below:</p> <?php function VerifyForm(&$value, &$error) { // Do all necessary form verification if (!ereg('.*@.*\..{2,4}', $value['emailadd'])) $error['emailadd'] = 'Email address invalid<br />'; if (strlen($value['name']) == 0) $error['name'] = 'Name required<br />'; if (empty($value['message'])) $error['message'] = 'Message required<br />'; return (count($error) == 0); } function DisplayForm($value, $error) { ?> <?php if (count($error) > 0) echo "Form Errors"; ?> <form action="<?= $_SERVER['PHP_SELF'] ?>" method="post" > <div id="error"> <?= $error['name'] ?><?= $error['emailadd'] ?><?= $error['message'] ?></div> <label for="name">Name:</label> <input id="name" name="name" value="<?= htmlentities($value['name']) ?>"/><br /> <label for="emailadd">E-mail:</label> <input id="emailadd" name="emailadd" value="<?= htmlentities($value['emailadd']) ?>"/><br /> <label for="message">Message:</label> <textarea name="message" rows="5" cols="20" value="<?= htmlentities($value['message']) ?>" ></textarea> <br /> <br /> <label for="submit"></label> <input type="submit" value="submit" /> <br /> </form> <?php } function ProcessForm($value) { $subject="{$value['name']} has sent a message to the hostel"; $message="A {$value['name']} has said: Message: {$value['message']} respond to {$value['emailadd']}"; mail("aaronevans@inbox.com", $subject, $message, "From: \"{$value['emailadd']}\" <{$value['emailadd']}>"); // Thank you link: echo "Thank You {$value['name']}, your email has been sent and we will get back to you as soon as possible"; } if ($_SERVER['REQUEST_METHOD'] == 'POST') { $formValue = $_POST; $formError = array(); if (!VerifyForm($formValue, $formError)) DisplayForm($formValue, $formError); else ProcessForm($formValue); } else DisplayForm(null, null); ?> </div> </div> <!-- content end --> </div> <div id="sidebar"> <!-- sidebar start --> <div class="content"> <h1>Booking Enquiry:</h1> <div class="content"> <?php function VerifyForm(&$values, &$errors) { // Do all necessary form verification if (!ereg('.*@.*\..{2,4}', $values['email'])) $errors['email'] = 'Email address invalid<br />'; if (strlen($values['visitor']) == 0) $errors['visitor'] = 'Name required<br />'; if (strlen($values['month']) == 0) $errors['month'] = 'Month required<br />'; if (strlen($values['date']) == 0) $errors['date'] = 'Date required<br />'; if (strlen($values['arrivial']) == 0) $errors['arrivial'] = 'Arrivial Time required<br />'; if (strlen($values['nights']) == 0) $errors['nights'] = 'Nights required<br />'; if (strlen($values['beds']) == 0) $errors['beds'] = 'Beds required<br />'; return (count($errors) == 0); } function DisplayForm($values, $errors) { ?> <?php if (count($errors) > 0) echo "Form Errors"; ?> <form action="<?= $_SERVER['PHP_SELF'] ?>" method="post" > <div id="error"> <?= $errors['visitor'] ?><?= $errors['email'] ?><?= $errors['month'] ?> <?= $errors['date'] ?><?= $errors['arrivial'] ?><?= $errors['nights'] ?><?= $errors['beds'] ?></div> <label for="visitor">Name</label> <input id="visitor" name="visitor" value="<?= htmlentities($values['visitor']) ?>"/><br /> <label for="e-mail">E-mail</label> <input id="email" name="email" value="<?= htmlentities($values['email']) ?>"/> <br /> <label for="month">Arrival</label> <select name="month" size="0" value="1<?= htmlentities($values['month']) ?>"> <option value=""></option> <option value="January">Jan </option> <option value="Febuary">Feb </option> <option value="March">Mar </option> <option value="April">Apr </option> <option value="May">May </option> <option value="June">Jun </option> <option value="July">Jul </option> <option value="August">Aug </option> <option value="September">Sep </option> <option value="October">Oct </option> <option value="November">Nov </option> <option value="December">Dec </option> </select> <select name="date" size="0" value="<?= htmlentities($values['date']) ?>"> <option value=""></option> <option value="1st">1</option> <option value="2nd">2</option> <option value="3rd">3</option> <option value="4th">4</option> <option value="5th">5</option> <option value="6th">6</option> <option value="7th">7</option> <option value="8th">8</option> <option value="9th">9</option> <option value="10th">10</option> <option value="11th">11</option> <option value="12th">12</option> <option value="13th">13</option> <option value="14th">14</option> <option value="15th">15</option> <option value="16th">16</option> <option value="17th">17</option> <option value="18th">18</option> <option value="19th">19</option> <option value="20th">20</option> <option value="21st">21</option> <option value="22nd">22</option> <option value="23rd">23</option> <option value="24th">24</option> <option value="25th">25</option> <option value="26th">26</option> <option value="27th">27</option> <option value="28th">28</option> <option value="29th">29</option> <option value="30th">30</option> <option value="31st">31</option> </select> <br /> <label for="arrivial" > Time</label> <select name="arrivial" size="0" value="<?= htmlentities($values['arrivial']) ?>"> <option value=""></option> <option value="01:00">1am</option> <option value="02:00">2am</option> <option value="03:00">3am</option> <option value="04:00">4am</option> <option value="05:00">5am</option> <option value="06:00">6am</option> <option value="07:00">7am</option> <option value="08:00">8am</option> <option value="09:00">9am</option> <option value="10:00">10am</option> <option value="11:00">11am</option> <option value="12:00">12pm</option> <option value="13:00">11pm</option> <option value="14:00">2pm</option> <option value="15:00">3pm</option> <option value="16:00">4pm</option> <option value="17:00">5pm</option> <option value="18:00">6pm</option> <option value="19:00">7pm</option> <option value="20:00">8pm</option> <option value="21:00">9pm</option> <option value="22:00">10pm</option> <option value="23:00">11pm</option> <option value="00:00">12am</option> </select> <br /> <label for="nights" >Nights</label> <select name="nights" size="0" value="<?= htmlentities($values['nights']) ?>"> <option value=""></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> </select> Beds <select name="beds" size="0" value="<?= htmlentities($values['beds']) ?>"> <option value=""></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> </select> <br /> <label for="submit"></label> <input type="submit" value="submit" /> <br /> </form> <?php } function ProcessForm($values) { $subject="Booking Enquiry for {$values['date']} {$values['month']}, {$values['beds']} beds & {$values['nights']} nights"; $message="Booking enquiry from: {$values['visitor']} Arrival Date: {$values['date']} {$values['month']} Time: {$values['arrivial']} Number of nights: {$values['nights']} Number of beds: {$values['beds']} respond to {$values['email']}"; mail("aaronevans@inbox.com", $subject, $message, "From: \"{$values['email']}\" <{$values['email']}>"); // Thank you link: echo "Thank You {$values['visitor']}. Your booking enquiry has been submited - we will get back to you as soon as possible "; } if ($_SERVER['REQUEST_METHOD'] == 'POST') { $formValues = $_POST; $formErrors = array(); if (!VerifyForm($formValues, $formErrors)) DisplayForm($formValues, $formErrors); else ProcessForm($formValues); } else DisplayForm(null, null); ?> </div> <div class="outer1"> <div id="sidebarmenu"> <ul> <li><a href="index.php">Home</a></li> <li><a href="reservastions.php">Reservations</a></li> <li><a href="directions.php">Map & Directions</a></li> <li><a href="facilities.php">Facilities</a></li> <li><a href="prices.php">Prices</a></li> <li><a href="contact.php">Contact</a></li> <li><a href="todo.php">Things to do: Saranda</a></li> <li><a href="guestbook.php">Guest book</a></li> <li><a href="photos.php">Photo gallery</a></li> </ul> </div> </div> </div> <!-- sidebar end --> </div> <!-- footer start --> <div id=closer></div> <div id="footer"> © <a href="http://www.hairylemonhostel.com">hairylemonhostel.com</a> | <a href="credits.php">Credits</a> |</div> <!-- footer end --> </div> </div> </body> </html> Any ideas?
  12. thanks for the suggestions, I understand your ideas I felt the same way I did build a website based on the landing page but the client insisted the hostel sites were designed as they are I tried to deviate a little but was told to use specific colors, Its a shame because with a brand like hairy lemon I could have really taken the site somewhere! peter I will certainly take your advice and see what I can do with the word presentation.
  13. bumfluff you keep saying the things i would if i got here first
  14. The requirement of this one were pretty specific; I had a little more scope to get the juices flowing. so what do you think: http://www.aaronbrand.co.uk/draft/hairylemon/hairylemon4/ - I need to make "hairy lemon hostels" stand out far more. (a logo hasn't been finalized yet) - The scale of the objects annoys me.
  15. love it, i like how the bottom divs don't align in straight line, I'm defiantly into the Grey with one bright colour scheme too. (experimenting with it for my first portfolio site)
  16. thank you for that will have a fiddle with it tonight.
  17. hmmm there must be some other error in my code then.. only started using php last week
  18. I think this is probably pretty much obvious. Basicaly I have a page where there is a php form on every page. (there is probs a much better way of doing this...) and I was under the impression that to post errors on the same page & a thank you message the easiest way of doing it is using PHP SELF. However now i have realized that on the "contact" page i will need another form that i would like to use the same technique.. I assume you can't use PHP SELF twice on one page? Page that might help you visualize what i'm trying to do: example
  19. Came up with another poor design... AaronBrand have such a design block at the moment another 2 bad designs: Bleh, BlehBleh
  20. i agree with traxor, i went and designed one for myself after seeing your and it eneded up being just like it: http:/www.aaronbrand.co.uk back to the drawing board
  21. I'm with One if you go though Quidco it works out 50p per year I have been with them for about 5 months now not had a problem.
  22. Surely a liquid layout always would be better? what are the downsides?
  23. Thats looking far better than the original design, why not spice up the navigation link a bit possibly position then directly to the right of the first aid cross?
  24. I love it especially the navigation. I do think the green doesn't work and it think you could try and make the sections less huge.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.