HTML - Forms Causing Image Problems, Also Sizing Problems
this is my page http://web.vtc.edu/users/cjb06271/CI...nal/order.html
there are several things I would like to happen. 1. the right collumn background to be where the right collumn should be(so other links in navbar) 2.The test between the roach pictures to be alligned with the top rather than bottom of pictures (so smaller windows can see) 3. When you size the window smaller than the text, a scroll bar appears, and when you scroll the background no longer exists. If I put it on auto the background will only go as far as the text does. 4. (nice but not required)The cocroachs to be alligned to the left and right of the top bar respectively, and the text in the middle. 5. (nice but not required) the right column background image is being cut in half (as does the top one if you size small enough). any way to make the images ignore the collumns? don't worry about the colors I will be changing them soon Similar TutorialsHi All, I'm trying to show an image in a table but I end up with a bottom border of three to four pixels beneath it. Here's a simplified example of my table: Code: <table bgcolor="#00CC66" border="0" cellpadding="0" cellspacing="0"> <td> <img src="images/dummy.jpg" border="0"> </td> </table> You can see it in action here. The dummy.jpg is the grey box btw. I am working on the webpage: http://www.ashleylandscaping.com All works well, until you click on the "Contact" button. If you look at the other pages, everything is displayed properly. On the "Contact" page you will see a "Contact Us Form". When i have this form/table on the webpage, the whole bottom of the page disappears. If I remove that form from the page, everything looks fine. It must be just 1 or 2 things i'm missing, but I cant see it for the life of me. Hi everyone. This is my 1st msg on this forum so a BIG HELLO to everyone out there. Here's my problem. In my HTML I have the following DOCTYPE <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> and a bunch of javascript and HTML to implement a rich-text editor (this is actually a pre-written component that I'm using on the page). On Firefox the page views perfectly - no problems. On IE 6, all the buttons etc are displayed but the actual text are where the user can type is not visible so the component doesn't work properly. The strange thing is, if I change the DOCTYPE declaration to : <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> then everything works fine in both IE and FF. My problem is that I need to keep the 1st DOCTYPE and can't use the second. Would appreciate if someone could help me figure out why the page does not work in IE. The attached ZIP file contain the code in testAction.do.htm and the supporting files under testAction.do_files ok on this page: http://www.myspace.com/theonionaustin on the right there is an area to sign up for newsletters. the first two work, and you are redirected to the main theonion.com page... but the third one. the events newsletter goes to a a page not found. i've just been assigned to this issue and don't know alot of about forms....... does anyone know what might make this happen?? thanks ! Hey guys, I have 2 separate problems, I'll be dealing with both in this thread. If possible, please answer asap, since I'm doing a website for my aunt's company, and I'm sort of running on a deadline. Any answers for either of the questions are welcome 1) Links - CSS Basically my stylesheet is supposed to set all my links to a black colour, even if visited, hovered over, etc, etc. The only problem is, the unvisited links are showing up in that awful default blue colour (I'm sure you all know what I mean). This is what my CSS looks like: A:link { text-decoration: underline; color:#000000; font-weight: bold; } A:visited { text-decoration: underline; color:#000000; font-weight: bold; } A:active { text-decoration: underline; color:#000000; font-weight: bold; } A:hover { text-decoration: underline; color:#000000; font-weight: bold; } Can anyone help me with this? 2) HTML/php contact form So I have a contact form on my website, and it seems to work fine. The only problem is that when my e-mail receives it, only the LAST field shows up (in this example, the 'message' field). The others just don't appear - it's as if the form only has that one field. I have two sets of code for my contact form - this is the one on the contact page: <form action="/contactform.php" method="post"> <b>Name:</b> <input type="text" name="cf_name"><br> <b>E-mail:</b> <input type="text" name="cf_email"><br> <b>Message:</b><br> <TEXTAREA NAME="cf_message" ROWS=4 COLS=30> </TEXTAREA><br><br> <center><input height="4px" type="submit" value="SEND"> <input type="reset" value="CLEAR"></center> </form> And this is the contactform.php file: <?php $field_name = $_POST['cf_name']; $field_email = $_POST['cf_email']; $field_message = $_POST['cf_message']; $mail_to = 'ggmdolly@gmail.com'; $subject = 'Message from a site visitor - '.$field_name; $body_message = 'Name: '.$field_name."\n"; $body_message = 'E-mail: '.$field_email."\n"; $body_message = 'Message: '.$field_message."\n"; $headers = 'From: '.$cf_email."\r\n"; $headers .= 'Reply-To: '.$cf_email."\r\n"; $mail_status = mail($mail_to, $subject, $body_message, $headers); if ($mail_status) { ?> <script language="javascript" type="text/javascript"> alert('Thank you for your message. We will get back to you shortly.'); window.location = 'contact.php'; </script> <?php } else { ?> <script language="javascript" type="text/javascript"> alert('Message failed. Please retry or send us an email directly.'); window.location = 'contact.php'; </script> <?php } ?> Thanks to anyone who can help! Hi guys, I've been frustrated for awhile trying to fix three of my problems. I just started making a site for myself today, the specific one is http://www.bcsticketsnow.com/rosebowl.html Anyway, I've got three problems, and appreciate any help anyone can offer on any of them: 1. I'm new to frames, and am told to stay clear of it. But I don't know php, so this is the only way I know to make a header, middle and footer on all 20 pages that I'm going to have where I only need to edit one to change all. So I have 3 frames in the frameset, header, mainrosebowl, and footer. I understand that cols="220,*,100" will make the header 220 pixels, the footer 100 px, and the middle part the rest of the window. But I'm trying to figure out a way to have it go deeper than the window. As you can tell, I've got a scroll bar on that middle frame. I want that frame to extend to more than 100% and push the footer below the visible window. So I'm really looking for a big scroll bar for the entire window to scroll down, not a mini scroll bar just for the middle frame. Is this possible? Having the cols add up to only the size of the window isn't what I'm looking for. 2. In the header frame, I've got that drop down menu (says "Bowl Events"). When I put the form in for the drop down menu, it kind of expanded the height of the table. It had less space before in that row of the table with the blue background. When I put the form in there, it kinda messed up the spacing. I essentially want to delete that space below bowl events to make the height of the row of that table like half the size. Any ideas? 3. For that same drop down menu, I'm trying to target each link in that menu to open up a new window (like target="_top"). But putting it after <option value="URL" target=..."> does nothing. Am I supposed to put it in the javascript? Here's what I have now: <script type="text/javascript"> function goToPage(dd) { var ind = dd.selectedIndex; if (ind == 0) { return; } var url = dd.options[ind].value document.location=url; } </script> <form> <select name="eventlist" onChange="goToPage(this); return false;" size="1" style="border: 0; BACKGROUND: navy; COLOR: white; FONT-FAMILY: arial; FONT-SIZE: 15px; font-weight: bold;"> <option value="">Bowl Events</option> <option value="http://www.bcsticketsnow.com/bcschampionship.html" onclick="header.location.href='_top'">BCS Championship</option> <option value="http://www.bcsticketsnow.com/rosebowl.html">2009 Rose Bowl</option> <option value="http://www.bcsticketsnow.com/orangebowl.html">2009 Orange Bowl</option> <option value="http://www.bcsticketsnow.com/fiestabowl.html">2009 Fiesta Bowl</option> <option value="http://www.bcsticketsnow.com/sugarbowl.html">2009 Sugar Bowl</option> <option value="http://www.bcsticketsnow.com/chickfilabowl.html">2009 Chick-Fil-A Bowl</option> <option value="http://www.bcsticketsnow.com/capitalonebowl.html">2009 Capital One Bowl</option> <option value="http://www.bcsticketsnow.com/cottonbowl.html">2009 Cotton Bowl</option> <option value="http://www.bcsticketsnow.com/holidaybowl.html">2009 Holiday Bowl</option> </select></form> So I have to make a basic html site for a class project and I am having some browser problems. On IE some of my images are not showing up (red X), but they work fine on Firefox and Safari. On Firefox none of my links are changing color when they are visited, but they are on IE and Safari. Ideally, I would like my site to work correctly on either IE or Firefox, but not necessarily both. What are some possible fixes for my problems? Thanks in advance Gahh! I tried to make my own image map but for some reason it's just no working! Can someone look at the code and see if there's any mistakes or anything please? I tried taking out the decimals but that didn't seem to help it either. HTML Code: <MAP NAME="MyMap"> <AREA SHAPE="Rect" HREF="http://www.freewebs.com/dent-gas/dent%26oralsurg.htm" COORDS="0,0 3.5,2.5"> <AREA SHAPE="Rect" HREF="http://www.freewebs.com/dent-gas/cossurg.htm" COORDS="6.7,0 10.5,2.5"> <AREA SHAPE="Rect" HREF="http://www.freewebs.com/dent-gas/emergoxy.htm" COORDS="3.8,2.6 6.8,4.4"> <AREA SHAPE="Rect" HREF="http://www.freewebs.com/dent-gas/vet.htm" COORDS="0,4.5 3.5,7"> <AREA SHAPE="Rect" HREF="http://www.freewebs.com/dent-gas/custom.htm" COORDS="7,4.6 10.5,6.5"> </MAP> <IMG USEMAP="#MyMap" SRC="http://www.freewebs.com/dent-gas/homeboxes.gif" BORDER="0"> Source: http://www.sedition-gaming.com There are a couple of problems on the page in IE that I don't see in Firefox. 1. The blue bars at the top and bottom are both only supposed to be 4px tall, yet for some reason, IE is making them stretched out around 10-15. I imagine the problem is because of the clear.gif inside it, but I haven't a clue why since I have the cellpadding set at 0 on all sides. Code: <tr> <td background="images/site/bluebar-top.gif" height="4" style="bluebar"><img src="images/site/clear.gif" width="1" height="1" border="0"> </td> </tr> Code: td.bluebar { padding: 0px 0px 0px 0px; } 2. Not an image problem, but a question about IE: I have table cell rollovers in the navigation bar that work in FF but not in IE: Does IE not support td cell rollovers? Thanks in advance! I am new to html. I just wanted to find out how to get the coordinates for an image. Is there some type of program you put it in to get the exact coordinates? Please help... code: Code: <img src="/home/brokenbot/Pictures/rihanna-beat-up1.jpg" width="500" length="600" alt="Rihanna Beat Up" usemap="rihannapractice" /> <map name="rihannapractice"> <area shape="circle" coords= I'm lost on where to even start to find my coordinates. Hi everyone, My website, currently at http://www.mlcprop.com/index2.html , is having issues. They a 1.) There is lots of extra space at the bottom when viewed in IE. 2.) The drop-down menu (click "apartments") doesn't display properly in IE; there is supposed to be a green background. It displays fine in Safari/Firefox/Opera however. 3.) I'm having trouble getting the bottom section to work properly. There's supposed to be a green gradient background for the content area that fades out to the page's brown background color. I did this by creating a central table cell with a tiling background image of the green gradient that's very tall and narrow. However, some pages are VERY long... such as thisone. How do I account for this? I tried matching the cell's background color to the image but it doesn't seem to match, or should I just make my tiling green background super long to account for this? I didn't want the file size to be huge. The lower left table cell ("footl") doesn't seem to display properly either. There's supposed to be an image there, a subtle shadow effect. It displays fine on the right ("footr"). Can anyone help with any of these? Thanks so much, Tatiana Basically I've got my header image which has its width set to 100% so that it adjusts for different resolutions. It seems to work fine on all of my web browsers (FF, IE, Safari, Chrome, Opera). When my client looked at the website on their computer it seems the image seemed to be overly large. I can't be sure exactly what the problem is by their description, which makes it even harder to solve. I have no way at all of reproducing this problem. It's a simple image inside a table cell. The XHTML has been fully validated and as I said it looks fine on all my web browsers. I asked what version of IE she was using, and it was the same as mine, so I'm super confused and don't know how to fix this. Any help would be great. EDIT: The website is www.whale-cove.com.au if some kind people want to take a look and tell me if it looks awkward. Hello Everyone! I am having a problem... I have a specific colour I would like my header to be but the spacer image is another colour?? I have tried removing the spacer image but it does not go away, I have tried removing nesting or clearing cell heights but they just mess up the entire page. Is there no way to just change the Spacer Image Colour? Thanks for you replies in advanced I have a issue with a google checkout add to cart button. I've added the code from the site and the button appears in the top left hand corner of the screen. I've tried opening the files in frontpage and drag and dropping it, but for some reason the button doesnt show there. If any can help please do. Thanks This is the Html i've got in the page for the part. <html> <img border="0" src="hill.jpg" width="150" height="137"></p> <p> & nbsp;<div class="product"><input value="Metal" class="product-title" type="hidden"><input value="14.99" class="product-price" type="hidden"><div title="Add to cart" role="button" tabindex="0" class="googlecart-add-button"></div></div></p> <div class="product"><input value="Silent Hill" class="product-title" type="hidden"><input value="14.99" class="product-price" type="hidden"><div title="Add to cart" role="button" tabindex="0" class="googlecart-add-button"></div></div> </body> </html> I've never had this problem before but I uploaded a lot of images and put them in a gallery using an image hyperlink with thel image being a thumbnail and the link being the larger image. The problem is when I click the thumbnail the larger image has this white background around it. Is there anyway to fix this? or What am I doing wrong? my code looks like this <a href="http://www.eccentrix.com/members/carmellady/portfolio/DSC0006.jpg" target="http://www.eccentrix.com/members/carmellady/IFRAMEURL2.html" border="0"> <img src="http://www.eccentrix.com/members/carmellady/Thumbnails/06TH.jpg" HEIGHT="20" WIDTH="20" border=0></a> Hello ladies and gentlemen. Im having trouble aligning some buttons i made with an a big image and small image of the like. They need to look like this... http://i217.photobucket.com/albums/c...wayne/main.jpg but currently are out of sync and all stuffed up. I was wondering what i could do to correct he problem and make it like the image above. Thanks in advance Hi All, I have a problem that seems to only occurs in IE (i'm currently using IE8). Basically, i have web pages that consist of a header, content area and a footer. I am trying to stretch an image to be displayed as a left and right border in the content area. the image is not a solid color, so simply setting a border property would not work. In all browsers but IE, the image stretches just fine. The site is heavily table based due to the fact that it is written for a CMS known as NetSuite. A lot of the tables and html are created by the CMS and are very difficult and tricky to modify. You can see the page in action at - http://staging.marware.com/iphone-cases/iphone-4-cases I have tried numerous combinations of height:100% and different positioning values with little help. One of the problems is that the height of the content area is dynamically set. The code in place now looks like this: <table border="0" cellpadding="0" cellspacing="0" width="1020" height="100%" align="center"> <tr style="height:100%;"> <!-- left side image --> <td style="width:9px; height:100%;"><img src="http://www.marware.com/images/body_outer_border.png" border="0" height="100%" width="9" /></td> <td valign="top" width="400" align="center"> <!-- right side image --> <td style="width:9px; height:100%;"><img src="http://www.marware.com/images/body_outer_border.png" border="0" height="100%" width="9" /></td> </tr> </table> I'm actually having the same problem I've seen wandering about, and I've already considered all the given advice and nothing seems to be working. The background image is split into a 3x3 table for easier loading, and now I'm getting a small gap between the rows themselves. This is the page: http://akito.clavis-sama.com/ I don't have any <p> tags and my margins are all set to 0 already. Yet I have those lines in the middle of my table for the header image. Any clue as to what the problem could be? I confess that I am a total 'noob' at 74 years old, and will probably get flamed for this question - but here goes - I have taken the on-line HTML course for basic set up and have built a web page; however, it is so bad I do not want to launch it until I can get some issues corrected. PROBLEM 1 - I built the file in 'notepad' text writer. When I look at my internet at 'open', 'brouse', 'index.html' file, and select 'OK', the features show up as I want; however, when I upload the file to my web page, the image is a square with a red X. I set up the image by adding the following line to the file: <img src="xxx.jpg"> PROBLEM 2- In spite of adding <p> </p> at the beginning and ending of my paragraphs, after uploading, the webpage displays each paragraph of text as one long line of text. Can someone advise where I am going wrong? Bob I have never encountered this problem before and can't figure it out. I've created an include file that holds my left nav. It's a table that holds various images that are links. But the last two buttons (that are simple and small gifs) I've created will not render at all in IE6. In view source it shows the table tags fine, but strips out the image tags for those buttons. The really weird thing is that everyone else can see the images on their computers in Firefox, IE6 and IE7, Mozilla, etc... Also, if I take the actual links out of the href tag and leave it blank, the images show up fine. What the heck is wrong with my browser??? |