Jump to content

Krewe

Members
  • Posts

    387
  • Joined

  • Last visited

Everything posted by Krewe

  1. Krewe

    Footer Text

    Hmmm I have come across a problem I am not sure how to fix...I have text in my footer but I am not able to interact with it. Http://www.codekrewe.com/testing HTML: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html><head><title>Home | Code Krewe</title><link rel="stylesheet" href="css/style.css" type="text/css" /></head><body> <div id="container"> <div id="menu"> <div id="nav"> <div id="logo"> <a href="index.php"><Code Krewe ⁄></a> </div> <div id="links"> <ul> <a href="index.php"><li>Home</li></a> <a href="index.php"><li>About</li></a> <a href="index.php"><li>Portfolio</li></a> <a href="index.php"><li>Services</li></a> <a href="index.php"><li>Blog</li></a> <a href="index.php"><li>Contact</li></a> </ul> </div> </div> </div> <div id="contentContainer"> <div id="content"> <div id="topMsg"> <div id="transCurl"><img src="images/transCurl.png" alt="transCurl"></div> <a href="index.php"><div id="dev"></div></a> <a href="index.php"><div id="design"></div></a> <a href="index.php"><div id="host"></div></a> </div> </div> </div> <div id="clearFooter"></div> </div> <div id="footer"> <div id="footerContent"> <div class="pillar"> <h3>Will Work For...Money</h3> <p>I'm for hire! If you have a project that you need finished/started call me, Zach Case, for a free quote! We will talk about what features you would like and we will figure out what you need and what you don't need.</p> <p>Phone: (303) 264-8881</p> <p>E-mail: Krew-d@live.com</p> <a href="test.html">Test</a> </div> <div class="pillar" style="padding-left:25px;padding-right:25px;"> <h3>New News</h3> </div> <div class="pillar"> <h3>Mommy, Look!</h3> </div> </div> </div></body></html> CSS: /*Colors:Background - #eaeceaLinks - #fea40fDark Grey - #222222Orange Bar - #FF8800*/@import url(http://fonts.googleapis.com/css?family=Permanent+Marker|Happy+Monkey);html,body{height:100%;margin:0px;padding:0px;}body{background-color:#EAECEA;background-image:url('../images/whiteTexture.png');}h1,h2,h3,h4,h5,h6{margin:0px;padding:0px;color:#fea40f;font-family: 'Permanent Marker', cursive;font-weight:400;}#container{min-height:100%;width:100%;margin-bottom:-250px;position:relative;}/***************Nav**************/#menu{height:50px;width:100%;min-width:900px;background-color:#111111;font-size:23px;font-family: 'Permanent Marker', cursive;font-weight:500;background-image:url('../images/blackTexture.png');}#nav{margin-left:auto;margin-right:auto;width:900px;height:50px;}#logo{float:left;margin-top:7px;}#logo a:link,#logo a:visited{color:#EAECEA;text-decoration:none;}#logo a:hover,#logo a:active{color:#fea40f;text-decoration:none;}#links{float:right;margin-top:7px;}#links a:link,#links a:visited{color:#EAECEA;text-decoration:none;padding-right:5px;}#links a:hover,#links a:active{color:#fea40f;text-decoration:none;}#links ul{display:inline;list-style-type:none;}#links li{display:inline;list-style-type:none;}/*************Content*************/#contentContainer{width:100%;min-width:900px;height:100%;min-height:250px;background-image:url('../images/curl.png');background-position:top left;background-repeat:no-repeat;}#content{margin-left:auto;margin-right:auto;width:900px;min-height:250px;}#topMsg{height:250px;padding-top:5px;-webkit-box-shadow: 0 8px 10px -10px #111111; -moz-box-shadow: 0 8px 10px -10px #111111; box-shadow: 0 8px 10px -10px #111111;margin-bottom:10px;}#dev{width:210px;height:210px;float:right;background-image:url('../images/web.png');background-position:center middle;background-repeat:no-repeat;}#dev:hover{background-image:url('../images/webHover.png');}#transCurl{float:left;}#design{width:210px;height:210px;float:left;background-image:url('../images/design.png');background-position:center middle;background-repeat:no-repeat;}#design:hover{background-image:url('../images/designHover.png');float:left;}#host{width:210px;height:210px;float:left;background-image:url('../images/hosting.png');background-position:center middle;background-repeat:no-repeat;}#host:hover{background-image:url('../images/hostingHover.png');}/*************Footer*************/#clearFooter{height:250px;clear:both;}#footer{height:250px;width:100%;min-width:900px;background-color:#111111;color:#eaecea;font-family: 'Happy Monkey', cursive;background-image:url('../images/blackTexture.png');}#footer p{margin:0px;padding:0px;font-size:14px;}#footer h1,#footer h2,#footer h3,#footer h4,#footer h5,#footer h6{margin:0px;padding:0px;color:#eaecea;font-family: 'Permanent Marker', cursive;font-weight:500;}#footerContent{width:900px;margin-left:auto;margin-right:auto;}.pillar{width:30%;float:left;}
  2. I'm still not seeing what you are seeing. Sorry. Is anyone else?
  3. I DESPISE dreamweaver templates... they are terrible. PHP Include files are much better in my honest opinion...
  4. All I see when I refresh is a flash of a blank white page... and a majority of sites do that (99.99999999999%).Is that your only problem?
  5. Krewe

    Aligning

    No he moved it into the contact area and moved it up, so it's looks like it is sitting on the contact area.
  6. Change the following css: #datos2 should be changed to: #datos2 {font-family: HoneyScript-Light, cursive;font-size: 30px;line-height: 15px;} #datos1 should be changed to: #datos1 {position: absolute;left: 129px;top: 185px;width: 545px;font-family: HoneyScript-Light, cursive;font-size: 22px;} That fixes the contact page (atleast in chrome)And then everything looks perfect to me.
  7. The images are uploaded correctly to your server, I checked...However the name of the image is what is causing the image not to show up.mensajería-del-campo-areco-01.jpg That is *one* of the images that will not show up.Why you ask? Because images/mensajería-del-campo-areco-01.jpg does not exist. Seems impossible right? Well the i in Mensajeria isn't a normal i, it is a spanish special character. So the website is changing the í to %ed. How to fix this? Easy way would just be to change the í to a regular i, then reupload all the pictures to the server. You don't even have to change your css.
  8. Truthfully Foxy, I don't know... I was just giving the solution
  9. You can not do this (To the best of my knowledge, which I am about 95% sure) with just HTML. So we'll use Javascript!Just an easy onclick function will make this work easy. <a href="YOUR_URL" target="_blank" onclick="window.open("YOUR_2nd_URL"); window.open("YOUR_3rd_URL");">Link text</a> So your code would look something like this. <a href="http://www.facebook.com" target="_blank" onclick="window.open("http://www.w3schools.com/"); window.open("http://www.w3schools.invisionzone.com/");">Link text</a>
  10. Krewe

    backup your DB

    Well do you have the two files the script is trying to include? That could be a big problem.
  11. Krewe

    backup your DB

    It's your DBhost. Godaddy doesn't use local host. To get the host name go to your mysql control panel, open up the database preference for the database you want (NOT PHPMYADMIN) and the host name will be in there. It will be a long-ish link. How to find it:1) Go to the Hosting Control Center for your website2) Go to Database -> MySQL3) Under "Databases Name" find your database4) In the row you see your Database name look to the right and click on the pencil Icon, "Edit/View Details"5) Look at the "Host Name" and you have your dbhost variable!
  12. great point Don :)However, I feel you gotta have some idea of the competition so you can tell people why they need to go with you, not John Doe.
  13. Gimp is a fantastic program, very powerful. Corel Draw is confusing... (Im sure it is easy once you learn it, but for me there is a steep learning curve for it).I agree with everything Boen just said. A designer is going to be hard to promote, you better have some good designs just because of the stiff competition for it. Everyone has a different idea of what a good design is, so know that.
  14. *cough*Look up CMS*cough*It is exactly what you want and it is, like these guys have stated, PHP and MySQL :)Good Luck
  15. That makes a lot of sense, appreciate the explanation!
  16. What the heck is with your class and id names? Why are they so complicated?
  17. I prefer to make my own. It gives me the freedom to give customers/myself the features we need and to not have the features we don't. Plus I learn a lot when i don't rely on a third party.
  18. The map you are talking about, is it interactive? If so try clicking outside the map area and try to highlight. You won't be able to highlight (usually) if you try clicking on the map and high light that way.
  19. If I change the .clearfooter height to 195px instead of 250px it fits. But any idea why that space is there in the first place?Edit: IF you know the answer to that question I would still love to know... it is very odd. However, your changes work perfect and I can't thank you enough! You sure know your stuff.
  20. Thanks Dsone :)I've got one question though. Why does it give me a 50px addition area on the bottom of the page?Everything looks right but the vertical scroll bar is still there and there is approx 50px of space there.
  21. Css: /*Colors:Background - #eaeceaLinks - #fea40fDark Grey - #222222*/@import url(http://fonts.googleapis.com/css?family=Permanent+Marker);html,body{height:100%;margin:0px;padding:0px;}body{background-color:#111111;}h1,h2,h3,h4,h5,h6{margin:0px;padding:0px;color:#fea40f;}#container{width:100%;height:100%;min-width:900px;position: relative;margin-bottom:-250px;}#content{width:900px;height:100%;margin-left:auto;margin-right:auto;background-color:#eaecea;background-image:url('../images/curl.png');background-repeat:no-repeat;background-position:top left;margin-bottom:-250px;}/***************Nav**************/#nav{height:50px;width:100%;background-color:#111111;}#menu{margin-left:auto;margin-right:auto;width:900px;height:50px;font-family: 'Permanent Marker', cursive;font-size:22px;color:#eaecea;}#logo{padding-top:7px;float:left;}#logo a:link,#logo a:visited{color:#eaecea;text-decoration:none;}#logo a:hover,#logo a:active{color:#fea40f;text-decoration:none;}#links{float:right;padding-top:7px;}ul#navLinks{margin:0px;padding:0px;list-style-type: none;}ul#navLinks li{display:inline;list-style-type: none;padding-right:7px;}#links a:link,#links a:visited{color:#eaecea;text-decoration:none;}#links a:hover,#links a:active{color:#fea40f;border-bottom:5px solid #fea40f;}/*************Content*************/#topMsg{width:100%;height:210px;padding-left:210px;}/*************Footer*************/.clearfooter {height: 250px;clear: both;}#footer {height: 250px;width:900px;margin-left:auto;margin-right:auto;background-color:#111111;position: relative;-webkit-box-shadow: 0 -8px 8px -7px black;-moz-box-shadow: 0 -8px 8px -7px black;box-shadow: 0 -8px 8px -7px black;}.footerPillar{float:left;width:30%;padding:5px;} Html: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html><head><title>Home | Code Krewe</title><link rel="stylesheet" href="css/style.css" type="text/css" /></head><body><div id="container"> <div id="nav"> <div id="menu"> <div id="logo"> <a href="index.php"><Code Krewe⁄></a> </div> <div id="links"> <ul id="navLinks"> <li><a href="index.php">Home</a></li> <li><a href="index.php">About</a></li> <li><a href="index.php">Portfolio</a></li> <li><a href="index.php">Services</a></li> <li><a href="index.php">Blog</a></li> <li><a href="index.php">Contact</a></li> </ul> </div> </div> </div> <div id="content"> <div id="topMsg"> </div> </div></div><div id="footer"> <div class="footerPillar"> hfjvbnvjsajvnjsdvnjsdavnbjsd </div> <div class="footerPillar"> vsdvsadvsavasdvsdavasv </div> <div class="footerPillar"> vsadvsdavsadvsavadsvsdavsdvdsa </div></div></body></html>
  22. I know it is. It is so the footer will always be on the bottom of the page. http://fortysevenmed...y_put_with_css/ I was was following that tutorial. Edit: Let me try that / Did not work.What I would like is, if the content of the page does not span the full height of the page the footer will rest on the bottom and the content bg will flow all the way to the start of the footer. If you look what I have right now it is close to what I want, the content is the full 100%. BUT it is going past the footer now... just by like 50px.
  23. Everything I am reading online says the problem for most people is that the html is not set to Height:100%;but mine is... and every other height:100%; is working, but the content.
  24. Hey Guys, I am trying to make my template for my site but I am running into a problem.This is my code (CSS): html,body{height:100%;margin:0px;padding:0px;}body{background-color:#111111;}#container{width:100%;min-height:100%;min-width:900px;margin-bottom: -250px;position: relative;}#content{width:900px;height:100%;margin-left:auto;margin-right:auto;background-color:#eaecea;background-image:url('../images/curl.png');background-repeat:no-repeat;background-position:top left;}/***************Nav**************/#nav{height:50px;width:100%;background-color:#111111;}#menu{margin-left:auto;margin-right:auto;width:900px;height:50px;font-family: 'Permanent Marker', cursive;font-size:22px;color:#eaecea;}#logo{padding-top:7px;float:left;}#logo a:link,#logo a:visited{color:#eaecea;text-decoration:none;}#logo a:hover,#logo a:active{color:#fea40f;text-decoration:none;}#links{float:right;padding-top:7px;}ul#navLinks{margin:0px;padding:0px;list-style-type: none;}ul#navLinks li{display:inline;list-style-type: none;padding-right:7px;}#links a:link,#links a:visited{color:#eaecea;text-decoration:none;}#links a:hover,#links a:active{color:#fea40f;border-bottom:5px solid #fea40f;}/*************Content*************/#welcome{width:100%;height:220px;}/*************Footer*************/.clearfooter {height: 250px;clear: both;}#footer {height: 250px;width:900px;margin-left:auto;margin-right:auto;background-color:#eaecea;position: relative;} Html Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Home | Code Krewe</title><link rel="stylesheet" href="css/style.css" type="text/css" /></head><body><div id="container"> <div id="nav"> <div id="menu"> <div id="logo"> <a href="index.php"><Code Krewe⁄></a> </div> <div id="links"> <ul id="navLinks"> <li><a href="index.php">Home</a></li> <li><a href="index.php">About</a></li> <li><a href="index.php">Portfolio</a></li> <li><a href="index.php">Services</a></li> <li><a href="index.php">Blog</a></li> <li><a href="index.php">Contact</a></li> </ul> </div> </div> </div> <div id="content"> <div id="welcome"> </div> </div><div class="clearfooter"></div></div><div id="footer"></div></body></html> The Content height is not going the full distance between the nav and the footer. It is only going as far as the content will fill (210px at the moment). How can I get it to span the full height/distance between the end of the nav and the beginning of the footer? Http://www.codekrewe.com/testingYou can see what is happening there.
  25. If i understand your problem correctly...You are wanting to delete the posts that were with the category you just deleted, no?So just have two queries, (granted I don't know how you are telling the server/database which category to delete): $id = $_GET['id'];$query = "DELETE FROM categories WHERE id = $id";$resultSet = mysql_query($query,$connection);$query2 = "DELETE FROM posts WHERE cat_id = $id";$resultSet2 = mysql_query($query,$connection); That code is assuming you are getting the id of the category from a link.But that will delete the category, then delete any posts associated with that category.
×
×
  • Create New...