HTML - Directories Question
What do the two periods do in the front in linking to this location below?
http://www.test.com/blog/ <a href="../blog"> As compared to just linking with <a href="/blog"> Both work but what is the difference, and which method is better? Similar TutorialsHi guys, quick question, because i actually don't know the answer to it: if i have directories (i.e. Pictures) in my htdocs while the *.php/html extensions are in the root folder, i noticed that when an image link is pressed to open a picture in a new window, the address bar displays the directory name. Is this normal in a regular website, or is there a code for me to hide the address location when a new window is opened to display the picture? thanks At the least you need to use a scripting language like javascript to achieve what you are trying to do. Hi, is it possible to create a DTD for a xml-file, which can have a structure like any other xml but if in a node a attribut x appears in combination with an attribut y there are some rules which attributs have to appear in that node too. Thanks... p-flash Hey. New to Html so excuse my lack of understanding. I only know Basics, but my boss thought it was enough to get me to upgrade the companys current website. www.tvcsf.org.uk (current unupdated) I created the website thats not up yet by using Tables and had some one look at my Htm, he said its best to not use Tables but use div insted, so I've been making the website, but how do i add Frames into a <Div> Ill show you my code. <html> <head> <link rel="stylesheet" type="text/css" href="Stylesheet.css"/> <meta charset="UTF-8"> <title>Full Page Background Image | Progressive</title> </head> <body> <img src="images/DisHubLogo.gif" alt="" width="338" height="327" align="left"> <div id="page-wrap"> <iframe src="topbar.htm" width="100%" height="1075" scrolling="no"> <p>Your browser does not support iframes.</p> </iframe> <br><br><br><br><br><br><br><br><br><br> <br><br><br><br><br><br><br><br><br><br> </div> <div id="page-wrap"> HOW CAN I GET REF FROM TOP BARS TO OPEN HERE AND TOP BAR STAYS THERE </div> </body> </html> What exactly is XHTML. how much different from HTML is it? and, do I have to re-learn a whole bunch of stuff to write valid code with it? _________________ wedding ceremony Forex Trading System SEO Experiment I was looking through the code of this one website and i saw this: <script language="javascript"> <!-- insertPoll2('76375'); --> </script> I'm a bit confused by how this works, i dont know anything about javascript but this function here is used to create a poll and i want to do that on my website, but how does this work? Because the insertpoll2() function is Inside comments but also inside javascript braces. What's going on here? Thanks! Hello! I am new to this forum...sorry if I'm posting in the wrong place. I'm contructing my own jewelry website. I put in my ALT tags, and when I view the pages in my browser (I'm using Dreamweaver), the ALT tags don't show up. I don't know what I'm doing wrong. Here's a sample: <img src="images/citrine.jpg" alt="citrine necklace"> Am I doing something wrong? I would really appreciate knowing. I'm just about done with my website...this is the last thing I'm working on. KathyK27 So I'm working on my web page for my martial arts studio and I'm trying to figure out how I can do something. the page i have so far is www.boulderkempo.com/index2.html so what I want to happen is a black background on the main frame, and have a white box below the image for "home" with text. I also want all of these to end at a right side of the flash top part. I'll mess with the image size, but I need to know how to make a text box with a diffrent color background then the main background. I 've seen websites where they have text in a framed box, or it has a different color background. my blog is set up that way for example... http://wrxminion.wordpress.com/ (not trying to self promot.. my blog sucks anyway, i never update it) the other thing I'm trying to do is get the text to wrap to the next line at a certain point on the web page. I use dreamweaver and when i put margins it wraps the text at different window sizes in the browser. I really suck at webdesign, i'm only doing my own becouse i don't want to have to pay someone. sorry for such noob questions my main page is www.frankdeck.com Thanks alot for your guys help! I am using a div relative to place text on top of an image. The problem that I am having is in Firefox when a dropdown list is overtop of this div tag, the div tag shows up on top of the dropdown. I do not want this to happen. It does not happen in IE and it allows the dropdown to show up on top. How do I fix this My code looks like this: <div style="left: 15px; position: relative; top: 20px;" border="0"><font size="2" color="#ff8c00"><strong>Example Text</strong></font></div> Thanks. Jeff M Hey guys i was woundering the best way to update contnt on the site .. is there a HTML CMS or via the code? sorry if this is a simple question Jusrt come from using the e107 CMS and trying to get use to the hole thing! ^^. this issue has been solved Hello, I'm new here, so like, hi and all that good stuff, hope everyone is well! So, my question. When you type into your browser, cnn.com and it resolves to http://www.cnn.com, is that done via the .htaccess file? Type cnn.com into your address field in your browser to see what I mean if you don't get what I mean. Some sites don't resolve to the www, like gizmodo.com (type that into your browser to see what I mean). I've got two parties saying different things, one says it's DNS, one says it's .htaccess. HELP? Thank you! How can I copyright or otherwise protect my images online? ____________________ Polo Shirt Printing T shirt Embroidery I think PHP is a great thing...just frustrating at times - eh, we all get frustrated sometimes. I never get to vent to anyone about my lack of understanding web design. I did indeed try this navigational menu on a website...I think it's a really neat idea, actually - boy, can this ever save some time. However I've ran into a small little problem - I'm sure an even medocre-level designer will point out some obvious problem I'm doing that is just going over my head. The following URL: http://www.conversationalhypnosis.net/navigation.php I have setup a test to see if the navigational menu icons to the left would work, and voila! They did! But there's this little bugger that looks like this: that's sitting right on top of my menu...and it's putting a little space in. See it there? Again, the URL is http://www.conversationalhypnosis.net/navigation.php The menu 'block' should be flush up against the header block. You'll see what I mean - it's much easier understoot when simply looked at vs. explaining it. I put the following code in to "navigation.php" where I wanted the menu to appear: <?php include("navigation.html");?> Right? I also made sure "navigation.html" was uploaded (and obviously it is because you can see it when you go to the "navigation.php" page.). Any helpful comments to this would also be greatly appreciated! P.S. Is this forum the best one to post a question about tables/columns? I'm using a web template that I "think" uses tables (The same site above)...right? There's a column along the right-side of the page that goes all the way down (as needed) the page...I'd like to put an RSS feed there with updated content - but the only problem is sometimes, depending on the RSS feed headline/description, the column will expand toward the center of the page. This in turn screws up the look of the actual "content" of the page (which is to be the text in the "middle" if you will). Any ideas on this? If I should direct this "tables" question elsewhere please let me know and I'll gladly comply! I'm currently using Microsoft Expression web designer...I'm still in the process of finding "the best one". I made sure the "No Wrap" was NOT checked in that right-column, BTW. Question Know of any good ebooks? : I have recently purchased the resell rights to about 600 ebooks so that I can post them on my website for my registered members only. I've purchased all of these ebooks for under $20. I'm just wondering if there is any ebook out there that is actually worth the money? -- -Jonathon Byrd Publisher / Account Manager Byrd Incorporated 1230 E Clearbrook Dr. Bellingham, WA. 98229 C (360) 305.4664 F (360) 392.6861 Byrd Media Solutions http://www.ByrdMedia.com Hi, I am a bit of a noob so please bear with me if this sounds a simple question. I know all about precedence, but I don't know the right way of dealing with an issue I have. I have a number of nested lists containing 2 levels of UL LI. Whilst the level 1 styles may change, for instance I might have one style for the top bar on the website and another for the main nav, the 2nd level could be re-used in both instances. Lets say I create a generic style - "list-style1" .list-style1 {border...} <ul id="top-bar"> <li><a>level1</a> <ul class="reset-level1 list-style1"> <li> <a>level 2</a> </li> </ul> </li> </ul> When I'm styling the list, I reference the id #top-bar and then because I want to apply a generic style to level 2, I create another class called reset-level1 to reset li and a styles. The problem I have is that the reset is specific to #top-bar it takes precedence over my generic class .list-style1. I can of course hack it, but wondered how it can be worked round properly so that I can use my generic styles. Hope this makes sense. Thanks John Is there anything wrong with thia code? <h1><font color="000000"><em>Recycle With Us</em></font></h1><br clear="all" /> Shouldn't the <h1> tag be closed last? Thanks, Karen Hello, Is there a method to use a text file to update information on a couple pages at once? I have a "news" section on each of my pages, but whenever i need to update the news i have to change it on each page, which gets very long. I think i remember doing something awhile ago where i would have code in the news section that would read the text file; so i could simply change the news in the text file instead of every page. THanks for the help, JC Is there a way to make the number for a list item in an ordered list a hyperlink? For instance, where an ordered list is being used for footnotes, can the numbers be set up to link to the source documents? If so, what does the markup look like? Thanks. I have a real rookie question. I am new to CSS and I was wondering if I need to upload my CSS files to me web server, and if so do they need to go into a special directory on that server? Thanks |