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.

Th0mas

Members
  • Joined

  • Last visited

  1. So learning too use a cms is a must if you develop sites for clients who will be frequently be updating the sites themselves?
  2. Good thread...I am interested in learning about cms myself. Question: Can I first code the site in xhtml/css, and then apply a cms to it afterwards?
  3. Bingo, it worked! Thanks Dizi
  4. applying what to the container div? It looks like this: #container { background: #dde9c4; width: 720px; margin: 0 auto; text-align: left; }
  5. Yes, I stripped it down. So it has height. I tried removing the background-colors in content_left and right, maybe they where overlapping the background image, but no go=(
  6. I have an image that is 720*7px (is is lightgreen with a 3px white border on both sides) that I want to repeat vertically as a background in the content div, but the damn image wont display! Whats wrong? HTML: <div id="content"> <div id="content_left"></div> <div id="content_right"></div> </div> CSS: #content { width: 720px; background: url(../_images/content_bg.gif) repeat-y; } #content_left { float: left; background: #DDE9C4; width: 210px; text-align: center; line-height: 2em; padding-right: 15px; padding-left: 15px; display: inline; padding-top: 10px; padding-bottom: 10px; border-right: 2px solid #FFF; margin-top: 10px; min-height: 400px; } #content_right { background: #DDE9C4; width: 450px; float: right; margin-top: 10px; padding-right: 10px; padding-left: 10px; padding-top: 10px; }
  7. I have a html page with a form that allows a user to send an email to me. It works, and I get the email when i press the submit-button. But how do I display the original html-page with a <p>Thanks for the mail</p> in the content, instead of a new, blank page like the php-code does. Here`s the current code: <?php $to = "tthorki@gmail.com"; $from = $_POST['avsender']; $subject = $_POST['tema']; $message = $_POST['beskjed']; if (mail($to, $from, $message)) { echo "<p>Thanks for the mail</p>"; } else { echo "<p>Mail wasnt sendt.</p>"; } ?> I want the echoes above to appear on a similar html-page as the form, not on a new blank one wich this generates. Hope someone can help=)
  8. I have a content-div, and want 10px padding within it. I apply the style, but that makes the div 10px wider, and it pops out to the right from the rest of the divs below and above. I thought padding only affected the space INSIDE the element. What do I do wrong? #content { width: 885px; margin: auto; background-color: #1f1f1f; padding: 10px; }
  9. I want to make a cookie in php which does this: Displays a message when I visit the site (for example <h1>Hello!</h1>), and then I can choose if I want to display that message the next time I visit the site. Any tips for how I can make this cookie?
  10. I`m starting a new website, and already have some knowledge of html and css. I also know some php-coding, but not much. Anyway, I thought I would make an image-gallery and guestbook in php for my site. How is that done? So I include php-code in the photogallery.html file, or do I have to make a photogallery.php file and do all the coding (html,css,php) in there?

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.