CSS - Problem With Table Position On Page
I've been tweaking a bit of the site I edit for Oxford Hash House Harriers (search Google for Oxford Hash House Harriers and our site will appear at the top) and trying to get a blue bar for the left and right side bars all down the page, which I've now succeeded in doing, however in my changes something has changed because now there is a large gap between any content and a table but only in some browsers. The tables are used for actual data, not for layout. I use CSS and <div> for layout.
The layout is along these lines: Code: <body> <div id="page"> <div id="banner"> <div id="leftlogo"> <!-- logo here --> </div> <div id="rightlogo"> <!-- logo here --> </div> <div id="oh3banner"><p class="pagetitle">Oxford H3</p></div> </div><!-- close div banner --> <div id="mainbody"> <div id="wrap1"> <div id="wrap2"> <div id="leftnavigation"> </div><!-- close div leftnavigation --> <div id="rightnavigation"> </div><!-- close div rightnavigation --> <div id="content"> <h1>Oxford Hash House Harriers</h1> <h2>Oxford H3 Hash Diary </h2> <div id="hashdiary"> <table summary="Oxford H3 Run Diary"> <caption>Forthcoming Oxford H3 Hashes</caption> <colgroup> <col id="date" /> <col id="postcode" /> <col id="venue" /> <col id="hare" /> <col id="beermaster" /> <col id="chef" /> <col id="run" /> </colgroup> <thead> <tr> <th scope="col">Date</th> <th scope="col">Post Code & Grid Ref.</th> <th scope="col">Venue</th> <th scope="col">Hares</th> <th scope="col">Beer Master</th> <th scope="col">Chef</th> <th scope="col">Run#</th> </tr> </thead> <tbody> <tr> <td>data</td> <td>data</td> <td>data</td> <td>data</td> <td>data</td> <td>data</td> <td>data</td> </tr> </tbody> </table> </div> </div><!-- close div content --> </div> <!-- close div wrap1 --> </div> <!-- close div wrap2 --> </div> <!-- close div mainbody --> </div><!-- close div page --> </body> Whilst the relevant (I think) parts of the CSS look like this: DIV#page{ margin-top: 0px; } DIV#banner{ width:100%; background-color : #06168a; height : 130px; margin-left : 0px; margin-top: 0px; position : absolute; top: 0px; float : none; } DIV#oh3banner{ clear : none; background-image : url('images/oxfordh3banner.jpg'); background-repeat : no-repeat; height : 110px; margin-top: 10px; background-position : center; } DIV#mainbody{ margin-top: 130px; } DIV#wrap1{ background-color : #06168a; } DIV#wrap2{ background-color : #06168a; } DIV#leftnavigation{ width:15%; background-color : #06168a; margin-left : 0%; float: left; } DIV#rightnavigation{ width:15%; background-color : #06168a; margin-right : 0%; margin-left : 3%; float: right; } DIV#content{ width:auto; margin-left : 15%; margin-right: 15%; padding-left: 5px; padding-right: 5px; background-color: White; } I found to begin with that there was a very large gap between the table and any content on the page in all browsers until I put a <div> </div> around the actual table itself. When I did this the page looks okay in Firefox and Safari, but still looks incorrect in Internet Explorer and Chrome. It looks to me as if the table is being pushed below the content in the right sidebar in IE or the left sidebar in Chrome for some reason. I've been messing about for a while now trying to get this to work but without success. Can anybody spot where I'm going wrong? Regards, James Similar TutorialsI have done alot of changing around settings, sizing from absolute to relative, margins to widths, and i still cant figure out what is urking my page when loaded from mozilla-firefox and netscape. The page works fine when used with Internet Explorer. Does anyone have a chance to take a look at it here at <a href> www.wolfdogg.soldierlink.com/html using Firefox and IE? style sheet is at <a href> http://www.wolfdogg.soldierlink.com/main-reworked.css or would you prefer i post the code is there actually a website that i can go to that will have a list of the extra styles that firefox and netscape needs that are automatic and uneccesary on internet explorer? Thanks a bunch, WolfDogg I have an image gallery. Code for the whole thing I've set below.The main image display window is set w/ a fixed position w/ this CSS code: Quote: #jgal li img { position: absolute; top: 20px; left: 220px; display: none; } I want to use it on dynamic php pages that have constantly changing content. I cannot w/ the fixed position. I need it to float correctly to the right of the thumb sidebar images. I've set it into my .tpl pages & it works well w/ no apparant css conflicts. But the main window is still fixed while the thumbs show wherever I place their code. Any ideas how I can float it all as a unit? Thanks, Gene PLEASE HELP ME I have an inline css tester that I built w/ help from W3Schools.com's CSS examples. > http://www.easysavannah.com/pmdinlinecsslinks.html Maybe this will help someone here. Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>Lightweight Image Gallery</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <meta http-equiv="imagetoolbar" content="false"> <meta name="description" content=""> <meta name="keywords" content=""> <style media="screen,projection" type="text/css"> /* general styling for this example */ * { margin: 0; padding: 0; } body { padding: 20px; } /* begin gallery styling */ #jgal { list-style: none; width: 200px; } #jgal li { opacity: .5; float: left; display: block; width: 60px; height: 60px; background-position: 50% 50%; cursor: pointer; border: 3px solid #fff; outline: 1px solid #ddd; margin-right: 14px; margin-bottom: 14px; } #jgal li img { position: absolute; top: 20px; left: 220px; display: none; } #jgal li.active img { display: block; } #jgal li.active, #jgal li:hover { outline-color: #bbb; opacity: .99 /* safari bug */ } /* styling without javascript */ #gallery { list-style: none; display: block; } #gallery li { float: left; margin: 0 10px 10px 0; } </style> <!--[if lt IE 8]> <style media="screen,projection" type="text/css"> #jgal li { filter: alpha(opacity=50); } #jgal li.active, #jgal li:hover { filter: alpha(opacity=100); } </style> <![endif]--> <script type="text/javascript">document.write("<style type='text/css'> #gallery { display: none; } </style>");</script> <!--[if lt IE 6]><style media="screen,projection" type="text/css">#gallery { display: block; }</style><![endif]--> <script type="text/javascript"> var gal = { init : function() { if (!document.getElementById || !document.createElement || !document.appendChild) return false; if (document.getElementById('gallery')) document.getElementById('gallery').id = 'jgal'; var li = document.getElementById('jgal').getElementsByTagName('li'); li[0].className = 'active'; for (i=0; i<li.length; i++) { li[i].style.backgroundImage = 'url(' + li[i].getElementsByTagName('img')[0].src + ')'; li[i].style.backgroundRepeat = 'no-repeat'; li[i].title = li[i].getElementsByTagName('img')[0].alt; gal.addEvent(li[i],'click',function() { var im = document.getElementById('jgal').getElementsByTagName('li'); for (j=0; j<im.length; j++) { im[j].className = ''; } this.className = 'active'; }); } }, addEvent : function(obj, type, fn) { if (obj.addEventListener) { obj.addEventListener(type, fn, false); } else if (obj.attachEvent) { obj["e"+type+fn] = fn; obj[type+fn] = function() { obj["e"+type+fn]( window.event ); } obj.attachEvent("on"+type, obj[type+fn]); } } } gal.addEvent(window,'load', function() { gal.init(); }); </script> </head> <body> <ul id="gallery"> <li><img src="http://monc.se/kitchen/stew/gallery/images/je_1.jpg" alt="Josef & Erika 1"></li> <li><img src="http://monc.se/kitchen/stew/gallery/images/roland_ads_2.jpg" alt="Roland Ads"></li> <li><img src="http://monc.se/kitchen/stew/gallery/images/cd_2.jpg" alt="CD Cover 2"></li> <li><img src="http://monc.se/kitchen/stew/gallery/images/cd_1.jpg" alt="CD Cover 1"></li> <li><img src="http://monc.se/kitchen/stew/gallery/images/je_3.jpg" alt="Josef & Erika 3"></li> <li><img src="http://monc.se/kitchen/stew/gallery/images/je_2.jpg" alt="Josef & Erika 2"></li> <li><img src="http://monc.se/kitchen/stew/gallery/images/lktrd_poster1.jpg" alt="LKTRD Poster"></li> <li><img src="http://monc.se/kitchen/stew/gallery/images/je_4.jpg" alt="Josef & Erika 4"></li> <li><img src="http://monc.se/kitchen/stew/gallery/images/inside_1.jpg" alt="Inside Magazine"></li> <li><img src="http://monc.se/kitchen/stew/gallery/images/oceanen_4.jpg" alt="Oceanen"></li> </ul> <p style="clear: both; padding-top: 2em;">Link back to article: <a href="/kitchen/80/lightweight-image-gallery-with-thumbnails">Lightweight Image Gallery with Thumbnails</a>.</p> </body> </html> I posted before explaining I was working on a work website and i do have very little to no knowledge of css but i've been teaching myself. I was wondering if anyone can help me with this question. http://www24.brinkster.com/mattphat/YMCA2.html If you go to the website it has text "try me try me try me" I was wondering if there was any way to get that text over to the right hand side of the page, after the left sidebar links. I was planning on when someone clicks a link on the left having the information open to the right. I'm not to sure if i can do that with the way i have it set up or if i have to do special boxes, and what not. Thanks for any help! Code: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <TITLE>Northwest Connecticut YMCA | We build strong kids, strong families, strong communities.</TITLE> <style type="text/css"> html {height:100%;}body {height:100%; margin:0; padding:0;} #bg {position:fixed; top:0; left:0; width:100%; height:100%;} #content {position:relative; z-index:1;} </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; } .right { position:absolute; right:110px; width:300px; background-color:#b0e0e6; } #sidebar { position: fixed; width: 10em; height: ; top: 200px; right: auto; bottom: auto; left: 0; border: double; margin:5px; padding:2px; } </style> <![endif]--> </head> <body> <div id="bg"> <img src="YMCA/graudal1.jpg" width="100%" height="100%"> </div> <div id="content"> <div align="center"> <table width="727" border="1" color="#736F6E" cellspacing="0" cellpadding="0"> <td align="left" valign="top" bgcolor="#FFFFFF"> </td> <td rowspan="2" align="left" valign="middle" background="" bgcolor="#000000"> <form id="search" name="search" method="get" action="search_results.asp"> <table width="383" border="0" cellspacing="0" cellpadding="0"> <td align="left" valign="top" bgcolor="#FFFFFF"> <img src="YMCA/NWLOGO2.JPG" width="727" height="289" border="none"> </td> <tr> <td colspan="2" bgcolor="#FFFFFF"> </td> </tr> <tr> <td colspan="2"> <img src="images/clear_spacer.gif" width="727" height="0"> </td> </tr> <tr align="left" bgcolor="#A93333"> <td colspan="2"> <img src="images/clear_spacer.gif" width="727" height="0"> </td> </tr> <tr align="center" bgcolor="#FFFFFF"> <td colspan="2"> <img src="http://www.ymcadc.org/PublishingImages/webuild_tagline.gif" width="360" height="15"> </tr> </td> <tr bgcolor="#FFFFFF" border="solid" cellspacing="0" cellpadding="0"> <td colspan="2"> <div align="left"> <img src="ymca/miniY.jpg"></img> <a href="http://www24.brinkster.com/mattphat/YMCA2.html" ONMOUSEOVER=rollover.src="YMCA/homelink2.jpg" ONMOUSEOUT=rollover.src="YMCA/homelink.jpg"> <img src="YMCA/homelink.jpg" name="rollover" width="89" height="28" border="0"></a> <a href="http://www24.brinkster.com/mattphat/ymcatorrington.html" ONMOUSEOVER=rollover2.src="YMCA/Torringtonlink2.jpg" ONMOUSEOUT=rollover2.src="YMCA/Torringtonlink.jpg"> <img src="YMCA/torringtonlink.jpg" name="rollover2" width="140" height="28" border="0"></a> <a href="http://www24.brinkster.com/mattphat/ymcawinsted.html" ONMOUSEOVER=rollover3.src="YMCA/winstedlink2.jpg" ONMOUSEOUT=rollover3.src="YMCA/winstedlink.jpg"> <img src="ymca/winstedlink.jpg" name="rollover3" width="109" height="28" border="0"></a> <a href="http://www24.brinkster.com/mattphat/ymcacannan.html" ONMOUSEOVER=rollover4.src="YMCA/cannanlink2.jpg" ONMOUSEOUT=rollover4.src="YMCA/cannanlink.jpg"> <img src="ymca/cannanlink.jpg" name="rollover4" width="93" height="28" border="0"></a> <a href="http://www24.brinkster.com/mattphat/ymcagiving.html" ONMOUSEOVER=rollover5.src="YMCA/givinglink2.jpg" ONMOUSEOUT=rollover5.src="YMCA/givinglink.jpg"> <img src="ymca/givinglink.jpg" name="rollover5" width="86" height="28" border="0"></a> <a href="http://www24.brinkster.com/mattphat/ymcaaboutus.html" ONMOUSEOVER=rollover6.src="YMCA/aboutuslinks2.jpg" ONMOUSEOUT=rollover6.src="YMCA/aboutuslinks.jpg"> <img src="ymca/aboutuslinks.jpg" name="rollover6" width="104" height="28" border="0"></a> <img src="ymca/miniY.jpg"></img> </div> </td> </tr> <tr align="left" valign="top" bgcolor="#A93333"> <td colspan="2"> <img src="images/clear_spacer.gif" width="727" height="3"> </td> </tr> <td bgcolor="#FFFFFF"> <DIV id="sidebar"> <center> <img src="http://www24.brinkster.com/mattphat/YMCA/Torrlinks.JPG" width="150" height="20"> <a href="http://www24.brinkster.com/mattphat/YMCA2.html" ONMOUSEOVER=rollover.src="YMCA/homelink2.jpg" ONMOUSEOUT=rollover9.src="YMCA/homelink.jpg"> <img src="YMCA/homelink.jpg" name="rollover9" width="89" height="28" border="0"></a> <a href="http://www24.brinkster.com/mattphat/YMCA2.html" ONMOUSEOVER=rollover.src="YMCA/homelink2.jpg" ONMOUSEOUT=rollover9.src="YMCA/homelink.jpg"> <img src="YMCA/homelink.jpg" name="rollover9" width="89" height="28" border="0"></a> <a href="http://www24.brinkster.com/mattphat/YMCA2.html" ONMOUSEOVER=rollover.src="YMCA/homelink2.jpg" ONMOUSEOUT=rollover9.src="YMCA/homelink.jpg"> <img src="YMCA/homelink.jpg" name="rollover9" width="89" height="28" border="0"></a> <a href="http://www24.brinkster.com/mattphat/YMCA2.html" ONMOUSEOVER=rollover.src="YMCA/homelink2.jpg" ONMOUSEOUT=rollover9.src="YMCA/homelink.jpg"> <img src="YMCA/homelink.jpg" name="rollover9" width="89" height="28" border="0"></a> <a href="http://www24.brinkster.com/mattphat/YMCA2.html" ONMOUSEOVER=rollover.src="YMCA/homelink2.jpg" ONMOUSEOUT=rollover9.src="YMCA/homelink.jpg"> <img src="YMCA/homelink.jpg" name="rollover9" width="89" height="28" border="0"></a> <a href="http://www24.brinkster.com/mattphat/YMCA2.html" ONMOUSEOVER=rollover.src="YMCA/homelink2.jpg" ONMOUSEOUT=rollover9.src="YMCA/homelink.jpg"> <img src="YMCA/homelink.jpg" name="rollover9" width="89" height="28" border="0"></a> <a href="http://www24.brinkster.com/mattphat/YMCA2.html" ONMOUSEOVER=rollover.src="YMCA/homelink2.jpg" ONMOUSEOUT=rollover9.src="YMCA/homelink.jpg"> <img src="YMCA/homelink.jpg" name="rollover9" width="89" height="28" border="0"></a> <br> Fall Program Guide <img border="0" src="http://www24.brinkster.com/mattphat/YMCA/TW%2520Fall%252009%2520Cover.jpg" width="125" height="175"> </a> </center> </DIV> <div id="right"> TRY ME TRY ME TRY ME </div> <br> <br> <br> <style type="text/css"> <!-- a:link {color: #000000; text-decoration: underline; } a:active {color: #A93333; text-decoration: underline; } a:visited {color: #A93333; text-decoration: underline; } a:hover {color: #ff0000; text-decoration: none; } --> </style> <center> <span style="font-size : 12px"> <a href="">Home</a> | <a href="">Torrington</a> | <a href="">Winsted</a> | <a href="">Cannan</a> | <a href="">Giving</a> | <a href="">About Us</a> <br> 2009 Northwest Connecticut YMCA. <br> The YMCA is a 501(c)(3) not-for-profit social services organization dedicated to <br> building strong kids, strong families and strong communities. </center> </span> </tr> </table></td> </tr> </td> </tr> </table> </div> </body> </html> Hi all. I have a script that draws a calendar. I would like to be able to position the day number in the upper right of each table cell using CSS. Note, each cell will also have an embedded table or just text showing events for that day, so I don't mind if the day number overlaps that table. Ive tried doing something like this: PHP Code: td.dayNumJK { font-size: 12px; font-weight: bold; position: absolute; top: 1px; right: 1px; } But it seems to ignore the style. I've tried all the possible position attribute values (static, absolute, relative, fixed) but it doesnt seem to work. Maybe this is not possible with CSS? Any ideas how I can accomplish this? Code: #ticker { background: transparent url('../images/dark_gradient.png'); overflow: hidden; display: table; margin-left: 20px; margin-top: 10px; width: 835px; height: 52px; } #ticker #items { position: relative; top: 0px; left: 829px; } the point is to use javascript to scroll the #items div along the container (#ticker). now, using this method, overflow: hidden does not seem to be working correctly. (i know display: table only works in FF, but this is an internal tool, so no need to make IE fixes yet) ... now, when i change display: table to display: block, the overflow works, but now the #items div is no longer relative to the container, but relative to the window. Hello Trying to position an image at the bottom of my webpage which: a) will always stay at the bottom of the page regardless of length (page length not window height so the position: fixed is not quite what I'm looking for) b) will not slide on top or under divs on my page (what position: absolute does) but instead stop moving up once it reaches content above it and the scrollbar appears (as tables do) c) I can layer divs on top of so far this is as close as I've got: in the html <!-- container for site info --> <div id="container"> <!-- other content in divs here --> <!-- other content in divs here --> <!-- footer for bottom image --> <div id="footer"> <!-- footer details, who / when / copyright --> <div id="footerdetails"> details here </div> <!-- footer details, who / when / copyright --> </div> <!-- footer for bottom image --> </div> and in the css #container { position: absolute; top: 0px; width: 750px; height: 100%; } #footer { position: absolute; bottom: 0px; height: 230px; width: 750px; background-image: url(../images/footer.jpg); background-repeat: no-repeat; background-position: bottom left; } #footerdetails { position: relative; margin: 0px 0px 0px 0px; padding: 9px 0px 10px 70px; top: 195px; width: 680px; text-align: left; voice-family: "\"}\""; voice-family:inherit; } I know I'm sort of answering my question above (tables) but I've seen this done with divs, just can't get the right combination of css - anyone have any ideas on this? Thanks in advnace. a+ gar Hello; i am trying to put a content of my page sit in the center of the my page it doesn't matter what browser is. but i just can do it for firefox, netscap and Opera browser, but i could not do it for IE browser. In the IE browser, my content of the page sit in the left side of the page. My IE file vision is 7.0.6 Could anyone help, thanks. my code as following: Code: <html> <head> <style type="text/css"> #container{ position: relative; width: 586px; /* width + border for IE 5.x */ w\idth: 580px; /* real width */ border: solid #036; border-width: 0 3px; margin: auto; } </style> </head> <body> <div id="container"> <p>Skip navigation</p> <ul> <li><a href="">Home</a></li><li><a href="">About</a></li><li><a href="">Contact Us</a></li><li><a href="">Site map</a></li> </ul> The Origin After getting back from his jaunt, Charles started work on his theory of evolution. Distracted by games of Reversi, Freecell and Solitaire on his computer, he took quite a while but then he heard that some Australian bloke named Wallace had come up with a similar idea so he got a move on to prevent his thunder being stolen. In 1858 Darwin and Wallance presented a joint paper to the Linnean Society of London that sent rumbles across the establishment and really quite upset a lot of people. The next year saw the publication of Darwin's 500-page 'abstract' - 'On The Origin of Species by Means of Natural Selection or the Preservation of Favoured Races In The Struggle For Life' (or OTOOSBMONSOTPOFRITSFL for short). </div> </body> </html> I'm working on a site with a div element with a fixed position, some 800 pixels from the left. The site is optimized for 1024x768. However, if a user with a resolution of 800x600 views the page, this div element will be missing, and the user won't be able to scroll over to see it. Is there some way I can get around this? One idea would be to align the div on the right instead of the left, but I don't want a lot of whitespace between my content (on the left) and my div (on the right). I was hoping that I could specify a parent element with a relative position, and that position: fixed would reference the position of the parent element, but that only seems to work when the child div element is position:absolute, not position:fixed. Thanks for any insight. Hello. i wanna make something like that: http://img85.imageshack.us/img85/3057/vajag9rv.gif I mean place that violet circle in right bottom..i know i can make it with background, BUT i need to add <a href>...</a> to that violet circel..any ideas? Hi Everyone, I have a little problem with some CSS I think, I have a layout that works apart from the menu, see (URL address blocked: See forum rules) I know that it is asp but it only renders the html as is at the moment but I'll be doing asp after this problem is sorted.. the menus start fading down but if there is a second menu it places it under the header of the menu before and it does not move out of the way... I am quite new to CSS and all this CSS gets me confused and now I'm lost... please could anyone help.. there is 3 CSS documents to play with.. but in the last few days they got a bit disorganized.. I get like that when I feel my egg cracking the site again: (URL address blocked: See forum rules) I've fixed the problem, after much searching i realized I'm an idiot. Thanks again to anyone who may have been attempting. You can throw this thread in the trash, sorry again. In FireFox, my site works fine. The top navigation works fine, the text is where it is supposed to be, but in IE, the top navigation bar is in the middle of the header image, and the text is above where it should be. My page can be found he http://s125392025.websitehome.co.uk/layout.html And viewing that source, the DTD is wrong I know. So, before I published it with a Transitional DTD, I checked it out using my NotePad and opening the file. Didn't change a thing. So I thought, hmm, perhaps the Strict DTD. Nope. I didn't even bother with the Frame one, because there are no frames being used. Also, when I view the page in IE, the top navigation bar is through the main header image, but when I refresh the page, it is at the place it is supposed to be. The text however, still remains above the picture as apposed to being at an appropiatly aligned position. I'm not sure why it is like that, so I'm asking for some help. <!--Rambling don't read, unimportan { But I mainly started making this site to learn (x)html/css/etc but also for extra credit in this class that I'm in that.. well let's keep it all all my works been finished, but teach checks it everyday and sees it, and begs to differ. He's just a retarded guy, so one day I said hey, let me do this for extra credit. So, it's kindof a part of my grade that I need. Bleh, no one cares about that sorry. } --> Anyway, here is the code in the html file that I have saved on my comp(only difference from it and the link above is the DTD). PHP Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>2 Box Layout Test</title> <style type="text/css" media="screen"> /* Here is the main CSS */ body { background: #FFFFFF; } div { background: #FFFFFF; } h5 { text-align:center; } img { border:0px; } #mid, #left { top:120px; } #totalsite { position:relative; width:700px; margin:auto; } #midcontainer { width:450px; margin:0 auto; position:relative; left:100px; top:-6px; } #midheader { background:#000000 url(http://img.photobucket.com/albums/v237/The_Nyne/tnetopnav/head400.jpg) top left no-repeat;height:30px;z-index:-1; } #midfoot { background:#000000 url(http://img.photobucket.com/albums/v237/The_Nyne/tnetopnav/footer400.jpg) top left no-repeat;height:30px; } #leftheader { background:#000000 url(http://img.photobucket.com/albums/v237/The_Nyne/tnetopnav/header200.jpg) top left no-repeat;height:30px; } #leftfoot { background:#000000 url(http://img.photobucket.com/albums/v237/The_Nyne/tnetopnav/footer200.jpg) top left no-repeat;height:30px; } #midbody, #leftbody { border:1px solid black;background: #f1f1f1; } #topbody { background: #FFFFFF } p.top1 { text-align:center; } p.midheadtxt { font-weight:bold; text-align:center; position: absolute; top:-11px; left:195px; } p.leftheadtxt { font-weight:bold; text-align:center; position: absolute; top:-11px; left:50px; } #leftcontainer { width:200px; position:relative; left:0px; top:-120px; } #topnav { width:700px; position:relative; left:0px; top:-16px; } </style> </head> <body> <!--This is the main site header properties--> <div id="totalsite"> <div id="top"> <div id="topbody"> <p class="top1"><img src="http://img.photobucket.com/albums/v237/The_Nyne/header.jpg" alt="The Nynth Experience"></p> </div> <div id="topnav"><img src="http://img.photobucket.com/albums/v237/The_Nyne/tnetopnav/leftspac.jpg" width="50" height="75" alt=""><a href="index.html" onMouseOver="homebut.src='http://img.photobucket.com/albums/v237/The_Nyne/tnetopnav/homemo.jpg';" onMouseOut="homebut.src='http://img.photobucket.com/albums/v237/The_Nyne/tnetopnav/home.jpg';"><img src="http://img.photobucket.com/albums/v237/The_Nyne/tnetopnav/home.jpg" width="150" height="75" alt="" name="homebut"></a><a href="art.html" onMouseOver="artbut.src='http://img.photobucket.com/albums/v237/The_Nyne/tnetopnav/artmo.jpg';" onMouseOut="artbut.src='http://img.photobucket.com/albums/v237/The_Nyne/tnetopnav/art.jpg';"><img src="http://img.photobucket.com/albums/v237/The_Nyne/tnetopnav/art.jpg" width="150" height="75" alt="" name="artbut"></a><img src="http://img.photobucket.com/albums/v237/The_Nyne/tnetopnav/maps.jpg" width="150" height="75" alt=""><a href="mailto:the_nyne@yahoo.com?subject=" onMouseOver="contbut.src='http://img.photobucket.com/albums/v237/The_Nyne/tnetopnav/conactmo.jpg';" onMouseOut="contbut.src='http://img.photobucket.com/albums/v237/The_Nyne/tnetopnav/contact.jpg';"><img src="http://img.photobucket.com/albums/v237/The_Nyne/tnetopnav/contact.jpg" width="150" height="75" alt="" name="contbut"></a><img src="http://img.photobucket.com/albums/v237/The_Nyne/tnetopnav/rightspac.jpg" width="50" height="75" alt=""> </div> </div> <!--This is where the main body text goes for the page--> <div id="mid"> <div id="midcontainer"> <div id="midheader"> <p class="midheadtxt">News</p> </div> <div id="midbody"> <p>This is where the main section of the site is located.</p> </div> <div id="midfoot"> </div> </div> </div> <!--This is the subnav area--> <div id="left"> <div id="leftcontainer"> <div id="leftheader"> <p class="leftheadtxt">Sub-Navigation</p> </div> <div id="leftbody"> <p>This is where the subnav is located.</p> </div> <div id="leftfoot"> </div> </div> </div> </div> </body> </html> Please help. Hi guys, I have a Photoshop sliced page. Needed to create a login area. Inserting a form tag sent all sliced images running for the hills...lol. I solved this with a div tag. Now the problem is that the text boxes for Username and Password do not alling correctly in all resolutions. It is as if the text boxes are floating, not anchored to the specified XY position. For example on the design PC IE7 all looks good. On my laptop also with IE7 text boxes are slightly to the right of where they should be. I am wandering if any one could help please. My code is below. Thanks. Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>Customer Zone</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <script src="../../Scripts/AC_RunActiveContent.js" type="text/javascript"></script> <style type="text/css"> <!-- body { background-image: url(../background.jpg); } #apDiv1 { position:absolute; width:164px; height:147px; z-index:1; left: 560px; top: 498px; float:none } .AccountNumber { font-size: 9px; font-style: normal; background-color: #151515; height: 19px; width: 148px; border: 1px solid #5C5C5C; font-family: Verdana, Arial, Helvetica, sans-serif; color: #999999; text-align: center; vertical-align: middle; } .EnterButton { top: 3px; right: 7px; position: relative; left: 92px; bottom: 20px; } .CheckButton { height: 10px; width: 10px; top: 75px; bottom: 15px; right: 10px; position: absolute; left: 0px; } .style1 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 9px; position: absolute; left: 11px; top: 75px; right: 10px; bottom: 15px; color: #999999; } --> </style> </head> <body bgcolor="#FFFFFF" topmargin="0" marginheight="0"> <!-- ImageReady Slices (customerzone.psd) --> <table width="777" height="681" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01"> <tr> <td colspan="30"> <img src="images/up.jpg" width="776" height="24" alt="" /></td> <td> <img src="images/spacer.gif" width="1" height="24" alt="" /></td> </tr> <tr> <td colspan="12"> <img src="images/logos.jpg" width="215" height="157" alt="" /></td> <td rowspan="43"> <img src="images/r2.jpg" width="7" height="567" alt="" /></td> <td colspan="16" rowspan="7"><script type="text/javascript"> AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','524','height','292','src','../../../flash/6048','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','../../../flash/6048' ); //end AC code </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="524" height="292"> <param name="movie" value="../../../flash/6048.swf" /> <param name="quality" value="high" /> <embed src="../../../flash/6048.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="524" height="292"></embed> </object></noscript></td> <td rowspan="46"> <img src="images/customerzone_05.jpg" width="30" height="656" alt="" /></td> <td> <img src="images/spacer.gif" width="1" height="157" alt="" /></td> </tr> <tr> <td colspan="12"> <img src="images/q1.jpg" width="215" height="7" alt="" /></td> <td> <img src="images/spacer.gif" width="1" height="7" alt="" /></td> </tr> <tr> <td rowspan="2"> <img src="images/q1-08.jpg" width="30" height="107" alt="" /></td> <td colspan="2"> <img src="images/x10.jpg" width="59" height="94" alt="" /></td> <td colspan="9" rowspan="2"> <img src="images/q1-10.jpg" width="126" height="107" alt="" /></td> <td> <img src="images/spacer.gif" width="1" height="94" alt="" /></td> </tr> <tr> <td colspan="2"> <img src="images/q1-11.jpg" width="59" height="13" alt="" /></td> <td> <img src="images/spacer.gif" width="1" height="13" alt="" /></td> </tr> <tr> <td colspan="12"> <img src="images/q2.jpg" width="215" height="7" alt="" /></td> <td> <img src="images/spacer.gif" width="1" height="7" alt="" /></td> </tr> <tr> <td colspan="12"> <img src="images/q3.jpg" width="215" height="5" alt="" /></td> <td> <img src="images/spacer.gif" width="1" height="5" alt="" /></td> </tr> <tr> <td colspan="12" rowspan="4"> <img src="images/lnews.jpg" width="215" height="24" alt="" /></td> <td> <img src="images/spacer.gif" width="1" height="9" alt="" /></td> </tr> <tr> <td colspan="16"> <img src="images/hr.jpg" width="524" height="12" alt="" /></td> <td> <img src="images/spacer.gif" width="1" height="12" alt="" /></td> </tr> <tr> <td colspan="10"> <img src="images/customerzone_15.jpg" width="335" height="2" alt="" /></td> <td colspan="5" rowspan="6"> <img src="images/h1.jpg" width="176" height="21" alt="" /></td> <td rowspan="33"> <img src="images/customerzone_17.jpg" width="13" height="258" alt="" /></td> <td> <img src="images/spacer.gif" width="1" height="2" alt="" /></td> </tr> <tr> <td colspan="2" rowspan="8"> <img src="images/customerzone_18.jpg" width="18" height="67" alt="" /></td> <td rowspan="3"> <img src="images/1.jpg" width="10" height="8" alt="" /></td> <td colspan="7" rowspan="8"> <img src="images/customerzone_20.jpg" width="307" height="67" alt="" /></td> <td> <img src="images/spacer.gif" width="1" height="1" alt="" /></td> </tr> <tr> <td colspan="12"> <img src="images/a1.jpg" width="215" height="4" alt="" /></td> <td> <img src="images/spacer.gif" width="1" height="4" alt="" /></td> </tr> <tr> <td colspan="12" rowspan="2"> <img src="images/customerzone_22.jpg" width="215" height="5" alt="" /></td> <td> <img src="images/spacer.gif" width="1" height="3" alt="" /></td> </tr> <tr> <td rowspan="5"> <img src="images/customerzone_23.jpg" width="10" height="59" alt="" /></td> <td> <img src="images/spacer.gif" width="1" height="2" alt="" /></td> </tr> <tr> <td colspan="2" rowspan="10"> <img src="images/customerzone_24.jpg" width="32" height="117" alt="" /></td> <td colspan="3" rowspan="7"> <img src="images/sunset.jpg" width="59" height="90" alt="" /></td> <td colspan="7" rowspan="2"> <img src="images/customerzone_26.jpg" width="124" height="17" alt="" /></td> <td> <img src="images/spacer.gif" width="1" height="9" alt="" /></td> </tr> <tr> <td colspan="5"> <img src="images/customerzone_27.jpg" width="176" height="8" alt="" /></td> <td> <img src="images/spacer.gif" width="1" height="8" alt="" /></td> </tr> <tr> <td rowspan="8"> <img src="images/customerzone_28.jpg" width="8" height="100" alt="" /></td> <td> <img src="images/sdc.jpg" width="8" height="7" alt="" /></td> <td colspan="5" rowspan="6"> <img src="images/customerzone_30.jpg" width="108" height="78" alt="" /></td> <td rowspan="26"> <img src="images/customerzone_31.jpg" width="8" height="229" alt="" /></td> <td rowspan="3"> <img src="images/s1.jpg" width="50" height="50" alt="" /></td> <td colspan="3" rowspan="20"> <img src="images/customerzone_33.jpg" alt="" width="118" height="207" border="0" usemap="#Map" /></td> <td> <img src="images/spacer.gif" width="1" height="7" alt="" /></td> </tr> <tr> <td rowspan="7"> <img src="images/customerzone_34.jpg" width="8" height="93" alt="" /></td> <td> <img src="images/spacer.gif" width="1" height="33" alt="" /></td> </tr> <tr> <td rowspan="24"> <img src="images/customerzone_35.jpg" width="15" height="189" alt="" /></td> <td colspan="5" rowspan="11"> <img src="images/pic1.jpg" width="161" height="105" alt="" /></td> <td colspan="3" rowspan="11"> <img src="images/dx.jpg" width="153" height="105" alt="" /></td> <td rowspan="24"> <img src="images/customerzone_38.jpg" width="6" height="189" alt="" /></td> <td> <img src="images/spacer.gif" width="1" height="10" alt="" /></td> </tr> <tr> <td> <img src="images/customerzone_39.jpg" width="50" height="13" alt="" /></td> <td> <img src="images/spacer.gif" width="1" height="13" alt="" /></td> </tr> <tr> <td rowspan="6"> <img src="images/s2.jpg" alt="" width="50" height="49" border="0" usemap="#Map2" /></td> <td> <img src="images/spacer.gif" width="1" height="10" alt="" /></td> </tr> <tr> <td colspan="3" rowspan="3"> <img src="images/customerzone_41.jpg" width="59" height="27" alt="" /></td> <td> <img src="images/spacer.gif" width="1" height="5" alt="" /></td> </tr> <tr> <td rowspan="2"> <img src="images/customerzone_42.jpg" width="38" height="22" alt="" /></td> <td colspan="2"> <img src="images/more.jpg" width="60" height="15" alt="" /></td> <td colspan="2" rowspan="2"> <img src="images/customerzone_44.jpg" width="10" height="22" alt="" /></td> <td> <img src="images/spacer.gif" width="1" height="15" alt="" /></td> </tr> <tr> <td colspan="2"> <img src="images/customerzone_45.jpg" width="60" height="7" alt="" /></td> <td> <img src="images/spacer.gif" width="1" height="7" alt="" /></td> </tr> <tr> <td colspan="11"> <img src="images/beetwen.jpg" width="214" height="4" alt="" /></td> <td rowspan="21"> <img src="images/customerzone_47.jpg" width="1" height="137" alt="" /></td> <td> <img src="images/spacer.gif" width="1" height="4" alt="" /></td> </tr> <tr> <td colspan="11" rowspan="2"> <img src="images/customerzone_48.jpg" width="214" height="13" alt="" /></td> <td> <img src="images/spacer.gif" width="1" height="8" alt="" /></td> </tr> <tr> <td rowspan="2"> <img src="images/customerzone_49.jpg" width="50" height="10" alt="" /></td> <td> <img src="images/spacer.gif" width="1" height="5" alt="" /></td> </tr> <tr> <td colspan="2" rowspan="18"> <img src="images/customerzone_50.jpg" width="32" height="120" alt="" /></td> <td colspan="2" rowspan="9"> <img src="images/duck.jpg" width="58" height="90" alt="" /></td> <td colspan="7" rowspan="11"> <img src="images/customerzone_52.jpg" width="124" height="98" alt="" /></td> <td> <img src="images/spacer.gif" width="1" height="5" alt="" /></td> </tr> <tr> <td rowspan="4"><img src="images/s3.jpg" width="50" height="49" alt="" /></td> <td> <img src="images/spacer.gif" width="1" height="23" alt="" /></td> </tr> <tr> <td colspan="8"> <img src="images/customerzone_54.jpg" width="314" height="3" alt="" /></td> <td> <img src="images/spacer.gif" width="1" height="3" alt="" /></td> </tr> <tr> <td rowspan="12"><div id="apDiv1" style=".UserNamePassword"> <form action="../../security/redirect.php" method="post" name="UserAccess" id="UserAccess"> <p> <input name="username" type="text" class="AccountNumber" id="AccountNumber" maxlength="16"> </p> <p> <input name="password" type="password" class="AccountNumber" id="Password" maxlength="16"> <br> <INPUT NAME="submit" TYPE="image" class="EnterButton" VALUE="Login" src="images/customerzone_75.jpg"> <font size="1" color="#5c5c5c"> <input name="remember" type="checkbox" class="CheckButton" value="Yes"> </font> </font> <span class="style1">Remember Me</span> </form> </div> <img src="images/customerzone_55.jpg" width="3" height="81" alt="" /></td> <td colspan="3"> <img src="images/customerzone_56.jpg" width="148" height="18" alt="" /></td> <td colspan="4" rowspan="7"> <img src="images/customerzone_57.jpg" width="163" height="65" alt="" /></td> <td> <img src="images/spacer.gif" width="1" height="18" alt="" /></td> </tr> <tr> <td colspan="3" rowspan="3"> <img src="images/customerzone_58.jpg" width="148" height="22" alt="" /></td> <td> <img src="images/spacer.gif" width="1" height="5" alt="" /></td> </tr> <tr> <td> <img src="images/customerzone_59.jpg" width="50" height="8" alt="" /></td> <td> <img src="images/spacer.gif" width="1" height="8" alt="" /></td> </tr> <tr> <td rowspan="8"> <img src="images/s4.jpg" width="50" height="49" alt="" /></td> <td> <img src="images/spacer.gif" width="1" height="9" alt="" /></td> </tr> <tr> <td colspan="3"> <img src="images/customerzone_61.jpg" width="148" height="17" alt="" /></td> <td> <img src="images/spacer.gif" width="1" height="17" alt="" /></td> </tr> <tr> <td colspan="3" rowspan="3"> <img src="images/customerzone_62.jpg" width="148" height="10" alt="" /></td> <td> <img src="images/spacer.gif" width="1" height="2" alt="" /></td> </tr> <tr> <td colspan="2" rowspan="9"> <img src="images/customerzone_63.jpg" width="58" height="30" alt="" /></td> <td rowspan="6"> <img src="images/customerzone_64.jpg" width="49" height="22" alt="" /></td> <td> <img src="images/customerzone_65.jpg" width="60" height="6" alt="" /></td> <td rowspan="6"> <img src="images/customerzone_66.jpg" width="9" height="22" alt="" /></td> <td> <img src="images/spacer.gif" width="1" height="6" alt="" /></td> </tr> <tr> <td colspan="2" rowspan="5"> <img src="images/customerzone_67.jpg" width="94" height="16" alt="" /></td> <td rowspan="2"> <img src="images/customerzone_68.jpg" width="55" height="8" alt="" /></td> <td rowspan="5"> <img src="images/customerzone_69.jpg" width="14" height="16" alt="" /></td> <td rowspan="5"> <img src="images/customerzone_70.jpg" width="60" height="16" alt="" /></td> <td> <img src="images/spacer.gif" width="1" height="2" alt="" /></td> </tr> <tr> <td colspan="4" rowspan="7"> <img src="images/customerzone_71.jpg" width="55" height="22" alt="" /></td> <td rowspan="2"> <img src="images/customerzone_72.jpg" width="58" height="11" alt="" /></td> <td colspan="2" rowspan="7"> <img src="images/customerzone_73.jpg" width="11" height="22" alt="" /></td> <td colspan="2" rowspan="4"> <img src="images/customerzone_74.jpg" width="92" height="14" alt="" /></td> <td rowspan="2"> <img src="images/customerzone_75.jpg" width="56" height="11" alt="" /></td> <td> <img src="images/spacer.gif" width="1" height="6" alt="" /></td> </tr> <tr> <td rowspan="3"> <img src="images/customerzone_76.jpg" width="55" height="8" alt="" /></td> <td> <img src="images/spacer.gif" width="1" height="5" alt="" /></td> </tr> <tr> <td rowspan="5"> <img src="images/customerzone_77.jpg" width="58" height="11" alt="" /></td> <td rowspan="2"> <img src="images/customerzone_78.jpg" width="56" height="3" alt="" /></td> <td> <img src="images/spacer.gif" width="1" height="2" alt="" /></td> </tr> <tr> <td> <img src="images/customerzone_79.jpg" width="50" height="1" alt="" /></td> <td> <img src="images/spacer.gif" width="1" height="1" alt="" /></td> </tr> <tr> <td colspan="16"> <img src="images/tak.jpg" width="524" height="3" alt="" /></td> <td> <img src="images/spacer.gif" width="1" height="3" alt="" /></td> </tr> <tr> <td colspan="16" rowspan="2"> <img src="images/ss.jpg" width="524" height="5" alt="" /></td> <td> <img src="images/spacer.gif" width="1" height="2" alt="" /></td> </tr> <tr> <td> <img src="images/r1.jpg" width="7" height="3" alt="" /></td> <td> <img src="images/spacer.gif" width="1" height="3" alt="" /></td> </tr> <tr> <td colspan="12"> <img src="images/over.jpg" width="215" height="22" alt="" /></td> <td colspan="17"> <img src="images/ddd.jpg" width="531" height="22" alt="" /></td> <td> <img src="images/spacer.gif" width="1" height="22" alt="" /></td> </tr> <tr> <td colspan="29"> <img src="images/customerzone_85.jpg" alt="" width="746" height="64" border="0" usemap="#Map3" /></td> <td> <img src="images/spacer.gif" width="1" height="64" alt="" /></td> </tr> <tr> <td> <img src="images/spacer.gif" width="30" height="1" alt="" /></td> <td> <img src="images/spacer.gif" width="2" height="1" alt="" /></td> <td> <img src="images/spacer.gif" width="57" height="1" alt="" /></td> <td> <img src="images/spacer.gif" width="1" height="1" alt="" /></td> <td> <img src="images/spacer.gif" width="1" height="1" alt="" /></td> <td> <img src="images/spacer.gif" width="8" height="1" alt="" /></td> <td> <img src="images/spacer.gif" width="8" height="1" alt="" /></td> <td> <img src="images/spacer.gif" width="38" height="1" alt="" /></td> <td> <img src="images/spacer.gif" width="58" height="1" alt="" /></td> <td> <img src="images/spacer.gif" width="2" height="1" alt="" /></td> <td> <img src="images/spacer.gif" width="9" height="1" alt="" /></td> <td> <img src="images/spacer.gif" width="1" height="1" alt="" /></td> <td> <img src="images/spacer.gif" width="7" height="1" alt="" /></td> <td> <img src="images/spacer.gif" width="15" height="1" alt="" /></td> <td> <img src="images/spacer.gif" width="3" height="1" alt="" /></td> <td> <img src="images/spacer.gif" width="10" height="1" alt="" /></td> <td> <img src="images/spacer.gif" width="82" height="1" alt="" /></td> <td> <img src="images/spacer.gif" width="56" height="1" alt="" /></td> <td> <img src="images/spacer.gif" width="10" height="1" alt="" /></td> <td> <img src="images/spacer.gif" width="84" height="1" alt="" /></td> <td> <img src="images/spacer.gif" width="55" height="1" alt="" /></td> <td> <img src="images/spacer.gif" width="14" height="1" alt="" /></td> <td> <img src="images/spacer.gif" width="6" height="1" alt="" /></td> <td> <img src="images/spacer.gif" width="8" height="1" alt="" /></td> <td> <img src="images/spacer.gif" width="50" height="1" alt="" /></td> <td> <img src="images/spacer.gif" width="49" height="1" alt="" /></td> <td> <img src="images/spacer.gif" width="60" height="1" alt="" /></td> <td> <img src="images/spacer.gif" width="9" height="1" alt="" /></td> <td> <img src="images/spacer.gif" width="13" height="1" alt="" /></td> <td> <img src="images/spacer.gif" width="30" height="1" alt="" /></td> <td></td> </tr> </table> <div align="center"> <!-- End ImageReady Slices --> </div> <map name="Map"><area shape="rect" coords="-48,81,51,89" href="mailto:info@raeonimages.com" /> </map> <map name="Map2"><area shape="rect" coords="12,16,53,28" href="mailto:info@raeonimages.com" /> </map> <map name="Map3"><area shape="rect" coords="622,8,704,23" href="../termsandconditions/termsandconditions.html" /> </map></body> </html> hi, im trying to modify a template i downloaded, the problem is that the css sheet has pre defined blocks where images and text was, i managed to replace some of it, most part but when i try to add a border immage at the bottom of the page it refuses to take the position i indicate.. i think its a problem cuz of position:heritage so that it automaticly adds to the last block or something, annyway could somebody please give me a code sample of how to corectly put my image on the page or tell me how to modify the immage fields (the position heritage thing..) thanx in advance... Greetings! I am trying to position a transparent gif at the bottom of a page, repeating on the x axis, so that text scrolls behind it. I have the gif fixed at the bottom of the page, but the text is still over top of it. I think I will need to create an element, position it at the bottom of the page, use the transparent gif for the background, and give it a z-index higher than zero, right? If so, I can't get it it to work! What I am currently doing: Code: body{ background:transparent url('/flames.gif') center bottom fixed repeat-x; } I seem to have an issue with my positioning (or float) in IE (7 & 8). Every other browser I tried renders the page properly (Safari, FF, Chrome). IE9 wasn't tested yet, so I don't know if it's screwed up too. Here's the link: www[dot]nintendrunk[dot]com/forum The content is all over the "header" in IE whereas it is neatly contained in the middle in other browsers. It only happens with the forum page, every other page's content is fine. Any help would be greatly appreciated. (I assume the problem is with a position/float tag somewhere, but I might be wrong) I have a really wierd problem. I want to work with div's inside div's, so i will be able to make content scrollable. But i have this problem. (It is really hard to explain this without showing screenshots so i try to bend the forum-rules a bit ) scalesmusic DOT dk SLASH problem DOT jpg As you can see, theres an empty line before my headline. The stylesheet for this page is as follows. body { background-color: black; background-image: none); background-repeat: no-repeat; background-attachment: fixed; background-position: bottom right; margin: 10px; scrollbar-3dlight-color: #ff6600; scrollbar-base-color: black;} div { -moz-border-radius: 9px; padding: 5px; border-style: solid; border-width: 1px; border-color: white; background-color: #222222;} div div{-moz-border-radius: 4px; padding: 0px; border-style: solid; border-width: 1px; border-color: white; background-color: #222222;} p { font-family:courier new; font-size:14; color: white; text-indent: 10px;} a { font-family:courier new; font-size:16; color: #ff6600; text-decoration: none;} a:hover{font-family:courier new; font-size:16; color: #ff6600; text-decoration: underline;} h1 { font-family:courier new; font-size:32; color: #ff6600;} h2 { font-family:courier new; font-size:18; color: #ff6600;} h3 { font-family:courier new; font-size:16; color: white;} h4 { font-family:courier new; font-size:10; color: white; text-decoration: underline;} img { hspace:20; border-color: #ff6600;} .boxVisible {display: block;} .boxHidden {display: none;} I've made a testpage too, to locate the problem. scalesmusic DOT dk SLASH tester DOT jpg Here's no problems!?! The stylesheet looks as follows: div { -moz-border-radius: 9px; padding: 20px; border-style: solid; border-width: 1px; border-color: blue; background-color: white;} div div { -moz-border-radius: 9px; padding: 5px; padding-top: 0px; border-style: solid; border-width: 1px; border-color: black; background-color: #666666;} div div div{ -moz-border-radius: 9px; padding: 10px; border-style: solid; border-width: 1px; border-color: red; background-color: #888888;} p { font-family:courier new; font-size:14;} h { font-family:courier new; font-size:24;} Why this empty line?!? I have no idea what i am doing wrong! PS: I really don't like to bend the forum-rules, but i can't explain this problem in words alone! Could somone please tell me what is the issue with the navigation on the left hand side on this page. It looks ok in IE but in Firefox it is sticking out into the main page area? http://www.santarosadentist.com/santa-rosa-dentist.asp Thanks. Hi, I have a table with the following div : div#mod-banner { height:60px; position:absolute; right:180px; top:22px; width:468px; } in IE7 and Opera looks ok but in IE6 it shows it like its left aligned or something. I dont have any knowledge of CSS , can anybody help me? Thanks |