HTML - Divs Not Showing Up On Index
for some reason my div containing all the side bar content isn't showing up on my index.html, i don't know whether its because the divs are ordered wrong or the coding is just plain wrong. if you can see what i'm doing wrong please explain
index.html coding <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Completely GAGA .com - Your largest source for Lady Gaga</title> <link href="/style.css" rel="stylesheet" type="text/css" /> <meta name="keywords" content='lady gaga, music, just dance, interscope records, cherrytree records, konlive, the fame, Just Dance, Colby O Donis, LoveGame, Paparazzi, Poker Face, Eh Eh, Nothing else i can say, beautiful, dirty, rich, fame, honey money, starstruck, flo rida, boys, boys,boys, paper gansta, brown eyes, fashion, i like it rough, summerboy, disco heaven, retro dance freak, again again, fame ball tour, gaga, fashion, technology, space cowboy, redone, dirty ice cream, rock show, shake ure kitty, wonderful, something crazy, wish you were here, no floods, words, red and blue, pictures, videos, download, mp3, mpg, xxx, perez hilton, full album, zip, hdtv, gallery, lyrics, monster, fame monster, kanye west, fame kills, second time around, vma, moonman, mario testino, v magazine, nude, space cowboy, vogue, out.com, ellen von unwerth, Oliver Rauh, sharon gault, David LaChapelle, live, blood, monster heartbeats by lady gaga, heartbeats, bad romance, beyonce, videophone, telephone, monster, teeth, alejandro, the monster ball, dance in the dark, speechless, So Happy I Could Die, monster ball"> </head> <body> <div style="position:absolute; top: 80px; left:36px"> <div style="width:260px; height:1000px"> <h1>LATEST IMAGES //</h1> <h2>Script will go here</h2> <h1>NAVIGATION //</h1> <h2>navigation links will go here </h2> <h1>ELITE AFFILIATES //</h1> <h2> elite affiliates will go here</h2> <h1>SITE INFORMATION //</h1> <h2>Your Webmistress: <a href="http://fallingthroughinfinity.tumblr.com">Emily</a> </br> Web Host: <a href="http://fanstar.org">Fanstar</a> </br> Designed by: <a href="http://fallingthroughinfinity.tumblr.com">Emily</a> </br> Layout Version: 1.0 </br> Created: 16th June 2010 </h2> <h1>DISCLAIMER //</h1> <h2>Completely - Gaga . COM is in no way officially associated with Stefani Germanotta or Interscope Records. We are not Lady Gaga's official website, and we do not in anyway claim to be able to contact Lady Gaga herself. This is a fan run website, for information on Lady Gaga's latest actions. I am NOT Lady Gaga, nor do I know her. I hope you enjoy the site, your webmistress, Emily. </h2> </div> <div style="position:absolute; top: 0px; left:0px"> <div style="width:800px; height:600px; background-image:url(http://i771.photobucket.com/albums/xx352/fallingthroughinfinity/header2.jpg)"> </div> </body> </html> Similar TutorialsI have some subdirectories on a site and when I go to website.com/directory all I see is a blank page, but going to website.com/directory/index.html works just fine. I DID previously have redirects on those directories (not sure if I made them temporary or permanent) and this must be the culprit because when I create new directories, they work just fine. I've removed the redirects via cpanel, but I still can't see my index.html Any idea how to "fix" this? Thanks a bunch I am still new to the web page world, but the website I originally created (in japanese) was passed on to a programmer. He did a lot of "upgrades" to the site so he says, but he left. Now I am in charge again of re-modeling the site. The problem is I am trying to figure out why there are so many dead links. I have looked up and down the server, but can't find anything. Ok before I confuse anyone else here is what I am talking about. For example this page that I originally made : Code: http://www.discoveryfirm.com/tokushu/index.html cannot be found but if I take of the end: http://www.discoveryfirm.com/tokushu/ the page is there. Now I am trying to fix a lot of dead links, but I cannot figure out what the programmer did to the site. I am still new to all the high-tech features in the web world. Could somebody please explain. i just started working on addicted2ally.com, and for some reason, my index.html is showing the text of the html instead of well, doing it lol helppp!? I finally figured out how to add text to my index and now I have another question. In my website template There is Heading 1 and a Heading 2 so my question is how do I delete any sections or headings that I don't need to make it go away on my home page. There is so much and I don't think I need all of it..... Thanks in advance hey wondered if anyone could explain how on my website I can get the "index of" to show? eg http://rofl.wheresthebeef.co.uk/ cheers! Here's my problem: I'm a subsciber with GeoCities/Yahoo, and had my html files stored. When I try upload my stuff to a certain forum I get a "File Not Found" msg. By looking around I learned that the problem might be the "index.htm" file, which needs to for each subdirectory separately. An example of such a file: http://www.geocities.com/d48uga/dice_tutorial09.html Could u help? Tnx so i want to have my navigation hover over my content, so when i scroll through my content it flows underneath the navigation.. i am putting the navigation div at z-index:3 and the content at z-index:1 but it wont slide beneath.. help pls here's my site: all css is done on the page so u can see it. http://levisternberg.com/joomla16/ Hi there, I was reviewing the web site of the organization I work for and I noticed that some of the html code is included in the following tags: <!--BeginNoIndex--> and <!--EndNoIndex--> Between these tags there's the page title and the site's navigation included. I have been searching on this subject but I can't seem to find the right answers. I would say you would want your page title and navigation to be indexed by search engines. Or in what cases you wouldn't want it to be indexed? The web site is public and serves mainly an informative purpose. I would be happy with anything that could help me, also resources where I can read about it for example. Kind regards! I've got a drop down menu (#howto) that works fine in every browser but IE7. The issue: when activated, the menu options appear behind the divs below (#wrapper and #branding). I've tried several z-index combinations, but haven't hit upon one that works. With 13% of my user base still on IE7, I'm stressing out! URL: http://wdm.ca/index_new_dwt.htm HTML Code: <!--Start How To Menu--> <div id="howto" style="top: 3em; right: 0em;"> <img alt="" src="imagesindex/down-triangle.gif" style="float:right; margin-top:0.3em; margin-left: 0px; margin-right: 1em;" height="10"/> How to...<br /> <hr width="80%" style="text-align: left;" /> <!-- Start How To drop-down menu --> <a href="membership/index_new.htm">become a member</a> ... <a href="contact_new.htm">contact a <abbr title="Western Development Museum">WDM</abbr></a> <!-- End About drop-down menu --> </div> <!--End How To Menu--> CSS Code: body{ background-image:url('imagesindex/background_attempt_fade.jpg');background-position:left;background-repeat:repeat; font-family: Arial, Helvetica, sans-serif; } /* START topper */ #topper{ height:4.5em; width:50em; margin: 20px auto 0 auto; position:relative; z-index:100; } #topper a.contact{ position:absolute; ... display:block; z-index:100; } /* START howto Menu */ #howto{ width:15em; background-color:#FFF; padding-left:2%; float:right; border:thin gray groove; position:absolute; line-height:1.4em; height:1.4em; overflow:hidden; z-index:100; } #howto:hover { height:auto; cursor:pointer; } #howto a { display:block; width:100%; line-height:1.4em; color:#000; text-decoration:none; } #howto a:visited { display:block; width:100%; line-height:1.4em; color:#000; text-decoration:none; } #howto a:hover { color:#000; background:#ddd; } /* END howto Menu */ /* END topper */ #wrapper{ width: 50em; background-color:white; margin: 5px auto 0 auto; border-color:#98B539; border-style:ridge; border-width:thin; z-index:0; } /* Make branding a positioned element, but don't move it */ #branding{ position:relative; border-bottom:thin #98B539 solid; z-index:0; } I'm having some problems with a drop down menu appearing 'behind' the content below it even though it is absolutely positioned and has a higher z-index. You can see an example here of what I am talking about. If you look at it in Firefox vs IE7 you will see what I am talking about. Currently the 'body' of my page is broken into 2 columns ('col_left', 'col_right'). Each are floated in their respective direction and each has a relative position. Each also contains a single (for the moment) 'pagelet' div. Eventually this will be a drag & drop app for users to add/edit/remove these various 'pagelets' and position them to their liking on the page. I found that by removing the relative position style from the 'col_left' and 'col_right' elements as well as from the 'pagelet_head' element will make my drop down menu's appear the way they should. Unfortunately all those elements have to have the style of relative position. If anyone has any suggestions I'd love to hear them as I'm a bit perplexed by all this considering the drop downs have a much higher z-index than anything else. All my code is below. Thanks for any help! Code: * { margin: 0; padding: 0; border: none; } body { padding: 15px 20px 0; color: #777; background: #e3e3e3 url(../images/bg_header.gif) repeat-x 0 0; font: 12px "Tahoma", Verdana, Arial, Helvetica, sans-serif; } ul { list-style: none; } input, textarea, select { padding: 5px; background: #fff url(../images/bg_form.gif) repeat-x top left; border: 1px solid #777; font: 12px "Tahoma", Verdana, Arial, Helvetica, sans-serif; } input.check { padding: 0; background: none; border: none; } table { border-collapse: collapse; border-spacing: 0; } a:hover { text-decoration: none; } :focus { outline: none; } #head { margin: 0 auto 15px; width: 950px; height: 55px; } #head img { display: block; float: left; } #head p { float: right; color: #999; font: 11px Verdana, Arial, Helvetica, sans-serif; } #head a { color: #666; } #head span { margin: 0 5px; } #nav { margin: 0 auto; width: 950px; } #nav li { margin-right: 5px; height: 30px; display: inline; float: left; position: relative; background: url(../images/nav_bg_left.gif) no-repeat 0 0; } #nav li span { padding: 5px 13px 0; height: 25px; display: block; background: url(../images/nav_bg_right.gif) no-repeat 100% 0; } #nav li a { color: #666; font-size: 14px; text-decoration: none; } #nav li a:hover { text-decoration: underline; } #nav li a.drop_down { margin-left: 5px; } #nav li.active, #nav li.temp { background-position: 0 -30px; } #nav li.active span, #nav li.temp span { background-position: 100% -30px; } #nav li.active ul, #nav li.temp ul { background: #e3e3e3; } #nav ul { padding: 12px 12px 2px; width: 150px; position: absolute; top: 30px; left: 0; z-index: 2000; background: #ccc; border: 1px solid #666; border-width: 0 1px 1px; } #nav ul li { margin: 0 0 10px; padding-left: 14px; height: auto; display: block; float: none; background: url(../images/icon_arrow.gif) no-repeat 0 4px; } #nav ul li a { font-size: 12px; text-decoration: underline; } #nav ul li a:hover { text-decoration: none; } #col_wrap { margin: 0 auto; padding: 20px; width: 950px; } #col_left { width: 460px; display: inline; float: left; position: relative; } #col_right { width: 460px; display: inline; float: right; position: relative; } .pagelet { margin-bottom: 10px; width: 460px; display: block; } .pagelet_head { padding: 8px 13px 0; width: 434px; height: 22px; position: relative; background: url(../images/bg_pagelet_header.gif) no-repeat 0 0; } .pagelet_head h1 { display: inline; float: left; color: #fff; font-size: 12px; } .pagelet_head_options { display: inline; float: right; } .pagelet_head_options ul { text-align: right; } .pagelet_head_options li { margin-left: 10px; display: inline; float: left; } .pagelet_head_options li a:hover { background-position: 0 -12px; } .pagelet_head_options a.pagelet_drop_down { width: 13px; height: 12px; display: block; background: url(../images/btn_pagelet_drop_down.gif) no-repeat 0 0; } .pagelet_head_options a.pagelet_minimize { width: 13px; height: 12px; display: block; background: url(../images/btn_pagelet_minimize.gif) no-repeat 0 0; } .pagelet_head_options a.pagelet_close { width: 13px; height: 12px; display: block; background: url(../images/btn_pagelet_close.gif) no-repeat 0 0; } .head_red { background-position: 0 0; } .head_orange { background-position: 0 -30px; } .head_yellow { background-position: 0 -60px; } .head_light_green { background-position: 0 -90px; } .head_dark_green { background-position: 0 -120px; } .head_blue { background-position: 0 -150px; } .head_grey { background-position: 0 -180px; } .pagelet_content { width: 458px; height: 200px; background: #fff; border: 1px solid #cdcdcd; border-width: 0 1px 1px; } .pagelet_shadow { display: block; } .clear:after { height: 0; display: block; clear: both; visibility: hidden; content: "."; } Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>test</title> <link rel="stylesheet" type="text/css" media="all" href="css/styles.css" /> <script type="text/javascript" language="javascript" src="js/mootools_1.11.js"></script> <script type="text/javascript" language="javascript" src="js/functions.js"></script> </head> <body> <div id="head" class="clear"> <img src="images/placeholder_logo.gif" alt="Logo" width="447" height="55" /> <p><a href="#" title="Administration">Administration</a><span>|</span><a href="#" title="Settings">Settings</a><span>|</span><a href="#" title="Logout">Logout</a></p> </div> <ul id="nav" class="clear"> <li class="active"> <span><a href="#">Link</a></span> </li> <li> <span><a href="#">Link 2</a><a href="#" class="drop_down"><img src="images/btn_nav_drop_down.gif" alt="More Options" /></a></span> <ul> <li><a href="#">Sub Link</a></li> <li><a href="#">Sub Link</a></li> <li><a href="#">Sub Link</a></li> <li><a href="#">Sub Link</a></li> </ul> </li> <li> <span><a href="#">Link 3</a><a href="#" class="drop_down"><img src="images/btn_nav_drop_down.gif" alt="More Options" /></a></span> <ul> <li><a href="#">Sub Link</a></li> <li><a href="#">Sub Link</a></li> <li><a href="#">Sub Link</a></li> <li><a href="#">Sub Link</a></li> </ul> </li> <li> <span><a href="#">Link 4</a></span> </li> <li> <span><a href="#">Link 5</a></span> </li> </ul> <div id="col_wrap" class="clear"> <div id="col_left"> <div class="pagelet"> <div class="pagelet_head head_red clear"> <h1>Pagelet Title</h1> <div class="pagelet_head_options"> <ul class="clear"> <li><a href="#" title="Display Options" class="pagelet_drop_down"></a></li> <li><a href="#" title="Minimize Pagelet" class="pagelet_minimize"></a></li> <li><a href="#" title="Close Pagelet" class="pagelet_close"></a></li> </ul> </div> </div> <div class="pagelet_content"></div> <img src="images/shadow_pagelet_bottom.gif" alt="Shadow" width="460" height="10" class="pagelet_shadow" /> </div> </div> <div id="col_right"> <div class="pagelet"> <div class="pagelet_head head_red clear"> <h1>Pagelet Title</h1> <div class="pagelet_head_options"> <ul class="clear"> <li><a href="#" title="Display Options" class="pagelet_drop_down"></a></li> <li><a href="#" title="Minimize Pagelet" class="pagelet_minimize"></a></li> <li><a href="#" title="Close Pagelet" class="pagelet_close"></a></li> </ul> </div> </div> <div class="pagelet_content"></div> <img src="images/shadow_pagelet_bottom.gif" alt="Shadow" width="460" height="10" class="pagelet_shadow" /> </div> </div> </div> </body> </html> Does anyone know how to use z-index? I would like to know where to use it! Is it in the css file or in the html page? If anyone as any examples that would be great. Thank you Do possible somehow open folder/archive were is a index.html. I wan't to run auto index.html or any default .html .php... I want open folder and browse from files. ??? Hey everyone. Wanted your opinions and knowledge on something. I have a friend who is setting up a splash page for her site. However the way her hosting company has things set up she will need to rename her current home page from index.html to something else, and make the splash page the new index.html. She's under the impression that if her current home page is renamed to something other than index it will lose significant value in her website's ranking. I've never heard of that. Her meta tags will be kept intact, and the splash page will have meta tags, and will link to both the home page and sitemap so I don't think search engines will have any problem spidering her site. And I don't really think it will affect her ranking. What do you all think? Am I wrong? Okay so recently I updated my website so the URL for my home page is now: http://www.benellett.com/index.php However I would either like to somehow make that page show up as just the base website: http://www.benellett.com/ or have the benellett.com page forward to the /index.php page. Preferably I want benellett.com/index.php to be the "home" page like it would be if it were index.html (like my old website in the link). Thanks a lot! I have my main website called index.html, but since i've added php into the code, i've renamed it to index.php. But I also have a forum, which includes another index.php. I'm wanting to have my index.php page to be the page that people see when they come to my website. Is there anyway that it could happen? I have a web page, index.html. In IE it renders as I expect in terms of size of elements. It renders elements smaller in Firefox if called index.html but If I rename it to index 2.html it renders correctly in firefox. Is there a quirk in terms of the way index.html is rendered in Firefox that anyone knows of? Thanks. I find that the use of z-index depands a lot on other functions you use/or not. ANyways, it has failed me yet again, cant seem to figure out why.. the thing is ive re-written the page withou using the position: tag.. its awesome, just the z-index crap. The picture which isnt complying is the wit-vak-pilates png : HTML Code: .style1 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 17px; color: #000000; } .style2 {font-family: Verdana, Arial, Helvetica, sans-serif} .style4 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px; } .style6 {font-size: 14px} .style8 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px; color: #000000; } a:link {color: #000000;} a:visited{color:#009;} a:hover {color: #000000;} .ROOD {color:#F00} .style10 {color: #FFFFFF} .style14 {font-family:"verdana"; font-size: 13px; color: #000000; text-align:center; } #BOX{ width: 360px; height:302px; background-color: #ffffff; border: 2px double #333; padding: 15px; font-family:'verdana'; font-size:14px; z-index:2; margin-left: auto; margin-right: auto; } div.row { clear: both; padding-top: 5px; } div.row span.label { float: left; width: 100px; text-align: right; } div.row span.formw { float: right; width: 235px; text-align: left; } div.spacer { clear: both; } #wit-vak-pilates { margin-top:-186px; margin-right: auto; margin-left:auto; z-index:-1; } #CR { text-align:center; z-index:3; margin-top:149px; margin-left:5px; } #back{ width:16px; height:16px; background-image:url(pics/back.png); background-repeat:no-repeat; z-index:2; margin-top:0px; margin-left:-32px; } #back:hover { background-position:0 -16px; z-index:2; } I am new to the forum, and relatively new to web design. I recently updates some things on a very basic page for my wife who is a hair stylist. For whatever reason, the index page will not display in IE or Chrome, but will just fine in Firefox. I've checked everything and just can't find what is causing the issue. http://amyappletonhairdesign.com These pages on the same site display fine if you need a point of reference: http://amyappletonhairdesign.com/services.html http://amyappletonhairdesign.com/contact.html Thank you! |