HTML - Images And Html, Not Sure What Im Doing Wrong
Hi guys
Im new to HTML (relatively) and would greatly apreciate some input or ideas as to what im doing wrong. I have recently created a website using a CMS (i know you shouldnt but i am learning HTML and will soon be ditching the CMS) and therefore have no control over the CSS One of the things i am doing on my site is to show artists work off to the world. Therefore they give me the images and i have little to no control over their appearence. To protect the images i have decided to make the actual art the background of a table and to put a blank image infront of it. However i have come across a problem. The picture doesnt seem to be showing as the size i am putting into it. If you go to http://www.dragonstouch.co.uk/page22.htm you will see what i mean. The code i am using for the top picture is: <table cellspacing="0" cellpadding="0" width="520" border="0"> <tbody> <tr> <td width="520" background="http://www.dragonstouch.co.uk/userimages/OakdragonCR2.jpg" height="377" < td alt=""> <div align="center"> <div align="center"><img style="width: 520px; height: 377px" height="377" alt="Oak Dragon" src="http://www.dragonstouch.co.uk/userimages/Blank(1).gif" width="520" border="0" /></div> </div> </td> </tr> </tbody> <p align="center"></p> </table> Now as far as i can see i have set the height as 377 and the width as 520. When i rightclick and go to the blank images properties it shows as the height being 377 but the width as 540. I really have tried everything i can think of and nothing seems to help. Any ideas would be greatly apreciated. However due to recent experiences i would also make a couple of requests. I am trying very hard to learn HTML and i already know that the majority of you if not all of you have a far superior understanding of it than i do. I say this because the forums i went to before this one were very argumentative and tended to talk to me as if i were a moron. 2ndly i am aware that there is no foolproof way of protecting images. I say this because as before when i posed this question to a previous forum they just insisted i shouldnt do it and that images shouldnt be put on the net and would not help me. I dont mean to be rude or anything like that i just found my previous experience with the html experts very frustrating and therefore i just want to state that i am asking for help, not grief. I hope this doesnt put you off helping me. Thanks all in advance. Dariune (Lex) Similar TutorialsHello! I'm completely self taught and sometimes I get things wrong. I'm having problems with the html. The site looks bigger and some of the sizes (scroll bar) aren't right in Internet Explorer - I was wondering if anyone could tell me what the problem is or even suggest another way to work it out.. Here's the link: http://www.shortdoggkennels.com/brooklynsedge/home.html And here's a direct link to the CSS: http://www.shortdoggkennels.com/brooklynsedge/style.css Thanks in advance! Hi, I need a favor. Can one of you go here http://www.everyman2.com/test.html I do a webcomic, and for some reason the image won't center in the maroon box. I don't know much (or anything) of html so it really doesn't make much sense to me. Can someone go and view the source? Thanks a million! I know I'm really new to this, but I'm following a guide and I don't seem to be doing something right. Let me show you an example of some code that won't work for me.. <h1 style="color:#09C" align="center" style="border:dashed"> Hello</h1> ^This is what I'm having problems with. When I first put in the color and align, everything worked fine. Then the code stopped working when I started putting on a border, a font style, and etc... Why is it that when I start setting multiple preferences (color, size, center,etc..) , the code stops working? Thanks in advance. Oh Btw, I'm using Dreamweaver if that matters. OK, I have no clue why this is happening: In the following code, the far right-hand column stays bold, even though there is no reference to bold fonts being made. There is no way to turn the bold off, it's just stuck there. Has anyone ever run into this problem before?? Code: <table style="width: 689px; height: 192px;" border="0" bordercolor="#cccccc" cellpadding="5" cellspacing="0"> <tbody> <tr> <td><a href="http://www.somecompany.com/features.htm"><img style="border: 0px solid ; width: 286px; height: 152px;" alt="" src="images/features.jpg"></a></td> <td colspan="1" rowspan="2"></td> <td colspan="1" rowspan="2"> <div style="text-align: left;"><span class="BigBold">Take a test drive...</span><br> </div> <div style="text-align: left;"><br> <span class="SmallItalic"> "Today was the first day that I ever"<br><br> </span> </div> <div style="text-align: right;"><span style="Small">-Suzette, Ontario Canada<br></span><br> </div> <div style="text-align: left;"><span style="Small">Today was the first day that I everToday was the first day that I everToday was the first day that I everToday was the first day that I ever<br> <br>Today was the first day that I everToday was the first day that I everToday was the first day that I everToday was the first day that I ever<span style="font-style: italic;"></span><br> </div> <p style="text-align: right;"><a href="http://www.somecompany.com/demo_setup.exe"><img style="border: 0px;" alt="Download Now" src="images/download_demo.gif"></a></p> </td> </tr> <tr> <td colspan="1" rowspan="1"><br><br><br><br><br><br></td><td></td></tr> <tr bordercolor="#CCCCCC"> </tr> <tr bordercolor="#CCCCCC"> </tr> <tr bordercolor="#CCCCCC"> </tr><tr></tr><tr></tr> </tbody> </table> <br> <table style="text-align: left; width: 689px; height: 196px;" border="0" cellpadding="3" cellspacing="2"> <tbody> <tr> <td colspan="2" rowspan="1"><span class="BigBold">System</span><br><span class="Default">Basic PC Requirements</td> <td colspan="1" rowspan="3"><img style="width: 4px; height: 221px;" alt="" src="images/download_pin.gif"></td> <td colspan="2" rowspan="1"><span class="BigBold">Support<br></span><span class="Default">Help, I'm stuck!</td> <td colspan="1" rowspan="3"><img style="width: 4px; height: 221px;" alt="" src="images/download_pin.gif"></td> <td colspan="2" rowspan="1"><span class="BigBold">Buy It Now<br></span><span class="Default">Ready to purchase?</td> </tr> <tr> <td><img style="width: 61px; height: 61px;" alt="" src="images/system.gif"><br> <br> <br> <br> <br> <br> <br> </td> <td style="width: 245px; height: 8px;"><span style="SmallBold">Requires a PC running Windows 3.1, 20GB of RAM recommened.<br><br> 10GB of disk space required for the installation files and 2000GB recommended.</span><br> <br> <br> </td> <td><a href="http://www.somecompany.com/support.php"><img style="border: 0px solid ; width: 61px; height: 61px;" alt="" src="images/service.gif"></a><br> <br> <br> <br> <br> <br> </td> <td style="width: 250px; height: 8px;"><span style="SmallBold">Today was the first day that I everToday was the first day that I ever<br><br>Today was the first day that I everToday was the first day that I everToday was the first day that I everToday was the first day that I ever<br><br> <a href="http://www.somecompany.com/support.php">Click Here...</a></td> <td><a href="http://www.somecompany.com/purchase.php"><img style="border: 0px solid ; width: 61px; height: 61px;" alt="" src="images/buy.gif"></a><br> </span> <br> <br> <br> <br> <br> <br> </td> <th style="width: 245px; height: 8px;"><span style="Small">Today was the first day that I everToday was the first day that I everToday was the first day that I ever.<br><br>Satisfaction is guaranteed. Today was the first day that I everToday was the first day that I everbr> <br> <a href="http://www.somecompany.com/purchase.php">Click Here...</a><br> </span> </th> </tr><tr><td></td><td></td> </tr> </tbody> </table> <br><br><br> Hello everyone. I would appreciate it if someone would spend a second of their valuable time to answer my simple question. What is wrong with the following html code: <html> <head> <title>Testing</title> </head> <body> <div id="whitefont" style="font-color:white;background-color:black;">hello</div> </body> </html> ? Hi All, I recently started building my own webshop with dreamweaver. My knowledge when I started 2 weeks ago was totally non existent so have had to teach myself as I've gone along. I put my first (index) page on my server and have now noticed a few problems - My screen has to be scrolled across to see the entire page on my other computer but is ok and fits the screen on the computer I am making the site on and the javascript I put in my page doesn't show up. My dad advised I use an online html checker which showed 7 faults and said I had another 20 that it didn't list. I tried to understand and correct as it suggested but really don't understand a lot of it at all. It's disheartening me so much I feel like I could just quit it but I really have worked hard at it so far and would love to get it working. Is it possible for someone to checked the source of my page and tell me where I'm going wrong? Or does someone know where I can get it checked and rectified? I know its asking a lot but I can't think who else to turn to for help. My site is www.create-a-blind.co.uk Thanks for reading, Debby. Hi I have problem with IE7 at present with a HTML table. The problem may span beyond HTML tables but basically the colors are coming out all wrong. Firefox is fine, I'd hardcode bgcolor="red" and it comes out red. In IE7 it comes out blue however Most other colours apart from black and white are the same. Does anyone know what is causing this? Hi, I just changed some content in the middle of a oscommerce php page that I have been working with for a couple of years. I frequently add or change content in a table in this page. http://www.leavemeb.com/index.php Today, I added new stuff, pics, etc and used percentages in the tables to space things out well and so that when someone expands or condenses the browser window, the content adjusts accordingly. Now, in IE it shows up perfectly, yet in firefox on my mac it is very spaced out and can't even fit the whole page across without me having to scroll to the right to see the right collumn. Can anyone help me see what is not working here? I would be very grateful. I can't seem to see it. Nichole Hi Iam a beginner in html and need help inserting an image in the header. Iam trying to insert an image in the header and it is taking lot of space than it should which looks awkward on my webpage with the white space can someone help to insert the image exactlyso that it does not use that extra space hi, i want to create a page where in my background image has a shaded blue image with a boy jumping on the left side of it, I want to extend the image to the whole of the browser but it is not, please help it is very urgent. I have just started to learn HTML and was trying to get images on my exparimental web page. I haven't published the page and I have tried everything to get it to work. I can get images to work on my backround but not on the page itself. i.e.<img src="/pics/mf.gif" width="100" height="100">. I have used the full path name and all pics are in the same folder as my page. All I get is a box on the top left of where the pic should be, its like the image isn't loading. Please help Hi all. I've implemented an Image on my .html page using the following source code: Code: <img src = "www.myURL.com/images/logo.jpg" alt = "my Logo" width = 15% height = 15% > but I get a big X where the image should be. I've also tried just using "/images/logo.jpg" as the src, but that doesnt work either. My pages are all online by the way, and are not stored locally on my Hard Disk. All my pages are in www.myURL.com/pages/ and the images are in www.myURL.com/images/. Any tips? Thanks Hello, let me begin by saying that I know absolutley nothing about HTML but have been put in a position to learn a little I have made a dinky HTML page in MS Word 07 that we are trying to email to some folks on newsletter list and I am having an issue. When I send the test file to myself the images don't load. From what I understand they need to be hosted in order to load correctly. 2 Questions: 1) Can I host them on photobucket? 2) How in the heck do I get them to display properly??? I.E. Where does the IMG tag go? If anyone can help me I can post the source code and the IMG tags from photobucket...... Thanks! I saw some images embedded in text created with ▐ and ۩. If all you see are the images, the code is: &-#-9-6-1-6-; and &-#-1-7-6-9-; (disregard the hyphens). What are these images called and where are they documented? Don Hi! I'm pretty new to html, I'm trying to build my own fairly simple website using 123 reg Instant site and I want to make it from scratch with my own banners and buttons etc. I've been playing around putting some images up on the webpage, but I'm having problems getting the images to stay put, they move around when the browser window gets made smaller/bigger. heres the link to the website http://handbagshandbagshandbags.co.uk/ Any help would be really appreciated! Hi, I was wondering what the easiest way was to add an image loader to a cell on a table. Basically I want the user to be able to browse their images for an image file and then load that to another cell on the table. I don't have much experience with HTML but I need to learn how to do this code for one of my assignments and I couldn't find any clear tutorials on how to do it. Any help would be appreciated. Hi all. I'm having a little bit of trouble with putting sliced images on my website and was wondering if you could help me out? I've made a very basic menu design in photoshop. I sliced the image using Photoshop then opened the resulting html file in Frontpage. When I opened the page in preview mode, the sliced images had moved slightly away from each other which is giving me gaps between the slices. Its also doing this when I view the page in a normal web browser, but not in photoshop Is this because I am using frontpage or could it be some kind of options setting in photoshop? Sorry if this is posted in the wrong forum btw....Any help would be great Thanks Hi there, I have the almost impossible task to create a newsletter (text + pics) that contains a background image and needs to be distributed using Microsoft Business Contact Manager (Microsoft Outlook add-on). So, can you tell me if background images are 100% good html or not? If yes what could I be doing wrong (CSS, links to images...) Please help Marco how to add images to the html select element. I mean in the options it should display images along with text. Thanks in advance I have taken a photo with my camera and need to put it on the web. How do I insert the image from my local computer PC to html code so when people search the web they see the picture on that web page? I am not a HTML guru. Any help is appreciated. Thank you all. |