-
CMS Basic Questions?
So learning too use a cms is a must if you develop sites for clients who will be frequently be updating the sites themselves?
-
CMS Basic Questions?
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?
-
Cant get an image to repeat-y in a div
Bingo, it worked! Thanks Dizi
-
Cant get an image to repeat-y in a div
applying what to the container div? It looks like this: #container { background: #dde9c4; width: 720px; margin: 0 auto; text-align: left; }
-
Cant get an image to repeat-y in a div
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=(
-
Cant get an image to repeat-y in a div
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; }
-
TUTORIAL: Creating photograph galleries using CSS, HTML and Lightbox
Great tutorial! Will be using it soon.
-
How to get the results from php-script embedded in the webpage
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=)
-
I dont understand padding!
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; }
-
Need help with a small php-code(cookie)
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?
-
how do I implement php into a website?
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?