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.

RowruffDesign

Members
  • Joined

  • Last visited

Everything posted by RowruffDesign

  1. Nice design, I like it I got one point, when you press the contact button you go directly to your mail programme. I find this very anoying! It would be better to make a contact page, with a link to the email! You can also put social stuff, like linkedin, on that page Cheers Edit: Didn't saw it in the first place, but your whole content is an image... Can you explain why you choose to do it this way?
  2. It would be better to use a width for the screen, because height will always be different because of the floating! /* #Media Queries ================================================== */ /* Smaller than standard 960 (devices and browsers) */ @media only screen and (max-width: 959px) { // YOUR CSS HERE } /* All Mobile Sizes (devices and browser) */ @media only screen and (max-width: 767px) { // YOUR CSS HERE } /* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */ @media only screen and (max-width: 479px) { // YOUR CSS HERE } /* Additional large screens 1280+ */ @media only screen and (min-width: 1280px) { // YOUR CSS HERE }
  3. You can use some grid based solutions like Skeleton, 960Grid etc. You can probally just give your divs classes, but you need to think of width of the grid specifications for each part Like your menu will be 1/4 and your content 3/4 So, you need to think about with and so on! So, a redesign would be the best option if you want to work with a responsive website
  4. The site only shows text? It is working fine in my google chrome... Otherwise try browser testing from abobe: https://browserlab.adobe.com/en-us/index.html
  5. This might work http://www.awesomecoffeemachines.com/
  6. http://www.youtube.com/watch?v=geoF9fqQbKI This serie, will show you how to do it
  7. Isn't it a better idea to put all the 3 products on 1 site? Then you don't need to reload a whole website everytime! I find it anoying to browse more websites to find a final product
  8. This might help you out http://schoberg.net/2010/03/facebook-fan-us-fixed-position-side-tab-button/
  9. You made this? But you don;t know how to space stuff with margin and padding? Damn! Well, as I said before, you need to use margins and paddings to do this, google is your biggest friend!
  10. Well I checked the code, but their are no errors at all... I made a check with a echo to be sure that the data is send, thats works fine when I post something It only doesn't appear in the database, so it must be something in there...
  11. Well my Ajax is working fine, but the PHP won't send any data to the database But I try firebug, to be sure Thanks
  12. I use chrome, but I can't use the spacebar at all!
  13. Well, it isnt flashing on my screen, so that is not the problem Your site is really slow, it is not really smooth scrolling at all.. If you fix that, your site will probably not flashing at all
  14. Hi guys, I followed a tutorial from phpacademy but there is one thing that isn't working Well the javascript is working and the chat application display all the messages in the database. But when I send a message to the database, it just doesn't get in there... Thanks PS: This is the code where I think it could go wrong: ajax/chat.php <?php require '../core/init.php'; if (isset($_POST['method']) === true && empty($_POST['method']) === false) { $chat = new Chat(); $method = trim($_POST['method']); if ($method === 'fetch') { $messages = $chat->fetchMessages(); if (empty($messages) === true) { echo 'There are currently no messages in the chat'; } else { foreach($messages as $message) { ?> <div class="message"> <a href="#"><?php echo $message['username']; ?></a> says: <p><?php echo nl2br($message['message']); ?></p> </div> <?php } } } else if ($method === 'throw' && isset($_POST['message']) === true) { $message = trim($_POST['message']); if (empty($message) === false) { $chat->throwMessage($_SESSION['user'], $message); } } } classes/Core.php <?php class Core { protected $db, $result; private $rows; public function __construct() { $this->db = new mysqli('localhost', 'root', '', 'chat'); } public function query($sql) { $this->result = $this->db->query($sql); } public function rows() { for($x = 1; $x <= $this->db->affected_rows; $x++) { $this->rows[] = $this->result->fetch_assoc(); } return $this->rows; } } classes/Chat.php <?php class Chat extends Core { public function fetchMessages() { $this->query(" SELECT `chat`.`message`, `users`.`username`, `users`.`user_id` FROM `chat` JOIN `users` ON `chat`.`user_id` = `users`.`user_id` ORDER BY `chat`.`timestamp` DESC "); return $this->rows(); } public function throwMessage($user_id, $message) { $this->query(" INSERT INTO `chat` (`user_id`, `message`, `timestamp`) VALUES (" . (int)$user_id . ", '" . $this->db->real_escape_string(htmlentities($message)) . "', UNIX_TIMESTAMP()) "); } }
  15. Just a quick tip for you: comment all your code and then start to remove the comments from a line of code and see what happens to the site in the browser If you don't understand a function, just google it, lots of information to be found!
  16. You can give your header a bottom margin
  17. You can start with looking up for some tutorials about webdesign and webdevelopment and find out what you like the most
  18. Hi there, For your first question you can use PHP You change your html extention to .php instate of .html So you will now have 2 files: index.php header.php The header.php file will contain everything in html that is now your header. Then you can use the php function include, here is an example <html> <head> </head> <body> <?php include 'header.php'; ?> <div id="content"> </div> <div id="footer"> </div> </body> </html> Then your header.php file will contain all your header information, for example: <div id="header"> <div class="logo"> <img src="logo.png" alt="logo" /> </div> <h1>Site Title</h1> </div> For your second question you can use tutorial that you can find online For example: http://www.youtube.com/results?search_query=photoshop+button&oq=photoshop+button&gs_l=youtube-reduced.3...0.0.0.5400.0.0.0.0.0.0.0.0..0.0...0.0...1ac. http://designmodo.com/css-buttons/ I found a tutorial for your third question http://www.splashnology.com/article/stop-watch-on-css3-without-any-pictures-or-scripts/4833/ If you have more questions, just ask Goodluck
  19. Hi Kev, You can use the function include from PHP To do this, you need to change the file typ of your .html files to .php Otherwise php won't work. So you put all your code from your menu in the menu.php file and save it into your root folder. Then you include the file on everypage under your header and above your content Here is an example menu.php <?php <div id="menu"> <ul> <li><a href="#">Menu Item 1</a></li> <li><a href="#">Menu Item 2</a></li> <li><a href="#">Menu Item 3</a></li> <li><a href="#">Menu Item 4</a></li> <li><a href="#">Menu Item 5</a></li> </ul> </div><!--end menu--> ?> Then you include the php file like this: <html> <head> </head> <body> <div id="header"> </div> <?php include 'menu.php'; ?> <div id="content"> </div> </body> </html> If you have more questions, just ask
  20. You canno't center an image in your CSS. You can make an other div around arround all your code, but under the body tag. You can call this for an example <body> <div id="backgroundimage"> All your code... </div> </body> You can then with css specify your image, just make sure your image is big enough for widther screens, for example 1920*1080 and for mac 2560 x 1440 Hope this helps you out Cheers
  21. You can use border radius for that! This would be the easy way to give every cornver the same rounded corner -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; If you want to give every corner an other value you can use this code: -webkit-border-radius: 10px 15px 20px 5px; -moz-border-radius: 10px 15px 20px 5px; border-radius: 10px 15px 20px 5px; The first value is for the left-top corner, the second value for the right-top corner, the third value for right-bottom corner and the fourth value is for the left-bottom corner. Goodluck
  22. I recommend Skeleton. This site got a great tutorial to make the site fit to 1280 and to wordpress. http://webdesign.tutsplus.com/tutorials/complete-websites/skeleton-to-wordpress-finishing-off/ Cheers
  23. I like your website! I started to use your website right away Keep it going

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.