HTML - Is This Head Code Necessary?
In a template I'm using I find the following head code.
<style type="text/css"> /* <!-- */ Is the /*<--*/ necessary? Does it do anything? Can I remove it along with the ending tag /* --> */ , or is it required? I presume I need the <style type="text/css">, because I does use some style tags in the body. Thanks Similar TutorialsHey guys, im new here so I want to introduce myself. I run an ubuntu server from home and serve Thetuxhouse.com from it. I was just adding a favicon to it and ran into an obstacle. I've been using javascript for repeated stuff like the menu, and banner. The favicon links would also be repeated. I tried to use javascript in the same fashion for the favicons in http://thetuxhouse.com/js/head.js and it did not work. I need to make an external file for the links to the favicons that are currently making my header very bulky. Thanks alot. -Hartless Ok I am not sure what I need to use to create my site. I want to have a box in the middle of the page, when it is clicked I would like other boxes to expand from it. Am I going to need flash for this? I really hate to do this, but I am in need of some help. A few days ago I had a family reunion with one hundred or so attending, and somehow word got out that I was a Computer Engineering major. Now this is where it gets tricky, I was approached by a number of my distant relatives wanting me to build a website for our family reunion. They want something very simple so anyone of any age can use it, and they want to have some kind of registration where you can view everyone else who registered and post images of the family. However they don't want a forum because it is " Not elderly friendly". My knowledge of HTML is probably slightly higher than a beginner level, and this entire this has me flustered and stressed out. Does anyone have any tips on where to start for this? yo ppl i can get a head an everythin <head><title>thisisexamle</title></head but how do i get a samell img in ther like this site? the little light bulb thing thnx for ur time marcus I have the following code in my <head> Code: <script src="scriptaculous/lib/prototype.js" type="text/javascript"></script> <script src="scriptaculous/src/effects.js" type="text/javascript"></script> <script type="text/javascript" src="fabtabulous.js"></script> <script type="text/javascript" src="validation.js"></script> <title>AUDY</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" type="text/css" href="audy3.css"/> However only the java is loading, not the css. If I change the css link to an absolute link (http://.../audy3.css) then the css works but not the java. If I change the java links to absolute links it still doesn't work. What's going on? I am extremely new to Web design. I have found that it is very tricky to design sites that will look good regardless of which browser is being used and regardless of what browser settings have been tweaked. Following is my first attempt at a personal template. http://eversnug.com/holmeschiropract...es/frames.html There is a border segment just dangling to the bottom of the lower left corner that I don't know how to get rid of. Any help would be much appreciated. Basic question, but can anybody tell me how to load a new HTML page upon immediate load of a page. I am looking to have index.html immediately load a different home page. I'm trying to use onLoad, but can't seem to get it working. Thanks I am having issues with a myspace layout, I usually do my own, but my friends band had another guy do it. In the process he made a custom mast header and the music player is not showing up. Here is the coding, can someone help fix this please. HTML Code: <div class="masthead"><img src="http://i33.tinypic.com/2087lep.jpg"><br> <a href="http://www.msplinks.com/MDFodHRwOi8vaG9tZS5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj11c2Vy"><img src="http://i34.tinypic.com/2yzesk3.jpg" border=0></a><a href="http://www.msplinks.com/MDFodHRwOi8vZnJpZW5kcy5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj1pbnZpdGUuYWRkZnJpZW5kX3ZlcmlmeSZmcmllbmRJRD0xMTM5MjE4Mzc="><img src="http://i37.tinypic.com/qy8e14.jpg" border=0></a><a href="http://www.msplinks.com/MDFodHRwOi8vbWVzc2FnaW5nLm15c3BhY2UuY29tL2luZGV4LmNmbT9mdXNlYWN0aW9uPW1haWwubWVzc2FnZSZmcmllbmRJRD0xMTM5MjE4Mzc="><img src="http://i37.tinypic.com/2j0l9o5.jpg" border=0></a><br> </a> <a href="http://www.msplinks.com/MDFodHRwOi8vdmlld21vcmVwaWNzLm15c3BhY2UuY29tL2luZGV4LmNmbT9mdXNlYWN0aW9uPXVzZXIudmlld0FsYnVtcyZmcmllbmRJRD0xMTM5MjE4Mzc="><img src="http://i38.tinypic.com/2dqiplh.jpg" border=0></a><a href="http://www.msplinks.com/MDFodHRwOi8vZnJpZW5kcy5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj1ibG9jay5ibG9ja1VzZXImdXNlcklEPTExMzkyMTgzNw=="><img src="http://i37.tinypic.com/awt752.jpg" border=0></a><a href="http://www.msplinks.com/MDFodHRwOi8vY29tbWVudC5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj11c2VyLnZpZXdQcm9maWxlX2NvbW1lbnRGb3JtJmZyaWVuZElEPTExMzkyMTgzNw=="><img src="http://i34.tinypic.com/2r7vvck.jpg" border=0></a><br> <img src="http://i33.tinypic.com/11ry97c.jpg"><br> <img src="http://i37.tinypic.com/oj14hu.jpg"><a href="http://myspace.com/jaygambit"><img src="http://i36.tinypic.com/i5otb9.jpg" border=0></a></div> <style> NOTE {This is the custom masthead} .masthead {width: 800px; height: 1000px; position: absolute; margin-left: -400px; left: 50%; top:0px; bottom: 0px; background-image: url("http://i38.tinypic.com/205rupd.jpg"); background-position:top center; background-repeat:no-repeat;} .copyright-jaygambit {Created by Jay Gambit} .copyright-jaygambit {Background Properties} table, tr, td {background-color:transparent; border:; border-width:0;} body {background-color:000000; background-image:url("http://i35.tinypic.com/2u9phjk.jpg"); background-attachment: fixed; background-position:top center; background-repeat:repeat; scrollbar-face-color:000000; scrollbar-highlight-color:000000; scrollbar-3dlight-color:000000; scrollbar-shadow-color:000000; scrollbar-darkshadow-color:000000; scrollbar-arrow-color:ffffff; scrollbar-track-color:000000; margin-top: 1000px;} .copyright-jaygambit {Table Properties} table table {border: 1px} table table table table{border:1px} table table table {border-style:solid; border-width:0px; border-color:000000; background-color:000000;} .copyright-jaygambit {Text Properties} table, tr, td, li, p, div {font-family:Times; color:ffffff; font-size:12px;} .btext {font-family:Times; color:ffffff; font-size:12px;} .blacktext10 {font-family:Times; color:ffffff; font-size:12px;} .blacktext12 {font-family:Times; color:ffffff; font-size:12px;} .lightbluetext8 {display: none;} table table table table td {width:0px;} .contactTable td, table table td.text table td, table table table table table td {width:auto;} .redtext {font-family:Times; color:ffffff; font-size:12px;} .redbtext {font-family:Times; color:ffffff; font-size:12px;} .text {font-family:Times; color:cd853f; font-size:12px;} a:active, a:visited, a:link {font-family:Times; color:cd853f; font-size:12px;} a:hover {font-family:Times; color:ffffff; font-size:12px;} a.navbar:active, a.navbar:visited, a.navbar:link {font-family:Times; color:ffffff; font-size:11px;} a.navbar:hover {font-family:Times; color:ffffff; font-size:12px;} a.redlink:active, a.redlink:visited, a.redlink:link {font-family:Times; color:ffffff; font-size:11px;} a.redlink:hover {font-family:Times; color:ffffff; font-size:12px;} .nametext {font-family:Times; color:ffffff; font-size:20px;} .orangetext15 { background-color: 27382E; color: ffffff; font-size: 10pt; text-align: left; font-family: Times; font-weight: bold; line-height: 13px; text-transform: uppercase; border0px solid; border-color:00ff00; width:100%; display:block;} .whitetext12 { background-color: 27382E; color: ffffff; font-size: 10pt; text-align: left; font-family: Times; font-weight: bold; line-height: 13px; text-transform: uppercase; border1px solid; border-color:00ff00; width:100%; display:block;} object {position:absolute; left:50%; top:640px; margin-left:-225px; z-index: 3;} table table table object {position:static; margin-left:298px;} </style> <style type="text/css"> .contactTable {display:none;} </style> <style type="text/css"> div table table a img {display:none;} </style> <style> td.text object {visibility:hidden;} td.text td td object {visibility:visible;} </style> <center/> <br> </style> <a href="http://www.msplinks.com/MDFodHRwOi8vd3d3Lm15c3BhY2UuY29tL21heWhlbXByaW50aW5n"_blank"><img src="http://i63.photobucket.com/albums/h144/comarosteve/IDWTDIT/l_b397090fc61fe8af71ec106eb13ac25b.jpg" border="0" alt="IDWTDIT Shirt"></a> <br /> IDWTDIT Shirts available in black, red and blue. Please specify color and size. <br /> <br /> <br /> <img src="http://img151.imageshack.us/img151/6231/idwtditbanner1ss6.gif" /><br /><br /> <textarea><a href="http://www.msplinks.com/MDFodHRwOi8vd3d3Lm15c3BhY2UuY29tL2lkb250d2FudHRvZGllaW50ZXhhcw=="><img src="http://img151.imageshack.us/img151/6231/idwtditbanner1ss6.gif"/></a> </textarea> <br /> <br /> <br /> <br> <br /> <br /> <style> .r { fixes positioning of the new music player } table table td.text div div {position:relative; left:-200px; } *html table table td.text div div {position:absolute; top:640px; left:30.5%; margin-left:-200px; } </style> <div style="text-align:center;width:425px;"> <div><object type="application/x-shockwave-flash" allowScriptAccess="never" allowNetworking="all" height="350" width="450" data="http://musicservices.myspace.com/Modules/MusicServices/Services/Embed.ashx/ptype=4,ap=1,plid=51437,artid=3171452,skinid=16,profid=113921837"> <param name="allowScriptAccess" value="never" /> <param name="allowNetworking" value="all" /> <param name="movie" value="http://musicservices.myspace.com/Modules/MusicServices/Services/Embed.ashx/ptype=4,ap=1,plid=51437,artid=3171452,skinid=16,profid=113921837" /> </object> <br /> <style type="text/css"> .contactTable {width:300px!important; height:150px!important; padding:0px!important; background-image:url("http://img67.imageshack.us/img67/192/idwtditbgqz8.jpg"); background-attachment:scroll; background-position:center center; background-repeat:no-repeat; background-color:transparent;} .contactTable table, table.contactTable td {padding:0px !important; border:0px; background-color:transparent; background-image:none;} .contactTable a img {visibility:hidden; border:0px!important;} .contactTable a {display:block; height:28px; width:115px;} .contactTable .text {font-size:1px!important;} .contactTable .text, .contactTable a, .contactTable img {filter:none!important;} </style> Hey All I'm having some trouble with the most basic of things. I currently own some web space which supports upto 6 domain names. I'm already using one, we'll call it FIRST.com which works fine. During this week i purchased a new domain name lets say called SECOND.com. Using CPanel I was able to create an addon domain which automatically sets the root directory of the new domain to a folder called SECOND.com The problem I am having is that although if I type into my browser SECOND.com (and having set my .htaccess file) I get my index.html page with text, no images or CSS styles have been applied. Links to other pages work however, even if they are in sub directories. For some reason I just cannot link images or CSS files, yet if I type their path into the browser they are displayed, does anyone know what I'm doing wrong? Thanks in advance Rev Hello, I am a student and working on a simple first project. All I'm doing right now is writing my code in text edit, saving it as "test.html", and dragging and dropping the file onto Safari/Firefox to view my code. Everything works when I'm at my college's computer lab, but when I'm on my own mac notebook, the files load in the browser as my code. I've tried a variety of samples and checked my preferences, but I can't figure out what I'm doing wrong. Sample code I'm using - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <HTML> <HEAD> <TITLE>Simple Link Example 2</TITLE> </HEAD> <BODY> <H1 ALIGN="CENTER">Creating Relative Reference Links</H> <HR> <P>Open <A HREF="practice1.html">Practice 1</A>.</P> <P> Open <A HREF="practice2.html">Practice 2</A>.</P> <P>Open <A HREF="practice3.html" TARGET="_blank"> Practice 3</A> in a new window.</P> </BODY> </HTML> Please help! I'm trying to wrap up an assignment and have been banging my head against the wall all night. Thanks! cordelia I was curious to find out, where can i find a cool looking shoutbox code where i can put on my message forum? Looking for some neat, and cozy with some advance options. Meaning, i would like to change the colors to match with my forum and stuff. Thanks. Hello! I have a blog on blogger and i want to make a c++ tutorial.. But every time i type "<iostream>" on post, when i see it, it is only "iostream". How can i make a code like the "[code]" from BBcode to cancel the compiling from HTML? Thanx! I have a website where I want to make a drop down menu that will bring you to different pages. It is a very basic, sort of old-fashioned website that relies entirely on html. What I'm trying to do is make a drop-down menu that will be used as navigation for a section of a website and I want to have it in each internally linked page in that section, but I'm going to be adding more pages to it over time so I want to be able to put the drop-down menu code in a separate text file and then substitute it into the pages that I make that the options in the menu link to and then just edit the code in the text file when I add another page so that I don't have to go back and edit the code every single individual page whenever I add a new one among them. Basically all I'm asking is how I can put html code in a text file and then substitute that code into an html page by referring to the file. Thanks in advance for any help. I got some code of a tutorial for an image slider, and I used NotePad ++ to edit it with my images and links. But I don't know whats wrong?!? It won't load. I put it in Wordpress and upload the images and it doesn't work! I have attached the code file. Thanks is anyone can help! Hi, Can someone check the code and tell me why the bottom row keeps going to the top? http://elitedonuts.com/test1.html Also when I use a validator it keeps telling me these errors but I seem to have the closing </body> and </div> tag? http://validator.w3.org/check?uri=ht...alidator%2F1.2 Thanks Hey Guys!! So im making a website for my minecraft sever and i was hoping for some help and ideas for html and hosting websites!! if anyone has any ideas give me a message, id really appreachitate it! :3 .. -- Raideh I really need help with www.classic-corvettes-ky.com/monday.html to send an email containing data entered when a user clicks "Submit" or refresh the page when the user clicks "Reset". What im trying to do is add a search box for travel like this one: http://osc4.template-help.com/wt_31362/index.html How is this done? please anyone This is confusing; ill try to explaining it as well as i can. I need some code that will create a search box whose imput wil go at the back of a web address. ie type in kitten - it turns into google.comkitten its important that there is no / automatically added after the site this is not what i want: google.com/kitten just google.comkitten Any ideas? I use the Sitebuilder with my package from One & One as its very easy and quick to use. Anyway, my problem is that I used the 'W3C Markup Validation Service' and it found 6 mistakes. The mistakes were in the HTML code and for example would look like this: <b>text<b> instead of this <b>text</b> (the / missing) One & One say I cannot access the HTML code for my homepage, so how am I suposse to fix it? Any ideas? Thanks |