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.

PhunkRabbit

Members
  • Joined

  • Last visited

Reputation Activity

  1. Like
    PhunkRabbit got a reaction from jheg in Any recs for a free back up solution for windows?   
    Norton Ghost if you are looking to backup the whole system.
     
    Drop Box if you are backing up work, documents and installers etc.
  2. Like
    PhunkRabbit got a reaction from Starseed in My first mock up   
    I like it. The design structure is good, the most important parts are on the left and it should turn into a nice clean design.
     
    I would use a better font for your name at the top. Somthing bold and eye catching, possibly a thick script style font like http://www.dafont.com/ballpark-weiner.font or http://www.dafont.com/gabrielle.font in white with only a subtle shadow and/or gradient.
     
    The colour is nice however blue is a little overused in my opinion, I would look to either introduce a second colour in addition (Rich yellow or a deep orange (think Ford Focus RS colour)). Light and mid tone greys will look really nice too, similar to the content box background at present.
     
    I would also reduce the spacing between the boxes and the edge of the content area, maybe down to 5 to 10 pixels at the thickest.
  3. Like
    PhunkRabbit reacted to user-removed in IE/Firefox margin issue - Baffled!   
    What Phunk says. Sometimes you have to be quite strict and bossy with your CSS code to force the browsers to display elements properly. This is where a CSS Reset may come in handy.
  4. Like
    PhunkRabbit reacted to Renaissance-Design in Form Redesign Prototype   
    Yeah, I'd dothe client-side validation as they move from field to field. It's less hassle for them than finishing and submitting that part of the form, then having to go back to it.
     
    Might be worth submitting each section of the form as you go with AJAX - means even is someone is interrupted while filling it out, you've still captured name and address and can follow up with a phone call (worth it on a high-ticket item like this).
  5. Like
    PhunkRabbit got a reaction from Truffle in Div glued to bottom of another Div (cant move it!)   
    Remove the height from :

    #contact_buttons and use padding or margin on:

    #contact_buttons_text to get the desired height.
  6. Like
    As the current guides on the web seem to overcomplicate how to do this, I thought I’d try to make a simpler guide, using a single function in php. Please note that this script doesn't include any validation, all this does is send the email.
     
     
    This is an example of how to use the function
     
     
    Starting off with the basic details, pretty much self-explanatory
     

    $RecipientEmail = "joebloggs@example.com"; $RecipientName = "Joe Bloggs"; $SenderEmail = "fredbloggs@example.com"; $SenderName = "Fred Bloggs"; $subject = "lorem ipsum";
     
     
    You can specify multiple emails with cc and bcc, the emails must be separated with commas
     

    $cc = "alice@example.com, bob@example.com"; $bcc = "johndoe@example.com";
     
     
    Set the type as blank for the message to be HTML (recommended), or set it as plain for plain text
     

    // For HTML $type = ""; // For plain text $type = "plain";
     
     
    Your message can contain UTF-8 characters, so this will allow you to send emails in multiple languages
    (Just using "lorem ipsum" in this example)
     

    $message = "<b>Sed urna odio, imperdiet a semper ut, fermentum ut tellus.</b> Quisque tempor venenatis quam, ut porttitor lacus pretium sit amet.";
     
     
    In addition you can change the priority of the email
     

    // For normal leave it blank $priority = ""; // For high use "high" $priority = "high"; // For low use "low" $priority = "low";
     
     
     
    The attachments
     
    Attachments are specified in an array, in the format location:type:name
     
    The reason for having both location and name in the attachments is simple. It is better to have the name mountains.jpg instead of IMG_0001.JPG appear when the recipient opens the email.
     
    Colons have to be used to separate each section, and the location cannot be external (i.e. another website)
     
     
    You can do it like this
     

    $attachments = array("attachments/01.jpg:image/jpeg:one.jpg", "attachments/01.jpg:image/jpeg:two.jpg", "attachments/03.jpg:image/jpeg:three.jpg");
     
     
    Or like this (Both work exactly the same)
     

    $attachments[0] = "attachments/01.jpg:image/jpeg:one.jpg"; $attachments[1] = "attachments/02.jpg:image/jpeg:two.jpg"; $attachments[2] = "attachments/03.jpg:image/jpeg:three.jpg"; // And so on...
     
     
    If you don't need attachments, just leave it blank
     

    $attachments = "";
     
     
    Introducing the function
     
     
    Here is a clear layout, just showing the variables from above being passed into the function
     

    $sent = Email($RecipientEmail, $RecipientName, $SenderEmail, $SenderName, $cc, $bcc, $subject, $message, $attachments, $priority, $type); echo $sent ? "It worked!!" : "It didn't work"; // ^ This is used to test if it worked
     
    The full function
     
    I’ve put it into a block of full code so it’s easier to copy, I’ve included comments to try and explain how it works. I recommend that you put this somewhere separate and name it something like “email.function.php”, and include it in your main code.
     
    e.g.
     

    include('email.function.php');
     
    Without further ado the full function…
     

    // This work is licensed under a Creative Commons Attribution-NonCommercial 3.0 Unported License function Email($remail, $rname, $semail, $sname, $cc, $bcc, $subject, $message, $attachments, $priority, $type) { // Checks if carbon copy & blind carbon copy exist if($cc != null){$cc="CC: ".$cc."\r\n";}else{$cc="";} if($bcc != null){$bcc="BCC: ".$bcc."\r\n";}else{$bcc="";} // Checks the importance of the email if($priority == "high"){$priority = "X-Priority: 1\r\nX-MSMail-Priority: High\r\nImportance: High\r\n";} elseif($priority == "low"){$priority = "X-Priority: 3\r\nX-MSMail-Priority: Low\r\nImportance: Low\r\n";} else{$priority = "";} // Checks if it is plain text or HTML if($type == "plain"){$type="text/plain";}else{$type="text/html";} // The boundary is set up to separate the segments of the MIME email $boundary = md5(@date("Y-m-d-g:ia")); // The header includes most of the message details, such as from, cc, bcc, priority etc. $header = "From: ".$sname." <".$semail.">\r\nMIME-Version: 1.0\r\nX-Mailer: PHP\r\nReply-To: ".$sname." <".$semail.">\r\nReturn-Path: ".$sname." <".$semail.">\r\n".$cc.$bcc.$priority."Content-Type: multipart/mixed; boundary = ".$boundary."\r\n\r\n"; // The full message takes the message and turns it into base 64, this basically makes it readable at the recipients end $fullmessage .= "--".$boundary."\r\nContent-Type: ".$type."; charset=UTF-8\r\nContent-Transfer-Encoding: base64\r\n\r\n".chunk_split(base64_encode($message)); // A loop is set up for the attachments to be included. if($attachments != null) { foreach ($attachments as $attachment) { $attachment = explode(":", $attachment); $fullmessage .= "--".$boundary."\r\nContent-Type: ".$attachment[1]."; name=\"".$attachment[2]."\"\r\nContent-Transfer-Encoding: base64\r\nContent-Disposition: attachment\r\n\r\n".chunk_split(base64_encode(file_get_contents($attachment[0]))); } } // And finally the end boundary to set the end of the message $fullmessage .= "--".$boundary."--"; return mail($rname."<".$remail.">", $subject, $fullmessage, $header); }
     
    Thanks, if I’ve missed out anything please let me know, and I hope that this helps
  7. Like
    PhunkRabbit got a reaction from Truffle in Div glued to bottom of another Div (cant move it!)   
    If the IE is IE6 then it is likely to be a double margin bug as suggested above.
     
    If it is IE7 then it is likely to be a broken box model issue that will also affect IE6.
     
    If it is IE8 then check Firefox as it should also be affected, if not then I have no idea without seeing the underlying code.
     
    If it is IE9 then it could be a float or position issue with malformed HTML.
     
     
    Make sure the containing element is wide enough for the content.
    Make sure that the CSS is not defining additional margin or padding (with a CSS reset).
     
    Edit:
    Also try validating both the HTML and CSS, it might point out the issue.
  8. Like
    PhunkRabbit reacted to Lewwy in 6 SEO Improvements You Can Make Right Now   
    Hey guys,
     
    This blog post was aimed primarily at businesses just startng out in SEO, so the tips might seem basic to some of you SEO gurus, but I'm sure there is someone out there it will be of use to!
     
    Let me know what you think or if any of the info is off, misleading or unsupported.
     
    6 SEO Improvements You Can Make Right Now
     
    The website is pretty new and I'm hoping to make a business of it when I return from a year out in Australia!
     
    Lewis.
  9. Like
    PhunkRabbit got a reaction from mrludable in Dreamweaver?   
    I use a mix of Dreamweaver CS5.5 (£18/m on subscription from Adobe) and PHP Designer 7 http://www.mpsoftware.dk/phpdesigner.php.
     
    There are plenty of free alternatives such like Notepad++ as mentioned above.
     
    You will find allot of "elitists" who like to go on about how they only use notepad etc but given the ammount of free IDE's it is very foolish not to take advantage of the features available in programs specifically for coding/programming, i.e. productivity, speed and help in the form of code suggestion, documentation intergration and project data (available css styles and PHP variables for example).
  10. Like
    PhunkRabbit reacted to MOTIF.tv in Web Designing making me mad!   
    Some days I'll steam through the work without a hickup and other days I'll spend hours wondering why the margin is bigger in IE than it is in Firefox and then finally realise it's very simple to sort , usually Float:left; Display:inline
     
    However if I didn't get these challenges from time to time I'd never feel like i'd acomplished anything. It's great when you solve an issue and then you know what to do when it happens again
     
    Welcome to the world of web development
  11. Like
    PhunkRabbit got a reaction from kingy da killa in How do i go about this?   
    They are just content boxes "floated" next to each other, in its rawest form:
     

    <ul id="videos"> <li><a href="#"><img src="videothumbnail.jpg" alt="" /></a></li> <li><a href="#"><img src="videothumbnail.jpg" alt="" /></a></li> <li><a href="#"><img src="videothumbnail.jpg" alt="" /></a></li> <li><a href="#"><img src="videothumbnail.jpg" alt="" /></a></li> <li><a href="#"><img src="videothumbnail.jpg" alt="" /></a></li> <li><a href="#"><img src="videothumbnail.jpg" alt="" /></a></li> <li><a href="#"><img src="videothumbnail.jpg" alt="" /></a></li> <li><a href="#"><img src="videothumbnail.jpg" alt="" /></a></li> </ul>
     

    ul#videos { width:400px; list-style:none; float:left; } ul#videos li { float:left; width:90px; padding:10px 5px; }
     
    That will produce two rows of four video screenshots. To have them open up I would suggest using a JQuery lightbox (that supports flash/HTML5) and when you click one of the video thumbnails the lightbox opens up and shows the video via the embed code.
     
    I hope I have understood what you ment and this answers it a little bit.
  12. Like
    PhunkRabbit reacted to oakleaves in IE/Firefox margin issue - Baffled!   
    You have an unclosed div tag on line 54
     
    </div <!-- end head_wrap -->
     
    Fix this first and get back if you still have the problem
  13. Like
    PhunkRabbit got a reaction from kingy da killa in help with nav image +1s giveaway lol   
    In the CSS change ".current_page_item" to be ".current_page_item a"
     
    It looks like the dark blue on hover is on the anchor. You are going to need to either put this on the li and handle rollovers using li:hover (not IE6 friendly) or use a more messy method with adding spans inside the anchor so that you can hook into it via "li a:hover span". If that makes sence.
  14. Like
    I have no clue on how to make a flash slide show, but I have played around with a few JavaScript sliders.
     
    js slider and Nivo Slider
     
    They are really easy to use and there is loads of documentation on the sites. If you really get stuck there are many tutorials especially on the Nevo slider.
     
    Hope this helps
  15. Like
    PhunkRabbit got a reaction from Truffle in Div glued to bottom of another Div (cant move it!)   
    Is this live anywhere? Also, you cant trust the Dreamweaver preview window.
  16. Like
    PhunkRabbit got a reaction from Truffle in Div glued to bottom of another Div (cant move it!)   
    Try removing the height attribute from the footer and giving it an overflow value of auto. It "could" be a float/clear issue looking at your code but it is hard to do more than theory without a live example.
  17. Like
    PhunkRabbit got a reaction from Truffle in Div glued to bottom of another Div (cant move it!)   
    Ah sorry now I understand.
     
    To put it simply try doing the following:
     
    Replace:
     

    #footer { padding-top:2px; background-color:#666; height: 40px; width: 100%; position:fixed; left:0px; bottom:0px; padding-left:30px; padding-right:60px; }
     
    With
     

    #footer { padding:2px 0 5px 0; background-color:#666; overflow:auto; width: 100%; position:fixed; left:0px; bottom:0px; padding-left:30px; padding-right:60px; }
     
    In theory this should now contain all of the contents while providing space at the bottom however it might be too tall but this will atleast show whether it is a possible issue with the "floated" elements.
     
     
    Edit, code tags.
  18. Like
    PhunkRabbit got a reaction from Truffle in Div glued to bottom of another Div (cant move it!)   
    If you are talking about centering the Footer then do the following:
     

    #footer { padding:2px 0 5px 0; background-color:#666; overflow:auto; width: 900px; /* THIS NEEDS TO BE THE DESIRED WIDTH & A FIXED VALUE NOT A % */ margin: 0 auto; /* PUT text-align:center; ON THE BODY TAG (body:text-align:center;) */ text-align:left; /* YOU MAY NEED TO APPLY THIS TO OTHER ELEMENTS OR A CONTAINING ELEMENT THAT CONTAINS EVERYTHING, TYPICALLY THIS COULD BE #wrapper OR #container */ position:fixed; left:0px; bottom:0px; padding-left:30px; padding-right:60px; }
     
    The caps are for catching your eye, im not shouting
  19. Like
    As someone who does have a moral compass (sorry guys), I would say stand your ground. I would refuse the project as well. If he fires you, he fires you. You will still feel good for standing up for what you believe. You have a right to say you feel uncomfortable with that sort of project and as an employer he should respect that especially given the nature of it.
     
    People say to suck it up and do your job. Sorry, I don't buy that. Thats being nothing but a button monkey and a 'yes' man. Do what you feel is right.
  20. Like
    PhunkRabbit got a reaction from kingy da killa in help with nav image +1s giveaway lol   
    if you update the live code I can have a look and try to tidy the merged code. Glad it worked.
  21. Like
    PhunkRabbit got a reaction from kingy da killa in help with nav image +1s giveaway lol   
    Rather than use "http://www.buy-proargi9.co.uk/wp-content/themes/blank-theme-sticky-fotter/library/images/arrow.png" as the background image you could place it within the anchor and physically position it -1px bottom but that is going to be very messy and will require some cross browser manipulation.
     
     
    Edit:
     
    Or break the box model by placing the background image on the anchor and have the anchor overflow out of the ul obviously watching for issues with IE.
  22. Like
    PhunkRabbit got a reaction from nuksies in It's BROKEN but I don't know why!   
    You can also use this CSS
    overflow:auto; on the container to self fix the clearing issue. AFAIK this is cross browser compatible.
  23. Like
    PhunkRabbit got a reaction from kingy da killa in cant get my list style image in place. HELP :D   
    I would remove the image as a list style and make it a background image on the anchor.
     
    Not only will this improve the accessability by enlarging the clickable area but it will also give you greater control over how the image is positioned.
  24. Like
    PhunkRabbit reacted to Jack in Portfolio review   
    I can see the concept you are trying to portray. However there is just too much going on.
     
    Your graphics, in particular the header image is blurry, and some are to sharp.
     
    The selotape images don't look right, you can get some nice PS brush's to achive this.
     
    Your main content area needs some work for a few reasons:
     
    Readability, on that background im struggling to read the text clearly, I would consider removing it.
     
    Placement, there doesn’t seem to be any clear indication of where the text is placed, it just looks a bit scattered.
     
    Don't take this personally but I think it would be best to go back to the drawing board. Don't be afraid of taking time on a design to get every element as perfected as you can, take a few days away from looking at the design, come back, are you still as happy with it now as when you were a few days ago?
     
    Take inspiration from other people work, but don't copy! Theres tonnes of sites like this around.
  25. Like
    PhunkRabbit reacted to evu in hi everyone   
    Hi brad, welcome to WDF! Good to see another avid gamer! What is your weapon?
     
    Seeing as you've just left school, now's the time to get looking at suitable college courses, if you haven't got one lined up already, and try your damn hardest to get an apprenticeship. You only get a small window of opportunity, aged 16-18 usually, to get an apprenticeship so go now. I know I wish I did.
     
    If you're literally just starting out web design, go take a look at html-dog.com and w3schools and have a search on google for "design theory".
     
    Best of luck,
    ~evu.

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.