HTML - Site Stretches On Some Monitors And Mac In Fixed Layout.
Similar TutorialsHi there, I have a table layout on the main page of site I'm working on, and have one row with two cells. The cell on the left contains a php include page which auto updates with news, however, as the news gets longer and the cell container auto resizes to fit the height..it also messes with the height of the cell on the right, leaving empty spaces (the black space right under "recruitment status") I'm stumped as to how to deal with is, any suggestions are much appreciated. Thanks the site: http://guild-paragon.com/indexframe edit: decided to put an iframe in there to hold the height, there's prob better alternatives out there though I would be very greatful if someone could let me know what is required to make a site display centrally on widescreen monitors with blank areas either side. I mainly use dreamweaver and have no real knowledge of css so if there is a HTML code out there to cut and past I would be very greatful Many thanks Mark I'm having so much trouble with this. I have a site (from photoshop) that will have have fluid layout (100% width) but I want the footer to "stick" to the bottom of the window (unless content goes longer). Here is content part of the html (which is a bit messed up now from trying many things) <div id=container> <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0"> <tr></tr> <tr> <td height="235" bgcolor="#FFFFFF"> </td> <td width="1000" rowspan="5" valign="top"><!-- ImageReady Slices (screencapture3.psd) --> <table width="1002" height="400" border="0" cellpadding="0" cellspacing="0" id="Table_01"> <tr> <td height="58" colspan="9"><img src="images/rightthere_01.jpg" width="417" height="58" alt="" /></td> <td colspan="10"><img src="images/screencapture2_01.jpg" width="583" height="58" alt="" /></td> </tr> <tr> <td colspan="9"><img src="images/rightthere_logo.jpg" alt="" width="417" height="76" border="0" /></td> <td colspan="3" rowspan="2"><img src="images/seniors.jpg" alt="" width="140" height="177" border="0" /></td> <td width="139" rowspan="2"><img src="images/caregivers.jpg" alt="" width="139" height="177" border="0" /></td> <td colspan="3" rowspan="2"><img src="images/physicians.jpg" alt="" width="142" height="177" border="0" /></td> <td colspan="3" rowspan="2"><img src="images/disabilities.jpg" alt="" width="162" height="177" border="0" align="top" /></td> </tr> <tr> <td height="101" colspan="9"><img src="images/inhome_tagline.jpg" alt="" width="417" height="101" border="0" /></td> </tr> <tr> <td colspan="19" bgcolor="#69781B"><img src="images/nav_top.jpg" width="1000" height="51" alt="" /></td> </tr> <div id:navigation></div> <td width="59"><a href="about.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image44','','images/about_ro.jpg',1)"><img src="images/about.jpg" name="Image44" border="0" id="Image44" /></a></td> <td width="15"><img src="images/div1.jpg" width="15" height="17" alt="" /></td> <td width="144"><a href="why.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image45','','images/why_ro.jpg',1)"><img src="images/why.jpg" name="Image45" width="144" height="17" border="0" id="Image45" /></a></td> <td width="17"><img src="images/div2.jpg" width="17" height="17" alt="" /></td> <td width="114"><a href="what.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image46','','images/what.jpg',1)"><img src="images/what.jpg" name="Image46" width="114" height="17" border="0" id="Image46" /></a></td> <td width="17"><img src="images/div3.jpg" width="17" height="17" alt="" /></td> <td colspan="4" bgcolor="#8B9849"><a href="who.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image43','','images/who_ro.jpg',1)"><img src="images/who.jpg" name="Image43" width="127" height="17" border="0" id="Image43" /></a></td> <td width="16"><img src="images/div4.jpg" alt="" width="16" height="17" align="left" /></td> <td colspan="3"><a href="consider.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image47','','images/consider_ro.jpg',1)"><img src="images/consider.jpg" name="Image47" width="195" height="17" border="0" id="Image47" /></a></td> <td width="19"><img src="images/div5.jpg" width="19" height="17" alt="" /></td> <td colspan="2"><a href="careers.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image48','','images/careers_ro.jpg',1)"><img src="images/careers.jpg" name="Image48" width="188" height="17" border="0" id="Image48" /></a></td> <td width="19"><img src="images/div6.jpg" width="19" height="17" alt="" /></td> <td width="70"><a href="contact.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image49','','images/contact_ro.jpg',1)"><img src="images/contact.jpg" name="Image49" width="70" height="17" border="0" id="Image49" /></a></td> </tr> <tr> <td colspan="19" bgcolor="#6A791C"><img src="images/nav_bot.jpg" width="1000" height="42" alt="" /></td> </tr> <tr></tr> <tr> <td colspan="7"><div id=leftcontent> <h4>Left Content</h4> </div></td> <td width="4"> </td> <div id=maincontent> <td colspan="11"><h1>Main Content</h1></td> </div> </tr> <tr> <td><img src="images/spacer.gif" width="59" height="1" alt="" /></td> <td><img src="images/spacer.gif" width="15" height="1" alt="" /></td> <td><img src="images/spacer.gif" width="144" height="1" alt="" /></td> <td><img src="images/spacer.gif" width="17" height="1" alt="" /></td> <td><img src="images/spacer.gif" width="114" height="1" alt="" /></td> <td><img src="images/spacer.gif" width="17" height="1" alt="" /></td> <td width="8"><img src="images/spacer.gif" width="8" height="1" alt="" /></td> <td><img src="images/spacer.gif" width="1" height="1" alt="" /></td> <td width="42"><img src="images/spacer.gif" width="42" height="1" alt="" /></td> <td width="76"><img src="images/spacer.gif" width="76" height="1" alt="" /></td> <td><img src="images/spacer.gif" width="16" height="1" alt="" /></td> <td width="48"><img src="images/spacer.gif" width="48" height="1" alt="" /></td> <td><img src="images/spacer.gif" width="139" height="1" alt="" /></td> <td width="8"><img src="images/spacer.gif" width="8" height="1" alt="" /></td> <td><img src="images/spacer.gif" width="19" height="1" alt="" /></td> <td width="115"><img src="images/spacer.gif" width="115" height="1" alt="" /></td> <td width="73"><img src="images/spacer.gif" width="73" height="1" alt="" /></td> <td><img src="images/spacer.gif" width="19" height="1" alt="" /></td> <td><img src="images/spacer.gif" width="70" height="1" alt="" /></td> </tr> </table></td> </tr> <tr> <td height="110" bgcolor="#869343"> </td> <td height="110" bgcolor="#6A791C"> </td> </tr> <tr> <td> </td> <td> </td> </tr> </table> </tr> </div> <div id= "footer"> <td width="100%" height="79" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <td width="0%" bgcolor="#859242"> </td> <td width="1000" bgcolor="#697819"><img src="images/footer.jpg" alt="" height="79" /></td> <td width="26%" bgcolor="#697819"> </td> </tr></table> </div></tr></tr></body> </html> and my css p { color: #6a6a6a; font-size: 15px; line-height: 20px; font-family: georgia, "Lucida Grande", Verdana, Arial ; top: 0; margin-top: 0; } h1 { color: #667824; font-size: 30px; font-family: verdana ; font-weight: bold; line-height: 30px; top: 0; margin-top: 0; } h4 { color: #4d4f53; font-size: 30px; font-family: verdana ; font-weight: bold; line-height: 30px; top: 0; margin-top: 0; } h2 { color: #667824; font-size: 20px; font-family: Arial, Verdana } h3 { color: #fff; font-size: 10px; font-family: "Lucida Grande", Verdana, Arial ; font-weight: normal; font-style: normal; } ul { color: #667824; font-weight: bold; font-size: 12px; font-family: verdana, Arial ; line-height: 14px; } h5 { color: #4d4f53; font-size: 10px; font-family: "Lucida Grande", Verdana, Arial ; font-weight: normal; font-style: normal; } A:link {text-decoration: none; color: 667824} A:visited {text-decoration: none; color: B71234} A:active {text-decoration: none} A:hover { color: B7CEC4; text-decoration: none; } html, body { margin:0; height: 100%; width: 100% } body >#container { margin:0; padding:0; height:auto; min-height:100%; position:relative; } #clearfooter {overflow:auto; padding-bottom: 79px;} #maincontent { float:left; min-width: 100px; } #leftcontent { min-width: 50px; } #left{ left: -1; right: 0; min-width: 100px; max-width: 200px; min-height: 235px; } #centerleft{ left: -1; right: 0; min-width: 172px; max-width: 200px; min-height:100px; } #right { position:relative;/*ie needs this to show float */ min-width:1px; max-width:200px; float:right; } #footer { width:100%; text-align:center; position:relative; margin:0; height:79px; clear:both; } #navigation { max-width: 1000px; vertical-align; top; text-align: left; } table { border-collapse: collapse; } please help. Hello, I need to create a 3 -column lay out with the left and right columns having 200px each and the middle column take the rest. Here is my html markup: HTML Code: <div style="width: 100%"> <div style="width: 200px; float:left;">Left column</div> <div style="width: 100%; float:left;">Middle Column</div> <div style="width: 200px; float:left;">Right Column</div> </div> It's not working for me . Please help. Hi, thanks for reading. My website works ok on most smartphones, but not so when I view it on the Nokia 5230. A div called 'topcontent', which features on 3 different pages across the site (and, bafflingly, looks fine on most pages!) stretches thousands of pixels wide on the index page, scattering text miles out of site. Here is the markup for it, it lives in a css stylesheet: #topcontent { -webkit-text-size-adjust: none; position: absolute; width: 550px; left: 175px; top: 166px; padding: 5px; text-align: justify; } (and here's the URL: http://www.shorterhouse.com) As far as I can tell from the Nokia website, the browser for this phone is simply called "Nokia 5230 Default Browser". It's sort of a 'mini' smart phone and handles every other website I've viewed with it fine, so the error must be in my markup. I would love some helpful suggestions please ! (Ps, I am fairly new to all this so if you find the markup a bit shocking, it's because I'm learning as I go!) This is my site so far: http://digitalplus.webs.com/index.htm I need the stripe in the background to be a perfect curve in the middle (height wise) and the buttons to go down along it. I need both ends of the stripe to be just visible and being able to see the tips touching the top and bottom of the browser... But depending on the individuals screen resolution, or the browser they're using or if they have a tool bar on their browser, the background stripe doesn't fit. How do I solve this problem?? Make it an image? I'm not sure what to do! Please help! Thanks I have designed a webpage in dreamweaver and had been using the screen on my MBP. When I plugged in an external monitor I noticed that the website is a different colour. I did two screen shots to show the same website on each monitor.... Here is how the colours look on my MBP Here is how the colours look on my external monitor What is the best way to make sure your website always looks the same colour? I don't really like the second colours but like the first. Many thanks, Jim Hey! I'm developing a Windows Sidebar Gadget, which (as you may or may not know) runs on HTML, JavaScript, VBScript... etc. I have a problem. I have two Select objects (ListBox-es) which are supposed to be exactly the same. When some items are "transfered" from 1st to 2nd Select, they are being streched in height (please see: http://c404.net/stanthecaddy/attachments/SS.png). Here's how I'm adding items to 2nd Select (using JS): Code: // ... oFavoriteRestaurants.add(new Option(oRestaurants.options[n].text, oRestaurants.options[n].value), oFavoriteRestaurants.options[oFavoriteRestaurants.options.count]); // ... I hope i posted right. I don't know yet if this is HTML or JS problem Please reffer me to the right direction Thank you! ive put a background in to my html document that stretches to fit the size of the browser window. heres the code: <style type="text/css">html {height:100%;}body {height:100%;margin:0;padding:0;}#bg {position: absolute;top:0;left:0;width:100%;height:100%;}#content { position:absolute;z-index:1; width:100%;}</style> <!--[if IE 6]><style type="text/css">html {overflow-y:hidden;}body {overflow-y:auto;}#bg {position:absolute;z-index:-1;}#content {position:static;}</style><![endif]--> <script type="text/javascript" src="swfobject.js"></script> </head> <body bgcolor="#000000" text="#999999" link="#999999" vlink="#999999" alink="#999999"> <div id="bg"><img src="NJWwallpaper01.jpg" width="100%" height="100%" alt=""></div> <div id="content"> Well i decided to come up with a new site layout. I took my site down, www.caspersmusicvideos.com, because personal issues and im ready to get it back up. Any ideas on how i should do this? One thing i know i want is a navbar that when you hover over like Music videos it has a drop down box with like a list of genreas you can view them by. ANy other ideas ....i suck at css so i might have to get someone to do that for me Hello all! This is my first website, and of all the languages I've had to start learning to produce it, HTML is by far the most infuriating. My site is www.B3-Office.com and the issue is the layout. It is completely wrong on every page. If you look in the source it should show that my top nav bar is set to be only 94 px in width per cell (10 cells), slightly larger than some of the text therein. The "Contact" text is supposed to be far left. Then the rest of the site, the pages are just all messed up in formatting, looking nothing like it does in my WYSISWYG program (DreamWeaver CS4). I have 4 pages in this format: home, contact, aboutus, and privacy. None of which are working properly. HELP! What am I missing? I would also appreciate your feedback on my work. Thanks so much!!! Hi everyone. I have a website (this one) which I made starting from a template. I modified it to suit, and learned basic html as I went, but I foresee a problem. The site is currently made up of a small enough number of pages that, when I have to change something in the left menu, or update the copyright notice on the bottom, or do any modification that doesn't involve the actual contents, I can do it in all the html files in a more or less automatic way with a text replacer and have done with it. This is, however, not an efficient solution, and requires reuploading every html page. Now, consider for a moment the layout of this site. There's a left frame with a menu, a top one with tabs, and the main center one with the actual contents. Clicking a link on the left will open the linked-to html page in the main frame. I would like my site to have the appearance it has now, with the frame layout of the other one. This way when changing the menu I'd only have to change and upload one html file, and I could write content without worrying about the rest of the page. I could just adapt the html from the example site and incorporate it in my own, but I've been told HTML frames are an inelegant and inefficient way of doing this, that they sometimes mess up the visualization, that they make it harder for search engines to index you and that I should do it with CSS instead (of which I know not a thing). I'd like your opinion on this before I start potentially wasting time adapting html. Also, whichever way I proceed, I would like to change the colour of the spacer and scroll bars from the ugly standard windows-grey to the violet/blue background colour of my site. Can this be done at all, and if so how? Thanks. 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... I am wondering if it is possible to create an INDEX.HTML to redirect to another website? I would like it to display the redirected site, but if possible keep to the original address.. e.g. A site named www.mysite.com, with an INDEX.HTML to redirect to www.othersite.com, which displays OTHERSITE with www.mysite.com in the address bar. Hope I explained ok, any responce would be much appricated! Thanks! hi guys im after a simple code so that the background on my forum is fixed and only the foreground moves up and down, someone must know iv looked all over the place and cant find how anywhere,someone help please Cheers Jacob Hi everyone!! I have a div box that has a fixed position so it is always there when you scroll down a page.... but as I have a long footer, the fixed div box goes over the footer when I scroll to the bottom of the page what is the best way to scroll a div box within another div box, so the div box is visible and scrolls with the page up to where the footer div starts? hope that makes sense? many thanks for you're help. Hello. I need some assistance in figure out how to make a fixed/linkable/image. I used this code here
HTML Code: <body style="background-attachment: fixed; background-repeat: no-repeat;" background="XXX.jpg"> which worked great in keeping its place. Then I added HTML Code: <a href="http://www.davesite.com/"> before and after but no luck. Im trying to get that link to work for the background too, but its not working out at all. "Sadly no HTML skills whatsoever" I have a control on a pop up that i cant seem to get rid of the scroll bars....How do you create a pop up window with no scroll bars I want it to use the scroll bars on the control instead....any help with this issue?? |