Jump to content

ModernAlliance

Members
  • Posts

    4
  • Joined

  • Last visited

ModernAlliance's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. Thanks to RahXephon I'm finally tackling CSS styles. I'm finally realizing why everyone sings their praises. But I still have questions. Right now I'm trying to figure out how to control the spacing between lines of text. When I'm typing something (specifically a list) and hit enter, dreamweaver is wanting to give me a huge amount of space. how can i change this? i'm trying to set it up through styles because i've set a style for my list. mike
  2. THE FIRST BG COLOR I PUT IN TO GET A GREEN BACKGROUND AROUND THE PAGE.
  3. sorry about posting the code like that. where do i find the code box? thanks for the help!
  4. I'm having some problems with the background color and link color on a site i'm working on. i've got the color for the bground set as white, but for some reason it's showing up dark gray. also, on my links, they are showing up as purple (see the essential oil link). i have it set as white. i'm working in dreamweaver and have checked my property settings and looked through the code but can't figure it out. i'm using some code for a drop down menu for the first time and am thinking that it could be somewhere in that. could someone take a look through the code and see where i'm missing the problems. thanks guys (and gals).mike <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><title>Welcome to Advanced Healing :: Live Healthy. Stay Healthy.</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><style type="text/css">#dropmenudiv{position:absolute;border-bottom-width: 0;font:normal 10px Verdana;line-height:18px;z-index:100;}#dropmenudiv a{width: 100%;display: block;text-indent: 3px;padding: 1px 0;text-decoration: none;font-weight: bold;}#dropmenudiv a:hover{ /*hover background color*/background-color: Yellow;}.style2 {font-size: xx-small}.style4 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small; font-weight: bold; color: #663366;}.style5 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: xx-small; color: #663366;}a:link { text-decoration: none;}a:visited { text-decoration: none;}a:hover { text-decoration: underline;}a:active { text-decoration: none;}</style><script type="text/javascript">/************************************************ AnyLink Drop Down Menu- © Dynamic Drive (www.dynamicdrive.com)* This notice MUST stay intact for legal use* Visit [url="http://www.dynamicdrive.com/"]http://www.dynamicdrive.com/[/url] for full source code***********************************************///Contents for menu 1var menu1=new Array()menu1[0]='<a href="http://www.youngliving.us">Immunity</a>'menu1[1]='<a href="http://www.youngliving.us">Weight Management</a>'menu1[2]='<a href="http://www.youngliving.us">Enzymes</a>'menu1[3]='<a href="http://www.youngliving.us">Digestive Aids</a>'menu1[4]='<a href="http://www.youngliving.us">Liver</a>'menu1[5]='<a href="http://www.youngliving.us">Bone and Join</a>'menu1[6]='<a href="http://www.youngliving.us">Cardio Health</a>'menu1[7]='<a href="http://www.youngliving.us">Heavy Metals</a>'menu1[8]='<a href="http://www.youngliving.us">Female Health</a>'menu1[9]='<a href="http://www.youngliving.us">Male Health</a>'menu1[10]='<a href="http://www.youngliving.us">Dietary Supplements</a>'menu1[11]='<a href="http://www.youngliving.us">Urinary Tract Support</a>'menu1[12]='<a href="http://www.youngliving.us">Nutritional Collections</a>'//Contents for menu 2, and so onvar menu2=new Array()menu2[0]='<a href="http://cnn.com">Skin Care</a>'menu2[1]='<a href="http://msnbc.com">Bath and Shower</a>'menu2[2]='<a href="http://news.bbc.co.uk">Hair Care</a>'menu2[3]='<a href="http://cnn.com">Deodorants</a>' var menuwidth='100px' //default menu widthvar menubgcolor='lightyellow' //menu bgcolorvar disappeardelay=250 //menu disappear speed onMouseout (in miliseconds)var hidemenu_onclick="yes" //hide menu when user clicks within menu?/////No further editting neededvar ie4=document.allvar ns6=document.getElementById&&!document.allif (ie4||ns6)document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')function getposOffset(what, offsettype){var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;var parentEl=what.offsetParent;while (parentEl!=null){totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;parentEl=parentEl.offsetParent;}return totaloffset;}function showhide(obj, e, visible, hidden, menuwidth){if (ie4||ns6)dropmenuobj.style.left=dropmenuobj.style.top="-500px"if (menuwidth!=""){dropmenuobj.widthobj=dropmenuobj.styledropmenuobj.widthobj.width=menuwidth}if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")obj.visibility=visibleelse if (e.type=="click")obj.visibility=hidden}function iecompattest(){return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body}function clearbrowseredge(obj, whichedge){var edgeoffset=0if (whichedge=="rightedge"){var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15dropmenuobj.contentmeasure=dropmenuobj.offsetWidthif (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth}else{var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffsetvar windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18dropmenuobj.contentmeasure=dropmenuobj.offsetHeightif (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up?edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeightif ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge}}return edgeoffset}function populatemenu(what){if (ie4||ns6)dropmenuobj.innerHTML=what.join("")}function dropdownmenu(obj, e, menucontents, menuwidth){if (window.event) event.cancelBubble=trueelse if (e.stopPropagation) e.stopPropagation()clearhidemenu()dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudivpopulatemenu(menucontents)if (ie4||ns6){showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)dropmenuobj.x=getposOffset(obj, "left")dropmenuobj.y=getposOffset(obj, "top")dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"}return clickreturnvalue()}function clickreturnvalue(){if (ie4||ns6) return falseelse return true}function contains_ns6(a, {while (b.parentNode)if ((b = b.parentNode) == a)return true;return false;}function dynamichide(e){if (ie4&&!dropmenuobj.contains(e.toElement))delayhidemenu()else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))delayhidemenu()}function hidemenu(e){if (typeof dropmenuobj!="undefined"){if (ie4||ns6)dropmenuobj.style.visibility="hidden"}}function delayhidemenu(){if (ie4||ns6)delayhide=setTimeout("hidemenu()",disappeardelay)}function clearhidemenu(){if (typeof delayhide!="undefined")clearTimeout(delayhide)}if (hidemenu_onclick=="yes")document.onclick=hidemenu</script></head><body bgcolor="#BACE99" leftmargin="0" marginheight="0" marginwidth="0" topmargin="0"><body><table width="936" bgcolor="#FFFFFF" border="0" align="center" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td colspan="3" rowspan="2" valign="top" bgcolor="#7A619A"><img src="IMAGES/untitled.jpg" width="185" height="125"></td> <td height="90" colspan="14" valign="top"><img src="IMAGES/HEADER/LAVENDERv2.jpg" width="751" height="90"></td> </tr> <tr> <td height="35" colspan="3" align="center" valign="middle" bgcolor="#663366" ><span class="style2"><font color="#FFFFFF" face="Verdana, Arial, Helvetica, sans-serif"><a href="ESSENTIAL OILS.html">Essential Oils</a></font></span></td> <td width="125" align="center" valign="middle" bgcolor="#663366"></font><a href="file:///C|/1)%20DESIGN/YOUNG%20LIVING/default.htm" class="style2" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, menu1, '150px')" onMouseout="delayhidemenu()"><font color="#FFFFFF" face="Verdana, Arial, Helvetica, sans-serif">Nutritional Supplements</font></a></td> <td colspan="3" valign="middle" bgcolor="#663366"><div align="center" class="style2"><a href="file:///C|/1)%20DESIGN/YOUNG%20LIVING/default.htm" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, menu2, '150px')" onMouseout="delayhidemenu()"><font color="#FFFFFF" face="Verdana, Arial, Helvetica, sans-serif">Personal Care</font></a></div></td> <td colspan="3" align="center" valign="middle" bgcolor="#663366"><span class="style2"><font color="#FFFFFF" face="Verdana, Arial, Helvetica, sans-serif">KidScents</font></span></td> <td width="123" align="center" valign="middle" bgcolor="#663366"><span class="style2"><font color="#FFFFFF" face="Verdana, Arial, Helvetica, sans-serif">Massage</font></span></td> <td colspan="3" align="center" valign="middle" bgcolor="#663366"><span class="style2"><font color="#FFFFFF" face="Verdana, Arial, Helvetica, sans-serif">Contact</font></span></td> </tr> <tr bgcolor="#999999"> <td height="10" colspan="17" valign="top"><img src="IMAGES/HEADER/low-bar.jpg" width="936" height="10"></td> </tr> <tr bgcolor="#999999"> <td height="35" colspan="3" valign="top" bgcolor="#EBEBEB"><!--DWLayoutEmptyCell--> </td> <td width="22"></td> <td width="16"></td> <td width="87"></td> <td></td> <td width="8"></td> <td width="11"></td> <td width="110"></td> <td width="110"></td> <td width="11"></td> <td width="6"></td> <td></td> <td width="90"></td> <td width="16"></td> <td width="16"></td> </tr> <tr bgcolor="#999999"> <td colspan="3" rowspan="3" align="center" valign="middle" bgcolor="#EBEBEB"><img src="IMAGES/jessandgab.jpg" width="143" height="118"></td> <td height="19"> </td> <td valign="top" bgcolor="#EBEBEB"><!--DWLayoutEmptyCell--> </td> <td colspan="10" valign="middle" bgcolor="#EBEBEB"><span class="style4">Featured Products</span></td> <td valign="top" bgcolor="#EBEBEB"><!--DWLayoutEmptyCell--> </td> <td> </td> </tr> <tr bgcolor="#999999"> <td height="25"></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr bgcolor="#999999"> <td height="73"></td> <td></td> <td colspan="3" rowspan="3" valign="top"><!--DWLayoutEmptyCell--> </td> <td></td> <td colspan="2" rowspan="3" valign="top"><!--DWLayoutEmptyCell--> </td> <td></td> <td colspan="3" rowspan="3" valign="top"><!--DWLayoutEmptyCell--> </td> <td></td> <td></td> </tr> <tr bgcolor="#999999"> <td width="21" rowspan="5" valign="top" bgcolor="#EBEBEB"><!--DWLayoutEmptyCell--> </td> <td width="143" height="16" valign="top" bgcolor="#EBEBEB"><!--DWLayoutEmptyCell--> </td> <td width="21" rowspan="5" valign="top" bgcolor="#EBEBEB"><!--DWLayoutEmptyCell--> </td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr bgcolor="#999999"> <td rowspan="4" valign="top" bgcolor="#EBEBEB"><p class="style5">Welcome to Young Living and the online home of ADVANCED HEALING MASSAGE AND OILS. We pride ourselves on providing personalized service and quality natural products to protect your family, health and home.</p> <p class="style5"> Thank you for visiting.</p></td> <td height="130"></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr bgcolor="#999999"> <td height="35"></td> <td></td> <td> </td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr bgcolor="#999999"> <td height="219"></td> <td></td> <td colspan="3" valign="top"><!--DWLayoutEmptyCell--> </td> <td> </td> <td colspan="2" valign="top"><!--DWLayoutEmptyCell--> </td> <td></td> <td colspan="3" valign="top"><!--DWLayoutEmptyCell--> </td> <td></td> <td></td> </tr> <tr bgcolor="#999999"> <td height="31"></td> <td></td> <td> </td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr bgcolor="#999999"> <td height="10" colspan="17" valign="top"><img src="IMAGES/HEADER/low-bar.jpg" width="936" height="10"></td> </tr></table></body></html>
×
×
  • Create New...