HTML - Urgent, Please Help! Positioning Problems
Usually I wouldn't be so, well...rude, but this is very urgent, I need to finish this website by college tomorrow because if I don't hand in my work, I fail the course.
This is in no way illegal, I'm an art student, so I'm being marked solely on the layout and such, not on the coding! As such, any comments or critiques would be greatly appreciated also. Here are some pictures demonstrating my problems: http://img504.imageshack.us/img504/1956/70406583qo6.jpg http://img481.imageshack.us/img481/576/74706440aq5.jpg What's wrong is the positioning of the navigation and main content... the titles should be at their respective black bars right near the top, just below the banner image. I've gotten so rusty, I don't even remember how to do something so simple. Also, for some reason the header titles don't want to be white instead of black. What am I doing wrong? Here is the CSS: Code: body { margin: 0; padding: 0; background-color: #dcd8e5; } body, p, td { font-family: trebuchet ms, sans-serif; font-size: 12px; color: #000000; cursor: default; } a { font-family: trebuchet ms, sans-serif; font-size: 12px; color: #000000; text-decoration: none; } a:hover { font-family: trebuchet ms, sans-serif; font-size: 12px; color: #afa7c1; font-style: italic; cursor: help; } #wrap { margin: 0 auto; width: 906px; background-image: url(container.jpg); } #topbanner { width: 906px; } .header { padding: 0px; font-size: 14px; text-align: center; text-transform: uppercase; margin: 2px; font-color: #ffffff; font-weight: bold; } #nav { float: left; width: 260px; padding: 20px; } #main { float: right; width: 606px; padding: 20px; text-align: justify; top: 300px; } #footer { clear: both; text-align: center; } And here is the HTML: HTML Code: </head> <body> <div id="wrap"> <div id="topbanner"> <img src="topbanner.jpg" alt=""/> </div> <div id="nav"> <p class="header">Navigate</p> <p> <a href="#">Home</a> <br /> <a href="#">Gallery</a> <br /> <a href="#">Prints</a> <br /> <a href="#">Affiliates</a> <br /> <a href="#">About</a> </p> </div> <div id="main"> <p class="header">Welcome</p> <p> Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Mauris vel magna. Mauris risus nunc, tristique varius, gravida in, lacinia vel, elit. Nam ornare, felis non faucibus molestie, nulla augue adipiscing mauris, a nonummy diam ligula ut risus. Praesent varius. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. </p><p> Nulla a lacus. Nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Fusce pulvinar lobortis purus. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec semper ipsum et urna. Ut consequat neque vitae felis. Suspendisse dapibus, magna quis pulvinar laoreet, dolor neque lacinia arcu, et luctus mi erat vestibulum sem. Mauris faucibus iaculis lacus. Aliquam nec ante in quam sollicitudin congue. Quisque congue egestas elit. Quisque viverra. Donec feugiat elementum est. Etiam vel lorem. </p><p> Aenean tempor. Mauris tortor quam, elementum eu, convallis a, semper quis, purus. Cras at tortor in purus tincidunt tristique. In hac habitasse platea dictumst. Ut eu lectus eu metus molestie iaculis. In ornare. Donec at enim vel erat tempor congue. Nullam varius. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nulla feugiat hendrerit risus. Integer enim velit, gravida id, sollicitudin at, consequat sit amet, leo. Fusce imperdiet condimentum velit. Phasellus nonummy interdum est. Pellentesque quam. </p> </div> <div id="footer"> Site & Content © Nicole Turner, 2007, all rights reserved <img src="container.jpg" alt=""> </div> </div> </html> Any help, particularly of the super-speedy variety, is greatly appreciated! Similar TutorialsHi guys. Sorry if I'm inconveniencing you, but I have a really big problem that I can't work out. http://automata.firephoenixnet.com/design/ Could you take a look at that in Firefox and then in IE? Did I miss a margin or something? And, is there a way I can get my footer div always at the bottom of the page without setting a margin-bottom for the sidebar div? Many thanks guys. I've run into a few problems that don't appear in firefox but do in Internet explorer..The first problem I have is that in IE the content box on the right is bumped down, it looks exactly the way I want in FF, but not in internet explorer. The next problem I'm having is the banner in IE..It seems as if theres a pixel or two underneath of the banner I can't get rid of... Also, any ideas on how I can center the navbar? I can't seem to get it to go in any browsers... page: http://www.ssvfd.com/newsite/history.html css file: http://www.ssvfd.com/newsite/style.css Hi all, First post here hope someone can help. I'm creating a portfolio web page for my 3D work and using this to learn a bit of web design. My current problem comes from using absolute positioning to get text to float over a background image in a precise location. I have this as I want it in Fiirefox 2.0.0.6 but the text all appears a fair bit higher in IE (I have looked using IE 6 on its own and by changing the render mode to IE in Firefox). I realise I need to do a fair bit of validation and refinement to the site but at the moment I want to get this alignment issue sorted so the site is at least visible while I work on other elements. Page url: www.iamjames.co.uk The text in question is on the used on all pages! Thanks in advance James Hi, Ive spent hours upon hours painfully sculpting this website and i can't for the love of gaaawd get the positioning of my element standard throughout the website. The home page and the watercolour-classes page have the bottom graphics bar in the same position But different from all the other pages. All i want it to do is be the same throughout and its only out by about 10px. why oh why Ive been struggling for days and weeks with this problem and cant work it out. Im sure its something simple but as a self taught web designer i dont know it all.... far from it. Any ideas or suggestions Please. The website is http://www.miriartist.co.uk Any help or light on the matter would be great THANKS Cheeeers Ben Hey guys I'm having a terrible time getting some graphic logos to layout. I know the coloring right now is not looking up to par either so don't judge me too bad I have a header div with a nav div inside and then a content div below this with a swf slide show inside. Basically inside the header div I have 5 graphics and then a nav div nested inside below that. My problem is that I want 2 of the logos aligned to the left and close to centered up/down inside the header div, then I want the main masthead logo centered in the middle of the header div up/down and left/right, and finally I want the other 2 logos floated right and centered up/down. I'm trying various methods and the best I have so far shows the middle masthead logo not correctly centered, and the 2 left logos floating left, but the far 2 right logos do not show up at all. The page is located at http://www.atlanta-web.com and I'll past all of my code below. index.html snippet Code: <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#000080" alink="#800000" leftmargin="0" topmargin="5" marginleft="0" margintop="5"> <script type="text/javascript" src="fsmenu_commented.js"></script> <script type="text/javascript" src="menuset.js"></script> <link rel="stylesheet" type="text/css" href="listmenu_h.css" /> <link rel="stylesheet" type="text/css" href="listmenu_h_settings.css" /> <style type="text/css"> #navitoolbarcontainer a { line-height: 16px; } </style> <div id="header"> <img class="award1" src="nahb.gif" /><img class="award2" src="gahomebuilders.gif" /> <center><img src="Jhomes.jpg" /></center> <img class="award3" src="southernlivingmember_sm.gif" /><img class="award4" src="lobb.gif" /> <!-- START TOP TOOLBAR --> <!--<div id="heightcontainer"></div>--> <div style="width: 100%;" id="navitoolbarcontainer"> <div style="margin: 0px; padding: 0px; width: 100%;"> <div id="navitile" style="width: 100%;"> <ul class="menulist" id="listMenuRoot" style="height:22px;"> <li style="margin-top:0px;"> <a class="gt" href="index.html" style="font-size: 10px; font-family: arial,verdana,helvetica; text-decoration:none;"> <b>Jeffery Homes Inc.</b> </a> <ul id="listMenu-id-1"> . . . NAV Bar HTML Cut for space sake . . . <div style="margin-top: 0px;" id="lightgrey"> </div> </div> </div> </div> </div> <div id="content" style="width: 100%; background-color: #6B6637"> <div id="slideshow"> <object width="600" height="350"> <param name="movie" value="slideshow1.swf" wmode="transparent"> <embed src="slideshow1.swf" width="600" height="350" wmode="transparent"> </embed> </object> <br /> <br /> </div> </div> <!-- END TOP TOOLBAR --> css file1 Code: @charset "UTF-8"; a.gt{ text-decoration:none} a.gt:hover{text-decoration:none} a.gt:visited{text-decoration:none} a.gt:link{text-decoration:none} a.gt:active{text-decoration:none} #header { margin: 0px; padding: 0px; width:100%; min-width:830px; width:100%; background-color: #AFAB73; position: absolute; left: 0px; top:0px; font-family: arial, verdana, helvetica; font-size: 8px; white-space: nowrap; z-index: 0} .award1 { float:left } .award2 { float:left } .award3 { float: right } .award4 { float: right } #navitile{width:820px; margin-left:0px; height:22px; background-repeat:repeat-x; position:absolute; color: #F2FFE4; left:0px; top: 0px; font-family:arial,verdana,helvetica; font-size:8px; white-space:nowrap; } #navtile a{ color: #F2FFE4 } #navitoolbarcontainer{width:100%; min-width:830px; width:100%; height:22px; position:absolute; top: 100px; left:0px; font-family:arial,verdana,helvetica; font-size:8px; background-image:url('background_end_fixed.png'); background-repeat:repeat-x; white-space:nowrap; margin:0px; padding:0px; z-index:1000} #navitoolbarcontainer a{color: #F2FFE4} #content {margin: 0px; padding: 0px; width:100%; min-width:830px; width:expression('100%'); position: absolute; left: 0px; top: 122px; font-family: arial, verdana, helvetica; font-size: 8px; white-space: nowrap; z-index: 1} #slideshow { margin: 0 auto; position: relative; top: 30px; height: 480px; width: 600px; } #heightcontainer{position:relative; height:17px; width:99%; background:transparent;} #globalform{padding:0px; margin:0px} #lightgrey{text-align:left; color: #F2FFE4; text-indent:5px; background-image:url('background_end_fixed.png')} #lightgrey .inputglobal{font-size:9px; font-size:expression('8px'); text-align:left; margin-top:0px; margin-left:2px; background-repeat:no-repeat} #lightgrey .inputglobal:hover{font-size:9px; text-align:left; margin-top:0px; background-color:#ccc} #lightgrey a{font-family:sans-serif; text-decoration:none; color: #F2FFE4; text-decoration:none; FONT-SIZE:10px; padding:0px; top:1px; top:expression('-2px'); position:relative} #lightgrey a:link{text-decoration:none; color: #F2FFE4; text-decoration:none; FONT-SIZE:10px} #lightgrey a:visited{display:inline; text-decoration:none; color: #F2FFE4; text-decoration:none; FONT-SIZE:10px; padding:0px; margin:0px} #lightgrey a:active{display:inline; text-decoration:none; color: #F2FFE4; text-decoration:none; FONT-SIZE:10px; padding:0px; margin:0px} #lightgrey a:hover{display:inline; text-decoration:none; color:#fcf2ca; text-decoration:none; FONT-SIZE:10px; padding:0px; margin:0px} A lot of this css is for the menus that i found on a site and have highly modifed, but I've used class/id's for most of everything so it should be easy to see what is what. Thanks for any help that you all can provide. This site has been a godsend for getting help. So I just decided to redesign my website, and I learned the wonders of "position: absolute" and the left, right, top, and bottom CSS tags. But of course, with that comes some issues (and other things, like me having to think about people with different browsers/resolution settings than me). Some of my problems are as follows (captions of the problem are under the images) When the text overflows here, it just leaves the <div> tag... well... multiple <div> tags. This one takes the body <div> with it.. but doesn't let the bottom page image extend down. Top filler image doesn't extend all the way, body <div> doesn't connect properly to fade images. So as you can see, my big problem is the overflow, which really needs to be fixed. Don't know what the problem is with Opera there, but it's something else that should be checked out. So anyway, here's my code for the website. If you have any ideas for how to improve it/make it work better, then I'm happy with that. Don't worry about validation right now, though. I'm saving that for later. HTML Code: <html> <head> <title>Home - Alex Crooks Webdesign</title> <style type="text/css"> body { margin: 0px; background-color: #035b07; font-size: 10pt; color: white; font-family: verdana, arial, sans-serif; } a { text-decoration: none; color: white; } a:hover { text-decoration: underline; color: white; } img { border: 0px; } .navlink { font-size: 16pt; font-variant: small-caps; font-weight: bold; } #navlinks { text-align: right; vertical-align: middle; padding: 5px 10px 0px 10px; } #topleft { position: absolute; top: 0px; left: 0px; float: left; width: 141px; height: 228px; background-image: url(topleft.gif); z-index: -11; } #topfiller { position: absolute; top: 0px; width: 100%; height: 155px; background-image: url(topfiller.gif); z-index: -12; } #left { float: left; position: absolute; left: 0px; width: 65px; height: 100%; background-image: url(leftfiller.gif); z-index: -13; } #bottomleft { position: absolute; bottom: 0px; left: 0px; float: left; width: 137px; height: 134px; background-image: url(bottomleft.gif); z-index: -11; } #bottomfiller { position: absolute; bottom: 0px; width: 100%; height: 67px; background-image: url(bottomfiller.gif); z-index: -12; } #nav { margin: 100px 0px 0px 65px; margin-top: 100px; height: 40px; width: auto; background-image: url(navbg.gif); color: white; } .sep { vertical-align: middle; width: 2px; height: 25px; padding: 0px 5px 0px 5px; } #bodyright { position: absolute; top: 273px; right: 200px; bottom: 104px; height: auto; width: 22px; background-image: url(bodyright.gif); z-index: -7; } #body { padding: 5px 5px 5px 5px; position: absolute; top: 273px; right: 221px; bottom: 104px; left: 200px; width: auto; height: auto; background-color: white; color: black; z-index: 0; } #bodybottom { float: left; position: absolute; left: 246px; right: 221px; bottom: 87px; left: 200px; width: auto; height: 17px; background-image: url(bodybottom.gif); z-index: -7; } #bodycornerleft { position: absolute; bottom: 87px; left: 200px; width: 46px; height: 18px; background-image: url(bodycorner1.gif); z-index: -6; } #bodycornerright { position: absolute; right: 205px; bottom: 87px; width: 17px; height: 17px; background-image: url(bodycorner2.gif); z-index: -7; } </style> </head> <body> <div id="left"></div> <div id="top"> <a href="index2.html"><img style="padding: 5px 0px 0px 5px;" src="crookslogo.png" /></a> <div id="topleft"></div> <div id="topfiller"></div> </div> <div id="nav"> <div id="navlinks"> <a class="navlink" href="">Home</a> <img class="sep" src="navseparate.gif" /> <a class="navlink" href="">Features</a> <img class="sep" src="navseparate.gif" /> <a class="navlink" href="">Blog</a> <img class="sep" src="navseparate.gif" /> <a class="navlink" href="">Clients</a> <img class="sep" src="navseparate.gif" /> <a class="navlink" href="">Products</a> </div> </div> <div id="content"> <div id="body"> <p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent ac enim sapien, vel tristique sapien. Vivamus erat purus, feugiat non porttitor id, cursus at sapien. Curabitur eleifend, leo facilisis consequat faucibus, ante eros bibendum tellus, et dictum nibh mi laoreet turpis. Proin pellentesque, nulla et ornare pretium, ipsum lectus faucibus mi, sed dictum purus ipsum a ante. Aenean nibh odio, porttitor a volutpat ut, euismod vitae nisi. Integer urna turpis, ultrices ullamcorper porttitor in, placerat ut metus. Sed venenatis nisl in elit faucibus non consectetur quam commodo. Pellentesque ut augue massa, ac iaculis elit. Integer eu quam nisi, non faucibus neque. Donec sit amet magna at nulla commodo cursus. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Donec tellus mauris, congue ut lobortis nec, adipiscing eu arcu. Suspendisse congue consectetur ante at porttitor. Maecenas sapien nibh, porttitor non pellentesque sed, sodales eu dui. </p> <p> Nullam sodales malesuada lorem, et cursus velit malesuada nec. Phasellus vestibulum elit quis nunc semper vel accumsan dui lobortis. Nunc viverra tortor tincidunt dolor congue quis porta tortor auctor. Sed porta neque ac libero tristique varius. Nam id nisi lectus. Integer consectetur magna id erat volutpat adipiscing. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Integer risus sem, interdum sed eleifend at, tincidunt in odio. Vestibulum euismod mauris eget magna semper sit amet feugiat risus varius. Mauris non neque et arcu ultricies venenatis a non mauris. Nulla facilisi. Donec sem turpis, porttitor et posuere id, posuere eget diam. Vestibulum et aliquam nibh. Phasellus quis ligula mauris, non porttitor sapien. Duis eu est id elit blandit vestibulum quis non urna. Maecenas enim augue, cursus faucibus tincidunt eget, cursus sed sem. Curabitur dictum dolor id massa bibendum vel tincidunt nunc volutpat. Nunc lobortis augue vitae ante porta eget mattis nisl faucibus. Ut sodales lorem vel dolor malesuada bibendum. Maecenas eget neque in elit semper rhoncus. </p> <p> Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec aliquet semper volutpat. Suspendisse vitae sapien pulvinar mi egestas ornare quis nec sapien. Pellentesque nec ipsum ligula, sed ultricies lectus. Duis eu ipsum et dui vehicula luctus. Sed mollis rutrum dui elementum consectetur. Nunc viverra tortor quis tellus semper a imperdiet nisl suscipit. Nullam et dolor at purus dignissim faucibus eu vitae quam. Proin lacus ante, tempus ut ullamcorper id, mattis vitae eros. Vivamus mauris lorem, interdum at ultrices in, ultrices non metus. Phasellus convallis lobortis sem, sit amet convallis ante dignissim in. Nullam id mollis nibh. Pellentesque lobortis convallis erat, suscipit lobortis velit euismod ultricies. </p> <p> Cras mollis imperdiet dignissim. Nulla sit amet elementum dolor. Curabitur luctus vestibulum sodales. Quisque eu odio velit, et pretium diam. Maecenas porttitor metus et mauris mattis sit amet facilisis odio sagittis. Aenean at turpis ac sapien ultrices pellentesque vel id erat. In ultrices pharetra erat, pulvinar molestie nisi hendrerit id. Mauris nunc eros, consequat in ultrices sed, malesuada non magna. Etiam dictum ultricies blandit. Vestibulum augue ipsum, malesuada a ullamcorper vel, porta accumsan nunc. Quisque dapibus posuere neque, sit amet lacinia justo tempus nec. Curabitur sit amet tortor nulla. Sed enim quam, facilisis eu dapibus quis, vestibulum at erat. Cras placerat sagittis eros, ac faucibus tellus ultricies vitae. </p> <p> Aenean commodo enim facilisis tellus lacinia sit amet vulputate est condimentum. Vivamus viverra vehicula felis sed rhoncus. Donec sed imperdiet est. Proin molestie velit nec urna lacinia vel fermentum sem tincidunt. Maecenas rutrum sollicitudin varius. Donec et ligula semper eros euismod interdum. Aenean ultricies magna sed nisl consectetur venenatis. Nullam quis orci sapien. Curabitur pellentesque lacinia ante, id pharetra risus sagittis id. Etiam metus turpis, rutrum vel faucibus nec, feugiat rutrum nibh. Donec fringilla sagittis ligula, nec varius felis dapibus eu. Curabitur felis quam, fermentum non eleifend ac, faucibus vel libero. In nec leo ut nulla sagittis scelerisque nec in orci. </p> </div> <div id="bodyright"></div> <div id="bodycornerleft"></div> <div id="bodybottom"></div> <div id="bodycornerright"></div> </div> <div id="bottom"> <div id="bottomleft"></div> <div id="bottomfiller"></div> </div> </body> </html> I have this menu to rollover... and I cant seem to get the positioning correct. All I want to do is shift it to the right about 100px so that it doesnt cover up the rest of the menu items. I will paste the CSS, javascript, and html code here... I have tried positioning it via CSS and thats not working :/ Is there a way to do it in the java code? Or if you want you can say how you would do it in CSS... maybe I just was doing it wrong. CSS Code: #dropmenudiv{ position:absolute; border:1px solid black; border-bottom-width: 0; font:normal 12px Verdana; line-height:18px; z-index:100; } #dropmenudiv a{ width: 100%; display: block; text-indent: 3px; border-bottom: 1px solid black; padding: 1px 0; text-decoration: none; font-weight: bold; } #dropmenudiv a:hover{ color:#000000; background-color: #cc0000; } JAVA Code: <script type="text/javascript"> var menu1=new Array() menu1[0]='<a href="group.html">About (group)</a>' menu1[1]='<a href="officers.html">Current Officers</a>' menu1[2]='<a href="officerjoin.html">Become an Officer</a>' var menu2=new Array() menu2[0]='<a href="meetings.html">Meetings</a>' menu2[1]='<a href="alumniday.html">Alumni Day</a>' menu2[2]='<a href="industryday.html">Industry Day</a>' var menuwidth='165px' var menubgcolor='lightyellow' var disappeardelay=50 var hidemenu_onclick="yes" var ie4=document.all var ns6=document.getElementById&&!document.all if (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.style dropmenuobj.widthobj.width=menuwidth } if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover") obj.visibility=visible else 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=0 if (whichedge=="rightedge"){ var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15 dropmenuobj.contentmeasure=dropmenuobj.offsetWidth if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure) edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth } else{ var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18 dropmenuobj.contentmeasure=dropmenuobj.offsetHeight if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up? edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight if ((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=true else if (e.stopPropagation) e.stopPropagation() clearhidemenu() dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv populatemenu(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 false else return true } function contains_ns6(a, b) { 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> HTML Code: <li><a href="events.html" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, menu2, '150px')" onMouseout="delayhidemenu()">Events</a> </li> Any help would be appreciated! Thanks! Hello! Don't know if this is the right place to post but here goes... I have learned quite a few of HTML and CSS in the last few months - also with a bit of your help, so thank you... Ok, here's the problem. Althow i can relatively control my code i'm having problems with site "looks". I'm not talking about graphics, but positioning... layout if you want. I just don't know where to put some stuff so that the site would look interesting, that everything would be properly "ordered", that i would use the right color combinations... so... can anyone direct me to some good source where i can learn something like that? Thank you! P.S.: If this is the wrong section to post this kind of questions, please, move the thread Hi Everyone, I am developing a website, wherein i have used a impact font (19px) for the headings which i feels looks quite blur. My question is that can we make that font much sharper. As i know we can do that font sharper in photoshop. Is there any way we can make Impact font sharper in HTML? Thanks in advance... Vishal Hey guys, so I'm essentially asking you guys for advice as a last ditch effort. My final was due yesterday, but I've gotten it extended to today for a couple more hours. My partner essentially left me high and dry by saying 'oh, most of it's done', but actually none of it was coded. Alright, so essentially she made this thing as hard as possible. She made an image that has all the buttons on, like home, contact etc. As in, it's just one picture with all graphics, so you have to put the code over all of it. I've tried so many different ways to get it to work, but nothing is working. I essentially wanted the body (or container?) to be centered so i could use the image as a background. I don't even know if that works or not. I just have no clue how to make this image centered on a page and put all the elements on it. What I have right now is an image that's too big for the screen, but the button images I overlayed over the button graphics do work. Hey guys I have to show something to someone today and it just came to my attention that my website does not work in Safari. It will load just fine in Firefox/IE but in Safari it will only load the top flash animation and background image, but none of the content? Any thoughts? Thanks so much http://www.ianidas.com/wordpress/index.php Hello, I see the design of my page is good in firefox but in Internet explorer is meesed up Can someone help me? i will send the page code now please thanks in advance! ok... i wanted to change my layout and it all looked fine until i viewed it with a 1024x768 resoultion... when i'm using the 1280x1024 resoultion... everything was in place when i made it on dreamweaver, but now when i switch resolutions the iframe and text boxes and whatevrs on the page moves ... please have a look and tell me what i can do www.anastaciadreams.com/layout/test.html I have hundreds of similar HTML files. Each of them is for a devices and consists of many performance of the devices. For instance. in File Device1.html: Function1 failed Function2 succeeded ... ... I need to put all the failed function along with the devices all together in one file(any readable format), is there any way? something like: Function1, device1. failed. function100 device99, failed. ... thanks, Han I have developed a website just for my final year project... I have created this website for IE7. Now I have a problem... I have 3 frames in the page which are placed horizontally <frameset rows="185,*,38" frameborder="no" border="0" framespacing="0" SCROLLING="auto" > <FRAME SRC="page1.htm" NAME="frame1" frameborder="0" scrolling="no" marginwidth="0" marginheight="0" noresize="noresize"> <FRAME SRC="page2.htm" NAME="main" scrolling="auto" marginwidth="0" marginheight="0" noresize="noresize"> <FRAME SRC="page3.htm" NAME="bottmFrame" scrolling="no" marginwidth="0" marginheight="0" noresize="noresize"> There are links in the frame1 that change the pages in the main frame.... I have set it such that there is no Horizontal scrolling only vertical scrolling.... But in IE I have a big problem... The scroll sometimes disappears completely... Leaving only half the page in the main frame.... I have a dead line to meet and this is the only headache I am facing. Hi all, I have a question on the following code <?php if ($flag == 1) { echo "<HR COLOR=#0433f>"; ?> <form method="post" action="asstnt.php"> <input type="hidden" name="id" value="<?php echo $a ?>"> <input type="submit" value="Next"> <input type="button" value="Previous" onClick="window.location='javascript:history.go(-1)'"> <input name="Action5" type="button" id="Action5" value="Done" onClick="javascript:window.location.href='gotohome.php';"> </form> My question is that why do i get a space or blank line between the coloured line and the buttons.And how to eliminate the blank line. Thanks in advance. This is my blog : www.moneyplanters.com hosted on Blogger platform I need to integrate Yahoo Finance charts (as on http://livecharts.50webs.com/charts.html) and a Gann calculator (as on http://www.gannsquareof9.stockmaniacs.net/ OR http://www.pivottrading.net/pivot/pivot/gann.html) The codes will be easily available to the prgrammers from these respective websites. However, their only job will be to modify it to some extent, as i would like to change the content and add/delete a few features as mentioned below : Gann Calculator : The grid should not be visible. The code should carry out the calculations at the backend and only the results are to be displayed to the user. Background colours, fonts etc will be changed later. This part of the page should not refresh automatically. Yahoo Charts : User should get a dropdown menu to choose his market. Based on his choice, the next dropdown in which he chooses the scrip gets activated. Scrips for markets other than the user's choice are not displayed. Background colours, fonts and position of objects will be changed later. This part of the page should auto - refresh every one minute. Chart size and auto refresh choices to be removed and shall be fixed after consulting the programmer. Others : 1. All code must be "blogger" friendly and shall be hosted on Blogger platform. 2. Scope of adding text should be there, which shall be added from the blog editor. 3. Scope to add modify Adsense ads within the post (which will include the charts and the calculator) should be made available. Can anyone code this for me ?? Hi There Please could somebody help me with this problem. I have a website http://www.sapokershop.co.za. I would like to add an affiliates banner on a specific position on my site. Currently the Banner code looks like this: <td width="582" style="BACKGROUND-POSITION-Y: bottom; BACKGROUND-IMAGE: url(images/tp_574X67_1.gif); BACKGROUND-REPEAT: no-repeat"> I need to make this a link to the following: </a><br/><a href="http://banner.titanpoker.com/cgi-bin/redir.cgi?id=N&member=sapokershop&profile=maintp"></a> Please could anybody help |