HTML - Html Table Colors Are Wrong - Ie7
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? Similar TutorialsHi, In accordance to an old reputation of my here, I'm bringing a new problem to the table that may or may not be able to be explained. ( Hi again Scoutt! ) There are certain form field backgrounds on this page that are displaying completely different colors than what's in the code and if that wasn't odd enough, it's only happening on some computers. The issue is not related to OS, browser or anything else we can pin down. The link just mentioned should have blue text and blue field backgrounds to all of the form entities. Now, reference the screen shot that they sent me. Here is a portion of the code for your reference: PHP Code: <form method="post" action="/app.php"> <fieldset id="contactform" style="width:300px;"> <legend id="legend" style="color:red;font-weight:bold;">NGL Event Application</legend> <label style="color:red;font-weight:bold;">All Fields must be filled in.</label><br /><br /> <label style="color:#369;" for="lastname">Last Name:</label><br /> <input type="text" size="50" name="lastname" id="lastname" value="" maxlength="100" /><br /> <label style="color:#369;" for="firstname">First Name:</label><br /> <input type="text" size="50" name="firstname" id="firstname" value="" maxlength="100" /><br /> <label style="color:#369;" for="email">eMail Address:</label><br /> <input type="text" size="50" name="email" id="email" value="" maxlength="100" /><br /> <label style="color:#369;" for="address">Address:</label><br /> <input type="text" size="50" name="address" id="address" value="" maxlength="100" /><br /> <label style="color:#369;" for="city">City:</label><br /> <input type="text" size="50" name="city" id="city" value="" maxlength="100" /><br /> <label style="color:#369;" for="state">State:</label><br /> <input type="text" size="50" name="state" id="state" value="" maxlength="100" /><br /> <label style="color:#369;" for="zip">Zip:</label><br /> <input type="text" size="50" name="zip" id="zip" value="" maxlength="100" /><br /> What is happening here? I'm not sure where exactly to put this, but I'm trying to figure out if there is a way to make it in... I'm not sure what, the code itself is HTML, but make it so that if it detects a certain string of text it adds something... such as if there was Code: bgcolor="333333" It would change it to (by detecting the ...bgcolor="... part of it) bgcolor="#333333" i'm trying to redo my adsense ads on my site (theoprahfanclub.com) so that they blend in with the page more. The ads are showing more yellow than they need to and point out more. Is there a site that'll tell me the colors used on my main page? Or can anyone tell me the html color code for the main background color? thanks.. ___________________ i'm trying to redo my adsense ads on my site (theoprahfanclub.com) so that they blend in with the page more. The ads are showing more yellow than they need to and point out more. Is there a site that'll tell me the colors used on my main page? Or can anyone tell me the html color code for the main background color? thanks.. _____________ Link Building i'm trying to redo my adsense ads on my site (theoprahfanclub.com) so that they blend in with the page more. The ads are showing more yellow than they need to and point out more. Is there a site that'll tell me the colors used on my main page? Or can anyone tell me the html color code for the main background color? thanks.. __________________________ I made a email signature, i used dreamweaver to make it. Looks good when i preview it. But when i add it to email as signature it doesn't show colors or the correct font. I dunno why? Can someone look at source code of my html and see if i made a mistake. Thanx http://users.bigpond.net.au/sublimecreatures/email.html Hello, I am newbie, just has started my adventure with html. I tried to make an easy static site, without any additional thingd, but it occured a problem. 1. I mean, as I put table in table because I did know how to to id in different way, to make buttons on the left stay up while text on the right is moving- if I do normal table with 2columns and on the left lets say 5rows for buttons, on the right I unite all rows to make one big sort of box for contents, as I go down and try to write something morre, the rows from the letf were enlarging too If the size of explorer or firefox is nor full screen, the text in contents is going away (like now in lycos server, where screen is not full, but "cut" by advertise) 2. I have highlighted buttons, but not always works, why? (i mean it works, but darker buttons are charging so slow- maybe it is so because i saved them in pgn instead in gif, and each one is about 50kb?) -probably it is not this- because I have just changed into gif, and it is still the same 3. Another problem, as I post the site, I have notice, that in firefox I can not navigate with buttons, while in explorer yes, is it a fault of my coding, or of server where I put website? Here I post my website: http://members.lycos.co.uk/aniaacolgate/ Could someone take a look on the code, and will be so kind to correct me? It is a basic easy site of very begginger I just wanted to make a shape like this: - top: a banner - buttons in horizontal and vertical way - under buttons: contents (sincerly would like to put frames, but do not know how to put them there, is on the left there r buttons Thank you so much in advance for reply Sorry for mistakes in language I have this table and the contents inside and all when i click preview it adds lotsa space above the table why ??? and how to fix it ??? sum1 fixed it on dreamweaver but i dont use that i use frontpage and i compared the codes and could not find the difference anyway yall check it and see the preview mode this is the code HTML Code: <table> <tr><td align="right"><font face="Arial Rounded MT Bold" color="#0B74C1">Name:</font><td width="252"><input type="text" name="visitor" size="35" /></td></td> <br /> <td width="67"> </td><td></td><br /></tr> <tr><td align="right"><font face="Arial Rounded MT Bold" color="#0B74C1">Email:<br /> </font><td width="252"><input type="text" name="visitormail" size="35" /></td></td> <td width="67"> </td><td></td></tr> <tr><td align="right"><font face="Arial Rounded MT Bold" color="#0B74C1"> Subject:<br /></font><td width="252"> <input type="text" name="attn" size="35" /></td></td> <td width="67"> </td><td></td></tr> <tr><td align="right" valign="top"> <font face="Arial Rounded MT Bold" color="#0B74C1"><br />Message:</font></td> <td width="252"><textarea name="notes" rows="6" cols="29"></textarea></td> <td width="67"> </td></tr> <br /> <tr><td align="right" height="27"> </td> <td width="252" height="27" align="center"> <p align="center"> <input type="submit" value="Send" <INPUT type=submit value="Check" style="color: #FFFFFF; font-family: MS Sans Serif; font-size: 8pt; border-style: ridge; border-width: 3; background-color: #074A7C"></td> <td width="67" height="27"> <p align="center"> </td></tr> <br /> </table> Thanx Hello, I'm a newbie to these sorts of things. I'm also not sure what the technical jargon is for this so please bare with me. What I want to achieve is to have the sitemenu part stretch across the entire table ending with the image tags (visually I want the sitemenu part to end with rounded edges which I made as an image). Is this even possible? I am not sure how to accomplish this. At the moment whilst the end image caps the sitemenu column, it does not stretch to the end of the rest of the table and the beginning image is hanging out at the very start where I want it to sit, but sitemenu does not reach it. I thought it was a problem with my colspan but touching it just destroys the entire thing. For further clarification here is what it looks like: http://img.photobucket.com/albums/v2...arghtables.jpg And here is what I WANT it to look like: http://img.photobucket.com/albums/v2...ouldbenice.jpg Here is the current code that I have: Code: <table cellspacing="0" cellpadding="0" border="0" align="center" width="90%"> <tr> <td colspan="5" id="sitetitle"><img src="banner.jpg"></td> </tr> <tr> <td colspan="5" id="emptyrow"></td> </tr> <tr> <td width="15" valign="top"><img src="left.jpg" width="15" height="53" border="0"></td> <td colspan="3" id="sitemenu">Hello</td> <td valign="top" width="15"><img src="right.jpg" width="15" height="53" border="0"></td> </tr> <tr> <td colspan="5" id="emptyrow"></td> </tr> <tr> <td id="hmenu" valign="top"> <p>Stuff</p> </td> <td id="emptycolumn"></td> <td id="content" valign="top"> <p>Stuff.</p> </td> <td id="emptycolumn"></td> <td id="vmenu" valign="top"> <p>Stuff.</p> </td> </tr> <tr> <td colspan="5" id="emptyrow"></td> </tr> <tr> <td colspan="5" id="sitecredits">Credits</td> </tr> </table> Thank you for the help! I don't know how to even debug this because it works in firefox but not IE. I display a table and use PHP script to populate the table. In explorer, the "fellow" value gets SKIPPED and then the next value ("rcf_date") gets put into that td, so everything gets screwed up! Looking at the code I can't figure out what it is about it that explorer doesn't like. Why on earth would it skip the fellow field? Here;s the php code that displays the table: Here's a link to a screenshot of the table in IE: http://bp1.blogger.com/_cy0zia_bU_s/...screenshot.png Here is the code to display that table. Any help would be appreciated: Code: <?php require('secure.php'); include "dateheader.php"; include "connectdb.php"; ?> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Active consult patient list</title> <link href="stylesheets/simple.css" rel="stylesheet" type="text/css"> </head> <?php $query = "SELECT id_incr, patient_name, mrn, location, fellow, rcf_date, admission, consult_reason, impression, recs, comments ". "FROM active_consults WHERE signoff_status = 'a' ". "ORDER BY patient_name"; $results = mysql_query ($query) or die (mysql_error()); $num_pts = mysql_num_rows ($results); $consultheading =<<<EOD <table class="tablemargin" bgcolor="#CCCCFF" width = "98%" border = "1" cellpadding = "2" cellspacing = "2" align = "left"> <th> Name </th> <th> MRN </th> <th> Loc </th> <th> Fellow </th> <th> Date of Consult</th> <th> Reason for Admssion </th> <th> Reason for Consult </th> <th> Impression </th> <th> Recs </th> <th> Comments </th> <th> Update patient </th> </tr> EOD; echo $consultheading; while ($row = mysql_fetch_assoc ($results)) { ?> <tr> <td bgcolor="#FFFFFF" > <?php echo $row['patient_name'];?> </td> <td bgcolor="#FFFFFF" > <?php echo $row['mrn'];?> </td> <td bgcolor="#FFFFFF" > <?php echo $row['location'];?> </td> <td bgcolor="#FFFFFF" "> <?php echo $row['fellow'];?> </td> <td bgcolor="#FFFFFF" > <?php echo $row['rcf_date'];?> </td> <td bgcolor="#FFFFFF" > <?php echo $row['admission'];?> </td> <td bgcolor="#FFFFFF" > <?php echo $row['consult_reason'];?> </td> <td bgcolor="#FFFFFF" > <?php echo $row['impression'];?> </td> <td bgcolor="#FFFFFF" > <?php echo $row['recs'];?> </td> <td bgcolor="#FFFFFF" > <?php echo $row['comments'];?> </td> <td bgcolor="#FFFFFF" align="center"> <a href="editpatient.php?action=edit&id=<?php echo $row['id_incr']; ?>">[edit]</a> </td> </tr> <?php } ?> <td bgcolor="#CCCCCC" colspan=11 align="left" class="fineprint"> Total active patients: <?php echo $num_pts; ?></td></tr> <td></td> <tr> </tr> <tr><td align="center"><a href="newpatient.php">[ADD PATIENT]</a></td> <td align="center" COLSPAN=4><a href="displaysignoff.php">[DISPLAY SIGNED-OFF LIST]</a></td> <td align="center" colspan=3><a href="export.php">[EXPORT ALL PATIENTS (EXCEL)]</a></td> <td colspan=3 align="right"><a href="http://www.hfhpulm.com">[HFHPULM.COM]</a></td> </tr></table> Hello! 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! 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> 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. 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) 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! 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 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 Can I put an HTML page within a html page in a table? I have this template that I need to email to people, it will not be on my website. Wow ever I need to change the information in one table every few days. The information is live I think it's called. It's like if I place google adsense in that table and decide to change it to ad-clicks later, I can't send everyone a new template, I need to be able to change just the information within that table. I'm going to go read up on frames, haven't used them in years. Any ideas! ~eDee |