HTML - Background Issues!
ok hiya im wondering if you can sort my problem out? i recently set up a forum
for a gaming clan and i have thought of a design that i like but there is a problem.... i have designed a background which can be seen he http://img177.imageshack.us/img177/3...imgcopylm8.jpg btw the middle isnt orange only for thsi sample i made. the only problem is it works perfectly for the resolution of my screen (1280x800) but not on my pc which is 1024x768. because of this it throws the whole of the forum out of line on a different resolution screen. the code for this background is in the css stylesheet but i was wondering if there was a code i could use that would display a different picture depending on the screen resolution i.e. i could rado the image several times to fit each screen resolution. if not gthen is there anyway of haveing a background with those 2 bits on the sides that will work in all of the resolutions?? his is how i want my site to look and how the sides should be and this is how it shows at 1280x800: this is perfect until you view it at any other resolution.lol like this resolution(1024x768): is there anyway of making it look like the top on all of the resoltuions? the link to the site i want to use it on is: www.gusoldiers.forumn.net here is the cxode im currently using (for this part): * { margin: 0px; padding: 0px; } html { background-color: #000001; font-size: 100%; height: 100%; } #min-width { min-width: 750px; } body { background-color: #cce3f3; background: url('http://img177.imageshack.us/img177/339/backgroundimgcopylm8.jpg') repeat-x; background-attachment: fixed; font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif; font-size: 62.5%; /* This sets the default font size to be equivalent to 10px */ margin: 0px 0px 0px 0px; padding: 0px; border-color: #862121; border-width: 0px 0px 0px 0px; border-style: solid; } { font-size: 10px; height: auto; padding: 10px 0px; scrollbar-face-color: #; scrollbar-highlight-color: #; scrollbar-shadow-color: #; scrollbar-3dlight-color: #; scrollbar-arrow-color: #; scrollbar-track-color: #; scrollbar-darkshadow-color: #; } * html .conteneur_minwidth_IE { /* Hack IE min-width */ padding-left: 750px; } * html .conteneur_container_IE { /* Hack IE min-width */ margin-left: -750px; position: relative; } * html .conteneur_minwidth_IE, * html .conteneur_container_IE, * html .conteneur_layout_IE { /* Hack IE min-width */ height: 1px; } #wrap { width: 80%; margin: 0px auto; background-color: #1a1a1a; background-image: url(""); background-repeat: repeat-x; background-attachment: fixed; border-color: #46494b; border-width: 0px 0px 0px 0px; border-style: solid; padding: 5px; } #wrapnav { width: 800%; margin: 0; background-color: #ECECEC; border-width: 1px; border-style: solid; border-color: #A9B8C2; Similar TutorialsHello eveybody, I have a question i am fairly new to the HTML scene. I am opening up an online store and have purchased volusion as my shopping cart. I wanted to change the background to a different color, but i just want the background not the entire background even the layout that is in front of the background is changing. I have gone into the css file to change it and it is not what i am looking for. Can anyone out there give me some advice on how to do this. I hope i made myself clear on what i am asking for. If not feel free to let me know and i will elaborate more. Thank you Hi, I have a table with a background image. i want that this background image adjust itself dynamically according to the size of the table. Can this be achieved. can anyone post any technique of doing this? Thanks in advance geniuses htmlgroom Is it possible to put a smaller background image on top (like in layers) of my old background image? I have a background image, but I want to put a smaller image on top of that one, but for it to be treated also as background image. This image is a black vertical rectangle, but is faded on the edges to give a transparency, so its a .png. So ultimately what I am trying to do is put this black rectanlge on top of my original background image and with the transparency on the edges of this image, be able to see my original background image. How can I do so? Also what I was thinking was that this faded background would be scaled to fit different screen sizes, so do "width: 75%"? Just so that it ALWAYS stays at 75% no matter what screen size it is viewed on. Is this the right approach towards getting this result? Arg... IE is bugging me as usual.... Now I've been working on the fantasy football site the past few days getting ready for the fantasy season... but when I look at the site on IE we have a few issues going on... here they a 1. text rendering on the image switcher... why does the text look bold? The info there is using the default font-size of 13px which I set... I'm assuming that probably has something to do with it. 2. The poll part 1 Why on earth is the question indented 6px? The links in the "newest articles" section are set to indent 6px... but I set that on the list... the question of the poll isn't even in a list and it somehow got indented... 3. More crappy text rendering on the poll answers... now I'm seeing the results because I voted and the text looks absolutely horrendous... no idea why either. Any help with these IE crazy things would be greatly appreciated... thanks! http://www.farewell-travel.com/newsl...rch2012_2.html Why does this look like crap in Internet Explorer? (Specifically talking about the "Highlights" box) It looks fine in firefox but not on IE. I've tried everything to fix it, I don't know what to do! The width dimensions for some reason are way off. It bloats up to 272px when it should be 200px! Please help! Thanks -Please note this is an e-mail newsletter, that is the reason I'm using tables! I have a page I created in dream weaver. It displays fine in IE7, but in IE6 it does not. Here is a link to the page: Problem Page If anyone has any ideas, I'd really appreciate it. Right then... Problem is, uploaded website, thought that it was ok, checked in Firefox, Safari and even icab... did not check IE (rookie) and did IE have problems? Of course. Basically Some of pics are not showing up - mainly in the shop and one or two on the main pages. I cannot work out how to fix, def not broken links, really boring I know, but can anyone help? Link to site: http://www.thefrenchpantry.co.uk much appreciated... Alright, so I have this site on which I need a certain part of the site (the content part where the main text bit is) to extend down to the bottom (and preferably no longer), so that if the window is smaller or bigger the text will still just go all the way down to the bottom of the page, and when the text is further down that div will have a scrollbar so you can scroll through the text. The main issue is making it so the end of the div is always on the bottom of the page. (I've tried height=100% on that div but then it just goes below the bottom for some reason.) This is the site. And here's the code: Code: CSS: div.main { position: absolute; top: 181px; left: 110px; width: 510px; height: 1500px; background: url("images/Content Box Bit.png"); } div.news { position: absolute; top: 25px; left: 15px; width: 494px; height: 372px; overflow-x: hidden; overflow-y: auto; } Code: HTML: <div class="main"> <img src="images/News and Updates.png"><div class="news"> <span class="f4"><?php include('sitemapbase.php'); ?></span></div> </div> The reason the height of main=1500px is that that's not gonna be scrollable anyway, and I just added a random value to assure that went to the bottom no matter what. Thanks for any help. Wasn't really sure where to put this, sorry if it's the wrong place.. EDIT: Just encountered an additional issue, being that the navigation menus (to the left) look off in IE. The background seems not to start where the div starts. Suggestions? Hello! I'm having quite a problem implementing multiple backgrounds into my website. Simply put I want to have a top bar, that will function as header, and a bottom bar, that will function as a footer. I've tried the following solution but it just doesn't seem to work. The div id "bgBottomDiv" just won't show. I was hoping someone could help me out. HTML: HTML Code: <body> <div id="wrapper"> <div id="bgBottomDiv"> "Content goes here " </div> </div> CSS: Code: #wrapper{ position:relative; margin:0 auto; width:1100px; } body { background-image:url(/images/Styler_top.png); background-attachment: scroll; background-repeat: repeat-x; background-position: top; font-family: arial; color: #111111; font-size: 0.75em; /* 12px/16=0.75 em */ word-spacing: 2px; line-height: 175%; } #bgBottomDiv{ background-image: url(images/Styler_top.png); background-repeat: repeat-x; background-position: bottom; } Thanks in advance! I'm experiencing an issue when using DIVs in DIVs.. I have a container-DIV and a content-DIV, and I would like the container-DIV to stretch vertically as necessary based on how much content is in the content-DIV. Code: <html> <header> <style type="text/css"> #divContainer{ position:absolute; top:10px; left:10px; height:100%; width:200px; background-color:#CCC; } #divContent{ position:absolute; top:10px; left:10px width:180px; background:color:#BBB; } </style> </header> <body> <div id="divContainer"> <div id="divContent"> <!-- Fill me with content --> </div> </div> </body> </html> This is basically the code I'm using... whenever the content amount pushes the divContent lower than the bottom of the divContainer, it just overflows out and down the page. What am I doing wrong? Edit: OOPS I set height to 100px on the divContainer, it was supposed to be 100% Hello Guys, This is my first thread. When i try to validate website at W3C.org, i found many errors but below 2 are main reasons to write here. Errors 1) Line 424, Column 88: document type does not allow element "FORM" here 2) Line 425, Column 6: document type does not allow element "TR" here I've called 4 php files using include tag in my index.php. Here are codes of right.php from where errors has come. Code: <table width="100%" border="0" cellspacing="0" cellpadding="5" class="arial1" style="border-bottom-color:#999999; border-bottom-style:solid; border-bottom-width:1px; border-top-color:#999999; border-top-style:solid; border-top-width:1px; border-left-color:#999999; border-left-style:solid; border-left-width:1px; border-right-color:#999999; border-right-style:solid; border-right-width:1px;"> <form name="frmRight" method="post" action="<?php echo __HOST__?>pro_search.php"> <tr> <td align="center" bgcolor="#FF0000"><span class="Times2">Product Search </span></td> </tr> <tr> <td height="33" align="center"><input name="pro_search" class="inputbox150" type="text" id="pro_search" size="20" maxlength="25" /></td> </tr> <tr> <td height="35" align="center"><input type="submit" name="Submit" value="GO" class="button03"/></td> </tr> <tr> <td align="center"></td> </tr> </form> </table> <br> If you want to check website directly on W3C validation service, please note site: www.abroadpharma.com line # 424 & 425. Thanks I have inserted this http://www.dynamicdrive.com/style/cs...side_bar_menu/ it a test page, but there is a layout issue in FF, and possibly errors generally. It all displays ok in IE. http://www.trytest.net/testing/build/ Can someone have a look and point out the error of my ways? Or if need be point me in the direction off a better solution? Cheers I've been working on this simple single column layout for a while, and it was working just fine until the end, and for some reason, the top of the table is giving a problem, and the header isn't showing properly. http://akito.clavis-sama.com/ Any clue how to get rid of that portion right at the top? Hello, Having issuse with the browsers. Firefox I am all good but when I look at IE7 one page stops reading my CSS. I have NO idea y. PLEASE HELP!!! I have designed my site with Divs nesting and divs floating left and right to get a strict layout. It is flawless in firefox / safari but when I open it in IE it seems that some borders are enlarged or something because objects are obviously sent to the next line because their width exceeded that of the parent div. http://www.nativboardriding.com/media.htm check out how the video and div box won't fit on the same page in IE but work fine in the other browsers. How can i prevent this? Hello, My website works fine in IE but when i open it in Firefox the small square images don't show up - can anyone give advice on what is causing this and a fix for it? http://www.turbulenceurbanwear.com/leilani.htm Thanks for your help Greetings! I am back again. I thought I would repost my previous link as my problems now have nothing to do with Image Location. I have successfully placed my inline frame where I want to! Thanks for all the help getting there. Now I have two issues to deal with. I have enclosed photos to illustrate my problems. #1 There is a white line above my Inline frame. I want to get rid of this but cannot find what in the coding is causing it. #2 To the Right of the window there is a white space I also cannot find the code for. I want both of these issues eliminated. I have tried my best to find the code, really I have. Here is my current code and the images which corrospond to my problem. <!doctype html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html;charset=ISO-8859-1"> <title>The works of D.M. Rosemark</title> <style type="text/css" media="screen"> <!-- body { background-color: #ffffff; margin: 0px } #horizon { color: white; background-color: transparent; text-align: center; position: absolute; top: 50%; left: 0px; width: 100%; height: 1px; overflow: visible; visibility: visible; display: block } #wrap {margin: 0px auto; width: 1300px; } iframe.one { width: 600px; height: 375px; border-style:ridge; border-width:10px; border-color:#999999; padding:1px; float: left; display: inline; } //--> </style> </head> <body> <div id="wrap"> <img src="topbanner.jpg" alt="Top Banner" style="width: 1260px;"> <div id="innerwrap"> <img src="leftimage.jpg" style="float: left; width: 325px;"> <iframe class="one" frameborder="0" src="http://www.webmasterworld.com/category10.htm" scrolling="yes"> </iframe> <img src="rightimage.jpg" style="float: left; display: inline; width: 325px; "></div> <img src="bottombanner.jpg" alt="Bottom Banner" style="width: 1260px;"></div> </body> </html> Hello, I'm not a web designer in any sense, but I'm doing this website for a friend. However, I can't figure out how to set the footer to the position I need it to be in. I need the white text to appear on the blue bar that goes across the bottom of the page. But the footer keeps starting at the bottom of the page and it's just getting to the point where I've spent way too many hours trying to figure it out and it's making me pretty mad. Here's the page I'm specifically talking about: http://dianarusselldesign.com/bbb.html I'm using Dreamweaver 8 because I'm poor, and again, NOT a web designer. Here's a screencap of what the css and dreamweaver set ups look like. http://i367.photobucket.com/albums/oo120/meepum/css.jpg http://i367.photobucket.com/albums/oo120/meepum/bbb.jpg PLEASE HELP! Thank you! |