HTML - Keeping Things In One Spot.
Hello, I have this code:
(The important part is in bold) Code: <html> <head> <style type="text/css"> .navlink a:link { font-family: Verdana, Geneva; font-size : 80%; font-weight : bold; color: #000000; background-color: white; text-decoration : none; margin: 5px; padding: 5px; border : 1px outset black; display: block; width: 150px; text-align: center; width: 142px } .navlink a:visited { font-family: Verdana, Geneva; font-size : 80%; font-weight : bold; color: #000000; text-decoration : none; padding: 5px; margin: 5px; border : 1px outset gray; display: block; width: 142px; } .navlink a:hover { font-family: Verdana, Geneva; font-size : 80%; font-weight : bold; color: #000000; text-decoration : none; padding: 5px; margin: 5px; border : 1px inset black; display: block; background-color : #99ccff; width: 142px; } .center{text-align: center} body{font-family: Verdana, Geneva;} h1{font-weight: bold} </style> </head> <body bgcolor="#4d4d4d"> <table style="position: absolute; top: 0px; width: 850px; margin: auto; border: 3px solid #000000; background-color: white"> <tr><td class="center"> <img src="logo.png"><img src="smiley.png" style="position:absolute; left:838px; top:6px"><hr> <p style="position:absolute; left:842px; top:118px; font-size: x-small"> First time here? Click the smiley!</p> <table width="150" border="0" bgcolor="white" class="navlink" style="border-type: solid"> <td class="center"><a href="index.htm">Home</a></td> <td class="center"><a href="link1.htm">Cartoons</a></td> <td class="center"><a href="link2.htm">Guestbook</a></td> <td class="center"><a href="link2.htm">Contact Me</a></td> </table> <table style="margin: 6px; border: 1px; border-style: solid"><tr><td width="650px"> <h1>Site Released </td></tr></table> </tr></td> </table> </body> </html> Does anyone know how to keep the smiley face and the words "First time here? Click the smiley!" In one place while the window is resized. (Preferably without having to put them in the table.) Similar TutorialsHello All, I have been developing basic websites for the last couple of years and never really done much with Hot Spots now i know how to make the hot spot HTML Code: <map name="header1Map" id="header1Map"> <area shape="rect" coords="158,11,358,138" href="#" /> </map> Now instead of going to a new page onclick i want it to make a image pop up on the same page like the program pop box but cannot seem to get the code to work here is what i have so far. HTML Code: <map name="header1Map" id="header1Map"> <area shape="rect" coords="158,11,358,138" img id="1" alt="" src="images/IMG_0596.JPG" pbshowcaption="True" pbcaption="" style="width: 150px; height: 100px;" class="PopBoxImageSmall" title="Click to magnify/shrink" onclick="Pop(this,50,'PopBoxImageLarge');" /> </map> the script works when i insert outside of hot spot. Any help is greatly appreciated. Best Regards Lee You know those sites where all this information is on this one REALLY long page and they have links at the top to send you to the exact spot where you need to be? How do I make that happen? This will be for myspace but I've heard that myspace filters the "#" that is needed in the code so is there anyway around this? Hello Folks I want to be able to anchor to not only a different page, this is a simple link, but I also want to be able to go to a specific point on that new page from the original hyper link... Example; I am viewing on page "A," on my site and I want to set a link on page "A" to take me to page "B" to the word "Widget." On page "B" I have the word "Widget" 2/3rds the way down the page. I want to go further than just to the top of page "B," I want my SAME link from page "A" to take me to the word "Widget" that is near the bottom of the page "B" all in the same link. (One click) I understand I am going to need to set code at each word, this is a lot of work and this is OK.. Thank You So Very Much for any assistance David Hi, I am looking for some insight on this matter. I currently convert images to html by using fireworks to slice up td backgrounds. and then position elements on an overall table with invisible image spacers. This is very time consuming.. I am looking for an easier way to convert images to html. Is there a program that will let me accomplish this easier? I dont want to use invisible images any more. Any advantages / disadvantages in using either approach? I am looking for a program that will be wc3 compliant and multi browser compatible. Thanks for your input. I'm looking for a routine or function that allows for floating popups when the pointer is placed over a hot spot on a client-side image map. Currently there are plenty of sources for code out there that show a popup when floating over a text URL or an IMG URL, but when putting a mouse pointer over an image map the same code does not work. Even when declaring the image map an OBJECT rather than just a basic <img>. So essentially, I want the mouse to hover over an image map, and then have a small pop up of an image show up. Thanks in advance help is greatly appreciated. on my site (www.absoluteECW.site88.net) underneath the button Latest Blog.. i want to put in this youtube video, HOW do i get it, what code should i use? The background is set to behind, i just want to know, have it sized and everything. Anyone who can help, will give BIG props!!! please help, this is the final thing that i need I'm designing a website for my boyfriend and this is the first time I've ever properly used HTML (and therefore I'm using a html coder to write most of it) but I've got a problem. I think the best way to explain would be to show you a print screen: http://i4.photobucket.com/albums/y12...secrets/PS.jpg Okay so basically, the buttons to the right of the screen ('home', 'about' etc) I want them to be underneath the banner for the webpage (where it currently reads "welcome to lancaster roots), but I cannot figure out how to get them there. The html for the banner followed by the html for the buttons is also on the printscreen. If someone please could explain to me where I'm going wrong, it'd be brilliant. Thank you, Suzanne. ok so i made well im making a new site called prize hub where you play games to win coins/points and spend them to get prizes but thers a few things i need to no 1-what is a good/free web host 2-how would i make a fake money / point system 3-how would i make games give points 4-how would i make it so u can buy stuff with points http://influxgaming.com/ is my website. Finishing it up. (NOTE: Made for FF) I'm trying to link the Forum topics/posts to the Table Titles corresponding. I.E. Content Linked to Content, and Recent Matches linked to the NEWEST 5 Recent Matches. Can anyone help me as to how I can go about doing this? Help would be greatly appreciated. ESSENTIALLY what I want is a Custom PORTAL. Everything linked from main page to Forums. i started learning html, css, js, php, i read a lot of material, but when i start to write html, i dont remmeber anything. how do you remember all of it? and remember every each tag goes? got any tips or good sites for beginners? and another question, before you make the site, do you draw a blueprint on how you want it to look like? or do you just go with an idea? thank you Hi! I would like to ask you guys a thing. Is it possible to embed things into the website, and move them around like it were a file folder for example. An example is: http://www.windoof.org/ Thx. I have just made a help section for my website and it looks like too much text. I'm just wandering if it's possible to create those little plus minus things that expand/contract text in basic HTML (by basic HTML what i mean is no java or scripting stuff) So the headers would be there with a little +/- next to them and people click them to show or hide the relevant text TIA Hi! I am trying to set up this following text on a html page: Address: blah1 blah2 blah3 blah4 Fax: blahf phone: blahp Im just putting each of the different fields (addy, phone, fax) into a paragraph element. But how do i break up each part of the address so they lie beneath each other??? I thought about using 'span' on each of the blah3,4,&5 bits and treating them as block level elements and then shifting them so they line up, but thats really messy. And how do i get it so each of the blahs for the different fields line up? Any ideas? Hello guys Well I have just made my homepage: www.sp34k.dk and its in Danish, I made my homepage as a blog/diary but somethings thats, pretty annoing is that I have to go to my htm doc. to edit my text and/or write something else, my point is that I have been trying to understand the cms so that I can login on my homepage and edit the text as I want it.. I dont know much about databases and php so maybe its stupid for me to jump out in such a big problem.. There are a few things I could like to add on my page, let me direct you on my page to where I wish things to be: <i>If you go to "Min blog" and choose one of the links, then you would see my diary shortly, what I wish is that in the bottom people can write a commant so that when myself or other people return to my blog they can see all the comments that people made</i> - Well, I hope it wasn't to much to ask for, but a short answer or just anything would be great So thank you for reading this.. Regards Mike B. How do you do those 'sponsor ads' things you have up there, with the links in them? What code do I need to setup to collect people's email addresses and then redirect them to the next page? Also, where do I collect the addresses -- do I have to setup an sql database with my host? The site I am working on is: http://www.essaywritingpower.com Many thanks! I know this is technically a javascript question, but I am trying to create a javascript popup window, but everything I find and try doesn't seem to work for what I want to do. I want a pop-up window to open when I click a certain image button on my site, and not automatically when the site loads. I want the pop-up to be positioned at top left and for it to always stay above the parent window. I've tried the alwaysRaised functionas well as focus ones but no luck! Ta! Some example code would be much appreciated. Hi everyone! I want to include Google ads in My forums But I want them to to stay on the right of the page So, apart from the Google ads code, anyone knows the code which I put so that the banner stays at the right (I will put it in the Header file, I know that) I just need the code to make it expand on the irght with the page _______________________ Academy of Security There are 2 strange things on my webpage. Their at the bottom of the page (com) and (ed) I dont know how to get them off the page, i cant see them in the html code. http://www.amazinghealthalerts.com/ Can someone help me find them? Hi, name's Richard, thanks in advance to everyone for their help. I'm starting to develop a (rudimentary) website for my sis. I've noticed a little graphic glitch in IE only. What's the best forum to post my question? HTML? CSS? Here's the page in question: http://www.coldvalleyfarm.com/sheep.htm In IE only, at the bottom of the left row of pictures, there's a small white square with a white dot in the middle. Any idea what could be causing that? I've validated the pages, but I know IE isn't always compliant. This is with IE 7.0, btw. |