Everything posted by RowruffDesign
-
Hello, can you give me some feedback?
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?
-
Help with media query width/height
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 }
-
Website Design - Review and Suggestions
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
- Chrome not working for website
-
Nespresso machines
This might work http://www.awesomecoffeemachines.com/
- Need Help With My Website Design And Layout
- How to create a website that can let user put in photo
-
What would be the right marketing strategy?
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
-
Help on floating image ( floating facebook like button)
This might help you out http://schoberg.net/2010/03/facebook-fan-us-fixed-position-side-tab-button/
-
Help on floating image ( floating facebook like button)
Search on google for position: fixed, that should do the trick
-
Need some advise with my forum's CSS (SMF)
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!
-
Chat application with Ajax, won't send message to db
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...
-
Chat application with Ajax, won't send message to db
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
-
Javascript-Scrollbar keeps focus when typing in textarea field
I use chrome, but I can't use the spacebar at all!
-
Help with a parallax web site that is flashing and blinking when it shouldn't be.
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
-
Chat application with Ajax, won't send message to db
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()) "); } }
-
Explain this css code...
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!
-
Help css for logo
You can give your header a bottom margin
-
Web site Beginners
You can start with looking up for some tutorials about webdesign and webdevelopment and find out what you like the most
-
First Project, Progress, Questions, and introduction.
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
-
Template/Frame Help
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
-
Home page is getting there! Opinions/advice?
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
-
rounded corners
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
-
best grid framework out there?
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
-
My New Website - www.topthat.com
I like your website! I started to use your website right away Keep it going