HTML - Html Page Displays Strangely
I am trying to create the webpage looks like the attached jpg Required Appearance (the image containing the blue rectangle) but it is instead displaying as the attached jpg Actual appearance.
I have coloured the relevant code in red. Please tell me why this is happening it seems to be something to do with the <div> tabs. How can I get the two divs display next to each other? Thanks for any help <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title></title> </head> <!-- #ab0101 = red --> <body bgcolor="#ab0101" > <div id="header" > <div style ="width: 1000px; height: 140px; margin: auto; background: #ffffff;"> </div> </div> <!-- division that will contain the two divisions--> <div style ="width: 1000px; margin: auto; height:800px; "> <!-- First division ffffff is white--> <div style ="width: 200px; height:800px; background: #ffffff;" > </div> <!-- Second division 000066 is blue--> <div style ="width: 800px; height:800px; background: #000066;"> </div> </div> </body> </html> Similar TutorialsI am new at al of this and I just stood up a site and thought everything was going well, it looked great, I validated the code, life was good. until I looked at it in IE. It's WAY messed up! Its got horizontal and vertical scroll bars IN the page, and the tabs I made don't look quite like they are supposed to. I have no Idea how to fix it, I am hoping someone on here can look at my page in IE and look at my code and help me out here. my site is http://pughs.no-ip.org to look at it, and I will post my code he Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title> Pugh's World - Freedom of Information </title> <link rel="stylesheet" href="default.css" type="text/css" /> <link rel="shortcut icon" href="i.jpg" type="image/x-icon" /> <script type="text/javascript" src="klappe.js"></script> </head> <body> <table width="100%" cellspacing="0" cellpadding="0" style='background: transparent'> <tr> <td class="clear" width='49%' > </td> <td class="clear" align="center"> <a href="/"><img alt="Pugh's World" src="ilogo.jpg" border="0"/> </a> </td> <td class="clear" width="49%" align="center"> </td> </tr> </table> <div align="center"> </div> <!--TABS--> <table class="mainouter" width="94%" border="1" cellspacing="0" cellpadding="10" align="center"> <tr> <td class="outer" align="center"> <ul id="tabnav"> <li><a href="index.html" class="active">Home</a></li> <li><a href="blog.html" >Blog</a></li> <li><a href="about.html" >About</a></li> </ul> <!--MAIN TABLE HEADER--> <table cellpadding="4" cellspacing="1" border="0" style="width:737px" align="center"> <tr> <td> <table style="width:100%" cellspacing="0" cellpadding="0" border="0"> <tr> <td class="bottom" align="left"> <span class="smallfont"> Welcome to Pugh's! <br/> <font color="blue">Last Blog Post:</font> <font color="darkred">(never) </font> <br /> </span> </td> <td class="bottom" align="right"> <br /> </td> </tr> <!--CONTENT TABLE--> <tr> <td class="bottom"><br /><b>Site is Back Up!</b> - 8-21-2008 18:55:34 </td> </tr> <tr> <td class="bottom"> <table class="main" border="0" cellspacing="0" cellpadding="0" style="width:100%"> <tr> <td class="text"> <p>Well, so far there is absolutely no content, but at least we are back up!<br /> </p> <h1>Check back for updates! </h1> </td> </tr> </table> <br /> </td> </tr> </table> </td> </tr> </table> <br /><br /><br /> </td> </tr> </table> <p class="footer"> ©2008 John Pugh </p> </body> </html> I have a link from a web page to a page on another server. The link works fine, but the Title at the top of the new page displays the full path as well as the HTML allocated Title. Can anyone advise me how to stop the path being displayed? Thanks Dave I have a website hosted at discoverybyte.uuuq.com, and it is working great, except that the heading is displayed weird in IE8. It works fine on Firefox 3.5 though. In IE8 the heading menu is indented when I prefer it not to be. See the attached images for more help. Please note that as of this posting the code is on my website shown above. Any help would be appreciated. Hi, I've been working on this page for quite a while: http://www.mymusiclair.com/supporter It displays correctly in Chrome, IE, and FF on my hard drive, but once i upload it it displays wrong in everything except IE. I used FrontPage 2003 to make it... any suggestions? Thanks, Vicky Hello everyone, I am new here and I am have a very odd problem with one of my paragraph tags. It is placed at the bottom of the main content just before the footer. Yet it thinks it encompasses all of the content in the main content div. When I use css to make the font bigger, only the paragraph changes font size. None of the other text, such as links, changes font size. That's what's supposed to happen. But when I add a top margin to the paragraph to try to move it down, all of the content in the main content div moves down. I am thoroughly confused. Can somebody help me understand why this is happening? Hello, I am building a website for a client : http://timhawarah.com/testing.php In Firefox (my favorite browser) there is about a 15 px space in the rooftop of the house which is wrong. In IE the website looks like it should. What can I do to correct this problem. Any help would be most appreciated! Thanks, TaylorJumbo MY CSS looks like this: Quote: body { background-color: #202020; font-family: Arial, Verdana, sans-serif; font-size:12px; color:#202020; text-align: left; } #topnavigation li { display: inline; list-style-type: none; padding-right: 13px; } #top2 li { display: inline; list-style-type: none; padding-right: 13px; } a:link, a:visited { text-decoration:none; font-weight: none; font-family: Arial, Verdana; padding: 0px; marging: 0px; font-size: 10px; background-color: transparent; color: #202020; border-bottom: 1px dashed #3e9446; } a:hover { text-decoration:none; font-weight: none; font-family: Arial, Verdana; padding: 0px; marging: 0px; font-size: 10px; background-color: transparent; color: #fff; border-bottom: 1px dashed #3e9446; } a.imagelink:link, a.imagelink:visited, a.imagelink:active { text-decoration:none; font-weight: bold; font-size: 12px; background-color: none; color: #202020; border: 0px; } a.imagelink:hover { text-decoration:none; background-color: none; color: #fff; border: 0px;; } #outercase { width: 790px; background-color: #fff; margin: 0px auto; padding: 0px; border: 0px; text-align: left; } #top1 { width: 790px; height: 57px; margin: 0px; padding: 0px; text-align: left; background-color: #fff; background: url("/images/wip1.jpg") no-repeat; border: 0px; } #top2 { width: 790px; height: 122px; margin: 0px; padding: 0px; text-align: right; background-color: #fff; background: url("/images/wip2.jpg") no-repeat; border: 0px; } #topnavigation { width: 780px; margin: 0px; padding-right: 10px; padding-top: 5px; text-align: right; background-color: #fff; border: 0px; } #middle { width: 750px; height: 300px; margin: 0px; padding: 20px; text-align: left; background-color: #fff; border: 0px; } #banners { width: 770px; margin: 0px; padding: 10px; text-align: left; background-color: #fff; border: 0px; } #bottom { width: 780px; height: 10px; font-size: 9px; margin: 0px; padding: 5px; text-align: left; background-color: #3e9446; border: 0px; } and my xhtml looks like this Quote: <?include("header.php");?> <div id="outercase"> <div id="topnavigation"> <?include("navitop.php");?> </div> <div id="top1"> </div><div id="top2"> <?include("teasertop.php");?> </div> <div id="middle"> </div> <div id="banners"> <?include("banners.php");?> </div> <div id="bottom"> <?include("footer.php");?> Hi. My problem is this... When I zoom in on my site to see it more clearly in close up, it is behaving very strangely. The content in the RH column starts overlapping the menu, which is in the centre column, and positions part of itself behind the menu buttons. The link for the trial version of the site is: http://www.advancewebsolutions.co.uk/commonthread/ I'm not sure whether this is a HTML or CSS problem, but I'd be grateful if anyone could spot what is causing this problem. Many thanks in antiicpation... Hi, Background: I have a small page that need to be embeded into a bounch of other html pages. Help needed: 1. Please provide the html chunk that I can use to embed the small page in to other html pages. 2. Is there a way of not using iframe? Can I use <Object> or <embed>? How? --------------------------- mba colleges in london hospitality management diploma I'm a relative novice to HTML and CSS trying to earn some extra cash doing freelance web designing. With the project I'm working on now, my client has pointed out that in IE 6 and 7, the Submit and Reset buttons of the Contact page are not working. The thing is, they actually are working, it's just that the rollover area for some reason has been reduced to just the bottom edge of the button. Here's the url I test off so you can see what I mean: http://www.animationpolitik.com/newDMsite/contact.html The buttons work just fine in Firefox and IE8. However if you go into either IE6 or 7 you'll notice that the interior yellow highlight of the Submit and Reset buttons only lights if you carefully roll over the bottom edges of the buttons. They'll work if you hit them at those exact locations, but if you mouse over the center of the buttons and click, nothing happens, which apparently is confusing a lot of my client's customers. It's strange because these are just the default buttons that are created when using the <form> tag; there's no styling on them whatsoever. The table I have them nested in reads like this: <form method="post" action="contact_retrieval.php" target="_top"> ... <table class="comments" border="0"> <tr> <td height="18" colspan="2">Additional comments/questions:<br /> <textarea rows="7" cols="55" wrap="physical" name="comments"> </textarea> </td> </tr> <tr> <td width="87" height="18"><input type="submit" value="Submit" name="submit"></td> <td width="393"><input type="reset" value="Reset" name="reset"></td> </tr> </table> </form> I've been searching the issue for the past several hours and have tried everything from moving the buttons outside the table to relocating them outside the <form></form> tags, but nothing woks. Any idea what could be causing this madness? Any help with this situation would be greatly appreciated! HI everyone, I am in process of creating a sample page. I need to pass values from one HTML page and i should get those values in other page. For example i have used two sample pages like, sample.html l<html> <head> <title> My first page </title> </head> <body> <a href="sample1.html" id="1001">Welcome to html </a> </body> </html> sample1.html <html> <head> <title> My second page </title> </head> <body> <a href="sample1.html">Sample HTML page values came here</a></body> </html> I have used those two sample pages and i need to get the value of id="1001" in sample 1.html page could anyone help me to solve this problem. Thanks in advance Regards, Martin I believe in thread titles that get to the point. I have a basic page, when the page loads I want people to see the top of the page for a few seconds while a flash starts to load but then I want the page to scroll down a bit so the visitor can see the flash load progress status. I just want code that I can copy into my page. I don't have access to the flash code. Greg (the page under design) www.mytcanada.com/designer.html I have a programmer in the US who starts pages for me and then I much around with them until it's looks like I want. He helps me when I get stuck but he's on holidays. Any help would be great. Hey all, I'm new here and I have a website i designed. The page appears fine when i go to IE but it's all messed up when I view it using Mozilla. I'm stumped. This is my website: www.secondhandoffroad.com Thanks, Help me out here, PLEASE SCROLL ALL THE WAY DOWN. ITS URGENT Im making a mail template. Firefox displays the picture, IE won't. It shows it as a empty square with a red X. I cant see what im doing wrong.. i bet its a tiny missing link in some code. Thanks HTML Code: <br /> <p align="center"><img src="koord.jpg" width="170" height="190" /> <br /> HTML Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Template</title> <style type="text/css"> /* MAAK HEM GECENTREERD Blokjes bovenaan de PSD toevoegen.. 3 onderdelen website maken - TOP - BLOKJES - BOTTOM */ #container{ position:absolute; margin:0 auto; } #pic {position:absolute; left:18px; top:55px; z-index:0;} #txt { font-size:16px; width:410px; position:absolute; text-align:left; font-family:Verdana; left:84px; top:194px; width:600px; z-index:1; } </style> </head> <body> <div id="pic"><img src="template.png" /></div> <div id="txt"> <p><strong><font color="#410d3e">Nieuwsbrief Februari 2010</font></strong> <br /> <br /> Beste Lezer van mijn eerste nieuwsbrief,<br /> <br /> Graag wil ik je opmerkzaam maken op de nieuwste activiteiten van Sessio Communications. <br /> <br /> <p align="center"><img src="koord.jpg" width="170" height="190" /> <br /> <a href="http://www..com">www..com</a></p> <br /> Ik nodig je van harte uit om <a href="http://www..com">mijn website</a> te bezoeken. <br /> Reacties zijn welkom. Doorsturen naar andere belangstellenden mag. <br /><br /> Mocht je geen belangstelling hebben om op de hoogte te blijven van mijn verschillende workshops en trainingen dan kun je dat via onderaan de pagina aangeven. Je e-mail adres wordt dan verwijderd. <br /><br /><br /> Met vriendelijke groet, <br /><br /> Jan M.M. Boesten<br /> <font size="2"><a href="http://www.sessio-communications.nl">www.sessio-communications.nl</a></font><br /> <br /> </div> </body> </html> I have been working on this website for awhile...all along everyone I checked with says it looks good. I have been doing editing at work and one person said it looked bad. I just thought it was his browser, but of course when I checked it at home -- mine looked horrible too. Almost like my browser isn't listening to the 1028X766 display... Can someone look at my mess of a code and see if I am missing something? Thank you, Todd http://tarrytownvets.com Hi I'm sure this is simple, but this page http://www.janitorman.net/blueskies/index-1.html shows up OK in IE but not in Firefox. Have I got something wrong? Newbie welcomes some help. Today I tried to display my website alittle bit differently. no major changes to it but I just made sure the website would be displayed nicely in the middle and that the sides of it would disapear (Click with either firefox or chrome on the link below, to see what I mean) however for some very annoying reason IE does not show the website correctly... while I didn't change the container box that holds the website, other than giving it a piece of the background to hold... and the rest of the code has been working perfectly before in the 3 common browsers (IE, FF, Chrome) Could somebody tell me what I did wrong, or what I should do to make IE display the website correctly? Thanks in advance for the help The website Adress is: http://www.swan10.nl/Test/index.htm Feel free to comment on any of the sourcefiles, regarding improvements, they would be gladly appriciated Hey I am wondering if someone can help me with a little problem, in Firefox my site http://www.fifesouthernrfc.com/1stxv_profiles.html, displays incorrectly.# It should be 2 columns of profiles split into 2 sections by a header. However the second header does not do this, but instead, pushes my 2 columns apart and splits the header in 2. Thanks for looking. I am an amateur website hack. I did everything in notepad pulling javascript from some free sites. My intention was to have the center image with "Lindsey Teefey" and the bottom page links vertically and horizontally centered on all the pages. I got the pages to look as intended in Firefox and IE, but they look very bad in Safari. I am sure my coding is very amateur and I would appreciate a clean up from an expert. The pages that I have up a http://www.littlebrindle.com/LT/index.html http://www.littlebrindle.com/LT/photos.html http://www.littlebrindle.com/LT/listen.html (no songs have been added yet) Thanks for any help you can give. Blessings. Hey all, me and my friend have a cleaning company and we deciced to make a webpage. It's been a good 6 years since i have worked on a website. My biggest accomplishment so far was getting the contact form to work properly on the site. It does, i feel like i've done alot lol. Anyway, the current design is a rough layout (suggestions are welcome). It still needs a lot of little touches to make it look more "full". My biggest concern now is when your clicking from page to page the table jumps around. In firefox, the Contact Us and Services page are perfect, nice and centered. The image i'm using where the navigation buttons are is in place as well. When you go to the other pages though the table moves a bit and it looks like the image i'm using where the navigation buttons are starts to repeat. In Internet Exploder, everything doesn't look centered. There seems to be more space on the right than on the left, but the image i'm using for the navigation buttons seems to be fine, it's not repeating. I dunno what's causing this. I know different browsers display stuff in different ways but i'm far from having a good understanding as to why (that's why i'm here). I even copied txt from one of the messed up pages and pasted it on one of the pages that is ok and that didn't work. I assume it's a CSS thing. Also, try and avoid saying things like "Table designs are for teh n00bz!11!" or "This is why CSS is better than using a table design!!!". This is how i did it. Im ok with CSS but i don't have a thorough understanding of it to design an entire website using CSS. I'm hoping this is an easy CSS fix, or maybe something else? The website is www.gocleantoday.com. Thanks. Hi, Is there any possible to show a HTML or ASP page inside the table. I have tried with frames but i dont know how to execute exacltly. Thanks |