Jump to content


  • Posts

  • Joined

  • Last visited

About music_lp90

  • Birthday 12/23/1982

Contact Methods

  • Website URL
  • ICQ

Profile Information

  • Location

music_lp90's Achievements


Member (2/7)



  1. Thanks, Apsixos, I am aware of that. I was just using this as a test doc before applying the css to the site I'm developing and found it easier to write up a single doc quickly.
  2. Hey all, I am getting close to having my nav styled the way I want it, but am having trouble figuring out how to make the 2nd level list items stay on the same horizontal line when there is no width specified for the 2nd level "ul". I'll paste the code below, what I want is for the 2nd level list items ("Who we are" "Who we serve" etc.) to be what determines the width of the 2nd level "ul" not the other way around. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Untitled Document</title><style type="text/css">body { background-color:#cccc99; }/* families tier 1 */#nav ul { padding:0px; margin:0px; }/* Who we are tier 2 */#nav ul ul { position:absolute; left:-999em; }#nav ul li:hover ul { left:0px; /* width:540px; SET WIDTH HERE TO SEE WHAT I WANT IT TO LOOK LIKE, EXCEPT I DON'T WANT A WIDTH SPECIFIED SO IT CAN BE ELASTIC */}/* Overview tier 3 */#nav ul ul ul { position:absolute; }#nav li { padding:0px; margin:0px; position:relative; }#nav ul li { float:left; display:block; }#nav ul ul li { position:relative; display:inline; }#nav ul ul ul li { clear:both; }#nav ul ul li.item-102 { width:100%; display:block; float:none; }/* Families */#nav a { display:block; }#nav ul li a { color:#ffffff; font-family:Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size:24px; text-decoration:none; padding:0px; margin:0px 20px; }#nav ul ul li a {font-size:14px;background-image:url(../images/gray-transparent-bg.png);background-color:#848564; background-repeat:repeat;font-family:Arial, Helvetica, sans-serif;padding:3px 0px 0px 0px;margin:0px 5px;font-weight:bold;width:170px;height:17px;text-align:center;}#nav ul ul li a.feature {background-image:none;background-color:none;color:#000000;font-size:18px;padding:0px;margin:5px 0px 5px 0px;height:56px; width:100%; }#nav ul ul li a.feature .image-title { position:absolute; top:22px; padding-left:5px; }a.feature img { border:0px; }/* overview, etc. */#nav ul ul ul li a { background-image:none; background-color:none; text-align:left; color:#333333; font-weight:normal; padding:0px; margin:0px 5px; min-width:170px; width:100%; }#nav ul ul li a:hover { background-image:url(../images/menu-hover-bg.gif); color:#333333; background-position:left; background-repeat:repeat; }#nav ul ul ul ul li a { font-style:italic; min-width:155px; width:155px; }</style></head><body><div id="nav"><ul class="menu" id="families"> <li class="item-106 deeper parent"><a class="families" href="#1" >families</a> <ul> <li class="item-102"><a class="feature" href="http://localhost/#2" >Take a guided tour of the program</a></li> <li class="item-103 deeper parent"><a class="top" href="http://localhost/who" >Who we are</a> <ul> <li class="item-107"><a class="sub1" href="http://localhost/" >Overview</a></li> <li class="item-110"><a href="#p" >Philosophy</a></li> </ul> </li> <li class="item-104"><a class="top" href="http://localhost/serve" >Who we serve</a></li> <li class="item-105 deeper parent"><a class="top" href="http://localhost/expect" >What to expect</a> <ul> <li class="item-111"><a href="#c" >Cost</a></li> </ul> </li> </ul> </li> <li class="item-108 deeper parent"><a class="staff" href="#" >staff</a> <ul> <li class="item-112"><a href="#b" >Bios</a></li> </ul> </li> <li class="item-109"><a class="partners" href="#" >partners</a></li></ul></div></body></html> Thanks!
  3. music_lp90

    proper CSS?

    You may want to consider using something like a php include for the navigation. This way you can create one file with your navigation in it and then wherever you want it to apper on a page you write:<?php include("navigation.php"); ?> You would have to save all of your .htm pages as .php files to do this, though, but then when you have to update the navigation, it's in one place instead of updating every page. You also would have to have php on your server or asp or whatever language you use to do the includes.
  4. Hey Deck,Are you using any programs like Photoshop to draw up the design first before you code it or are you jumping right into coding and trying to design from the code? I find it much easier to create the design in photoshop first and then replicate the design with code.
  5. Cool, that makes sense. Thanks, trevelluk.
  6. public function getTitle() { return $this->title; } public function getControllerFile() { return $this->controllerFile; } public function getHeaderFile() { return $this->headerFile; } Those functions don't seem necessary to me, but maybe I'm missing something. Why have a function to get these values?can't you just do something like this?$obj = new module();echo $obj->title;as opposed to something like this:$obj = new module();$title = $obj->getTitle();echo $title;I'm pretty new to OOP, so maybe there's a good reason for it, but wasn't sure.
  7. It works the same. Can you post your code?
  8. Thanks, for the info. That helps a lot, especially helpful in knowing about how much RAM we would need.
  9. Hi all,I have been researching webhosts for a while now and there's so many out there, it has not been easy. I think I've narrowed it down to a few, but am trying to figure out if I will need VPS. The one host that I've talked to about it is strongly recommending that we go with VPS. Our current account is a shared host and they have not mentioned anything to us about using too much bandwidth, CPU, or RAM, so I am trying to figure out if it's really necessary and if it will be beneficial.Here's some of our usage stats:Visits: 22,000-31,000Bandwidth: 80-175 GBAnything else that might be helpful in determining if VPS is appropriate?I think those numbers are fairly high, and the sales person is being honest, but at the same time, our site runs pretty well on our current shared host. I'm being asked to find a new host because of a number of recent issues we've had such as downtime due to our host having routing issues, them upgrading to PHP 5.3 without any notice to us, which was not compatible with our current site, and they had some hardware failures that caused downtime. Switching to VPS would mean another $20 or $30/mo.Also, with VPS, if we went with it, how much RAM would be appropriate or how could I determine this?Thanks for your help!
  10. Search engines do take into account keywords in the URL like your second one. I don't believe it's a huge factor, but helps.
  11. Something like this? http://tinymce.moxiecode.com/
  12. After submitting the form, do you mean the data is still there after hitting back on the browser or are you going back and then hitting refresh and it still stays after hitting refresh?
  13. music_lp90

    blue form input

    The font color? if so, in your css style sheet you can go input { color:blue; } or give it a class name .usrInput { color: blue; } It would be best to give it a class name unless you want all form inputs to have blue text such as the submit button.
  14. By the way, the thumbnail images that aren't shown could just be a small gif used for each image, to prevent waiting for them to load. Only the <a href=""> will need the source of the images you want seen after clicking the first image that opens up lightbox.
  15. I think you should be able to do it the same way, but in each of the images that you don't want seen initially, just put style="display:none;". You could also do it in an external style sheet. .hiddenImg { display:none; }and give each image the class="hiddenImg". That would be the preferred way.
  • Create New...