CSS - Display Issues On Smaller Screens?
I can forsee having display issues on smaller screens and idk how to prepare for this. For example if i use the margin or padding property to say..center an image or align text. Keeping in mind that for example my wrapper div is coded in percent(other things too). So smaller screens=shrinkage, but the code thats not percent values will stay the same. The code is kind of a mess the most used components are at the top.
Code: body {background:#white; } #wrap {margin-left:20%; margin-right:20%; } #header {border: 2px solid grey; background:white; } #titlearea { height:100px; padding:4px; font-family:Verdana; } #belowimg {background:#6a7c63; margin:0px; height:40px; border-top:2px solid grey; } .link {float:left; margin-top:8px; margin-left:5px; background:#6a7c63; border-right:1px solid #681300; height:20px; width:100px; text-align:center; text-decoration:none; font-family:Lucida Grande; padding-right:3px; margin-bottom:8px } .linklast {float:left; margin-top:8px; margin-left:0px; background:#6a7c63; height:20px; width:100px; text-align:center; text-decoration:none; font-family:Lucida Grande; padding-right:3px; margin-bottom:8px } #main {border:1px solid grey; background:tan; padding:10px; padding-right:0px; margin-top:0px; font-size:.80em; font-family:Verdana; color:#000000; height:100%; } #rightcontent {float:right; border-left:1px dashed grey; padding-left:0px; padding-right:0px; height:90%; width:230px; font-size:small; margin-left:8px; background:white; } .button { font-size:small; font-family:Verdana; border-top:1px solid grey; padding:8px; margin:0px; padding-bottom:0px; background:white; } .button.center { padding-left:23px; text-align:center; } .button.right {float:right; border:1px solid red; padding:2px; background:blue; } #imagescroller{width:530px; float:left; margin-right:10px; margin-left:10px; height:300px; padding:4px; border-top:2px solid #f1e1b8; border-left:2px solid #f1e1b8; border-right:2px solid #f1e1b8; border-bottom:2px solid #f1e1b8; background:blue; } #bottom {background:blue; border-bottom:2px solid red; border-right:2px solid #f1e1b8; border-left:2px solid #f1e1b8; height:30px; padding:0px; color:grey; margin-top:0px; width:600px; height:30px; } .box { padding-top:0px; margin:1px; font-size:.80em; font-style:strong; float:left; color:grey; background:white; font-family:Lucida Grande; line-height:1px; margin-top:196px; } .left {float:left; padding-right:20px; padding-bottom:0px; margin-bottom:0px; } .right {float:right; border-left:1px solid grey; border-bottom:1px solid grey; background:white; } .inside {border-top:1px solid white; padding-left:3px; padding-right:3px; background:#ffa812; font-family:Verdana; font-size:.70em; height:20px; background:#EEC900; color: #000000; } .bottom {height:10px; background:#DEECFF; border-top:1px solid grey; } .imagebottom {background:white; border-bottom:2px double #f1e1b8; padding:3px; color:grey; } #blockquote {margin-left:18%; font-size:.60em; padding-left:40px; color:brown; font-family:Verdana; font-style:italic; background:white; border-left:4px dotted orange; } #topping {border-bottom:1px solid grey; margin-left:1px; margin-top:4px; } #bottomborder {border-bottom:1px solid grey; margin-left:1px; } #footer {border:1px solid grey; height:30px; margin-top:5px; } #test {height:20px;} .test1 {margin-top:3px; border-top:1px solid #fcfcfc; height:0px; } .test2 {height:0px; border-top:1px solid #f5f5f5; } .test3 {height:0px; border-top:1px solid #ededed; } .test4 {height:0px; border-top:1px solid #e5e5e5; } .test5 {height:0px; border-top:1px solid #dedede; } .test6 {height:0px; border-top:1px solid #d9d9d9; } .test7{height:0px; border-top:1px solid #d3d3d3; } .test8 {height:0px; border-top:1px solid #cfcfcf; } .test9 {height:0px; border-top:1px solid #c9c9c9; } .test10{height:0px; border-top:1px solid #c2c2c2; } #testy{height:20px; color:000000; } h2 {font-size: 1.571em} /* 22px */ h3 {font-size: 1.429em} /* 20px */ h4 {font-size: 1.286em} /* 18px */ h5 {font-size: 1.143em;} /* 16px */ h6 {font-size: 1em; font-family:Verdana;color:brown;} /* 14px */ h2, h3, h4, h5, h6 { font-weight: 400; line-height: 1.1; margin-bottom: .8em; } /* Anchors */ a {outline: 0;} a img {border: 0px; text-decoration: none;} a:link, a:visited { color: #c7a01e; padding: 0 1px; text-decoration: none; } a:hover, a:active { /*background-color: #C74350;*/ color: #f09419; text-decoration: underline; text-shadow: 1px 1px 1px #333; } strong, b {font-weight: bold;} 060 em, i {font-style: Thanks Similar Tutorialsi have a webpage that the layout looks perfectly fine when looking on a monitor larger than 1024x768. when i look at it on that screen size everything inside of a div that is absolutly positioned gets put over it as if it is smaller than it is on the larger screen size. has anyone else come across this problem and know how to resolve it. please ask for more info if needed. many thanks in advance. i have attached an image with the problem showing RESOLVED: i redid my javascript Hello, I am trying to make a website www.jazzsurlaplage.ch/2007/home.php (sorry for the french script over there) Here is the issue : One Firefox or IE 7, the partners box appears to the right side of the page, whereas on IE 6, it appears way at the bottom. you can check out the html source on the page itself (I've written it, not generated, so it must be pretty easy to get) and the css is over here : www.jazzsurlaplage.ch/2007/style.css Here is the part in the file where I define the side box : Code: /*===========SIDE NAVIGATION==================*/ #sideinfo{ left:600px; width:200px; position: relative; margin-top:3px; margin-bottom:0px; } .sidebox{ margin:0px 0px 0px 0px; padding:15px 0px 0px 0px; width:200px; height:30px; position:relative; background:transparent url(images/sidehead.jpg) left top no-repeat; } .sidebox .sidebody{ position:relative; padding:0px 10px 0px 10px; background:url(images/sidebody.jpg) left top repeat-y; margin-bottom:0px; text-align:center; } .sidebox .sidefooter{ position:relative; height:30px; width:200px; margin-top:0px; background:url(images/sidefoot.jpg) left top no-repeat; } /*============================END SIDE BLOCK===========================*/ / Here is the part in the html file where I insert the box : Code: <? //sidebar echo '<div id="sideinfo">'; echo '<div class="sidebox">'; echo '<div class="sidebody">'; echo '<img src="images/partenaires.jpg" />'; echo '<br />'; echo '<img src="images/partenaires/arg.jpg" />'; echo '<br />'; echo '<img src="images/partenaires/chatnoir.jpg" />'; echo '<br />'; echo '<img src="images/partenaires/coheran.jpg" />'; echo '<br />'; echo '<img src="images/partenaires/heineken.jpg" />'; echo '<br />'; echo '<img src="images/partenaires/semeuse.jpg" />'; echo '<br />'; echo '<img src="images/partenaires/jardinnerie.jpg" />'; echo '<br />'; echo '<img src="images/partenaires/raiffeisen.jpg" width="130"/>'; echo '<br />'; echo '<img src="images/partenaires/aurelys.jpg" width="130"/>'; echo '<br />'; echo '<img src="images/partenaires/mb.jpg" width="130"/>'; echo '</div>'; echo '<div class="sidefooter"></div>'; echo '</div>'; echo '</div>'; ?> What do I do, and where can I get more info on these kind of issues ? Thanks, Manojo This is yet again another mysterious issue I am having with CSS and the notorious Internet Explorer. I have two divs fashioned into boxes. One is floated to the left the other is floated to the right. The height looks fine in FF but when you look at the bottom border of said 'boxes' the one on the right draws up sooner than the one on the left (when viewed in IE). The CSS definitions for both divs have the same height specified. Any help at all is very appreciated. http://www.ioforge.com/contact intrigue.net -- please copy and paste (link not allowed here since I'm a new member) HTML & CSS both validate with no errors. The page displays correctly in Opera and Firefox, but in IE... 7+ does not color the menu (white), making it invisible <7 displays only half of the page I would love any assistance at all in getting this resolved (aside from bombing MS) Thanks in advance. -=-TS Hi Hoping someone can give me a pointer to a small problem I'm having: Trying to achieve rounded corner buttons for a tags on a website using CSS and a nested <span tag. Relevant example page is at: http://www.mytophost.co.uk/test/test.html Styles are in the test.html page and the images used are at: http://www.mytophost.co.uk/test/button.gif http://www.mytophost.co.uk/test/buttonh.gif http://www.mytophost.co.uk/test/end.gif http://www.mytophost.co.uk/test/endh.gif All looks fine for me in IE, but bg images align differently in FF. I realise it's probably something in my CSS that's not compliant and so that's why IE works and FF not ... Any help greatly appreciated. Does anyone know why IE7 is displaying this page incorrectly (when compared to Safari, Chrome, FF, IE8)? http://www.harrisdesigns.ca/dev/bestratefinders I noticed the font size at the top increases missing up my "Savings Calculated" - I'm assuming an if IE7 statement on the fonts will fix that. However, more troubling is the way to shoves the left column down. Any tips advice or ideas are greatly appreciated. Thanks in advance, CH... SOLVED Essentially it was a couple of over looked css errors. Left column shoving down was a float error as I forgot set a width, the font size errors were fixed by setting the margins and paddings to on the H elements and using ".px" for font sizes over "em" Hi, Ive been asked to create a webpage for a website, the page must be 99% identical to the current website but the problem is I had to build the new page from scratch because a problem with joomla. While creating the page I ran into a big problem aligning the menu bar. Right now the menu bar lines up exactly how it should on my desktop, but on my laptop which has a much larger screen the menu bar is slide way over to the left. here's the website Im making a copy for http://www.curacao.vatcar.org/home/ and here's the page I've made so far http://brandynstestserver.zymichost.com/flight/downloads.html I know it still needs alot of tweaking but I just want to solve the menu problem Heres the HTML, please ignore the comments those are just for the current webmaster (who doesn't know much) until they find another one. Also I just noticed a now unneeded <div id="banner"> tag ignore that too. 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>Virtual Curacao FIR Downloads</title> <link rel="stylesheet" type="text/css" href="styles.css"> </head> <script type="text/javascript"> var timeout = 50; var closetimer = 0; var ddmenuitem = 0; function mopen(id) { mcancelclosetime(); if(ddmenuitem) ddmenuitem.style.visibility = 'hidden'; ddmenuitem = document.getElementById(id); ddmenuitem.style.visibility = 'visible'; } function mclose() { if(ddmenuitem) ddmenuitem.style.visibility = 'hidden'; } function mclosetime() { closetimer = window.setTimeout(mclose, timeout); } function mcancelclosetime() { if(closetimer) { window.clearTimeout(closetimer); closetimer = null; } } document.onclick = mclose; </script> <body> <div id="page-background"><img src="images/bg.JPG" width="100%" height="100%" alt="Smile"></div> <div id="content"><div id="banner"><center><img src="images/banner.png"/></center></div> <ul id="sddm"> <li><a href="http://www.curacao.vatcar.org" onmouseover="mopen('m1')" onmouseout="mclosetime()"><center>Home</center></a> </li> <li><a href="http://www.vatcar.org/website/index.php?option=com_content&view=article&id=5&Itemid=40" onmouseover="mopen('m2')" onmouseout="mclosetime()"><center>Roster</center></a> </li> <li><a href="http://www.vatcar.org/forum/index.php?board=6.0&Itemid=54" onmouseover="mopen('m1')" onmouseout="mclosetime()"><center>Forum</center></a> </li> <li><a href="http://www.curacao.vatcar.org/home/index.php?option=com_jobline&Itemid=61" onmouseover="mopen('m1')" onmouseout="mclosetime()"><center>Career Opportunities</center></a> </li> <li><a href="http://www.curacao.vatcar.org/home/index.php?option=com_content&view=article&id=56&Itemid=66" onmouseover="mopen('m1')" onmouseout="mclosetime()"><center>Contact Us</center></a> </li> <img src="images/menuspacer.jpg" /></ul> <table width="982" border="0" cellspacing="0" cellpadding="0" background="images/body.jpg" align="center"> <tr> <td> </td> <td><h2>Downloads</h2></td> <td> </td> </tr> <tr> <td> </td> <td> <!--Downloads will go under this comment, dont edit anything above this--> <h2><center>Charts</center></h2><!-- this little piece of code it just a centered heading, hence the <h2> and <center> tags around the words you want to be the heading--> <!-- use this format to add downloads, type <a href="LINK TO DOWNLOAD HERE">Name of the download</a> and thats it. That code will display text saying what ever you typed in the "Name of the donwload" section and when you click on the words it will download the file that is located in the "LINK TO DOWNLOAD HERE" section. Heres a few working downloads below for you go go off of--> <center><a href="downloads/charts/TNCA/TNCACharts.zip">TNCA Charts package</a><br /> <!-- The <br /> is just a line break--> <a href="downloads/charts/TNCB/TNCBCharts.zip">TNCC Charts package</a><br /> <a href="downloads/charts/TNCC/TNCCCharts.zip">TNCB Charts package</a><br /></center> <h2><center>ATC</center></h2> <center><a href="downloads/ATC/Training Files.zip">Training package</a><br /> <a href="downloads/ATC/TNCF Control.zip">TNCF Control package</a><br /></center> <!-- Dont edit anything below this comment--> </td> <td> </td> </tr> <tr> <td colspan="3"><img src="images/bottom.jpg"/></td> </tr> </table> </div> </body> </html> Heres the CSS Code: @charset "utf-8"; /* CSS Document */ html, body {height:100%; margin:0; padding:0; font-family: Arial, sans-serif, Verdana, Helvetica; } #page-background {position: fixed; top:0; left:0; width:100%; height:100%;} #content {position:relative; z-index:1; padding:10px;} #sddm { margin:0 0 0px .6em; padding: 0; z-index: 30 } #sddm li { margin:0 auto; padding: 0; text-align: left; list-style:none; float: left; font: bold 15px sans-serif} #sddm li a { display:block; margin-left: auto; margin-right: auto; padding: 8px 5px; background: url(images/mainmenu.jpg) repeat-x left top; color: #FFF; text-decoration: none } #sddm li a:hover { background: #000; width:auto; font-size: 15px; } Thank you in advance for the help! Hello, I am having trouble with the display: inline tag. ******************************************** Here is the style: H1.nolinebreak { font-size : 12pt; display: inline; } Here is an HTML snippet: <p> Here is my content text. Blah blah <H1 class="nolinebreak"> inline header 1 </H1> blah blah blah <H1 class="nolinebreak"> inline header 2 </H1> </p> ******************************** The second and additional instances of the <h1 class="nolinebreak"> works great. But the first one always puts in a line break. I need them all to display inline. What am I doing wrong? Thanks in advance. here is the site http://142.177.157.241:8080/bikers/ Well, I have some work to do about opera and IE since they are slow in the browsers making or the standards compliance. Even Opera8 doesn't suport my site and I think that was just released not too long ago. I think I'm going to be changing my browser of choice from Firefox to Netscape 8. I have the beta right now and it looks awesome and has all the functionality of Firefox I want plus it makes it easy to change between IE and netscape without actualy going to IE to see how my site looks. Two birds with one stone. Ok I've been working on this for hours. WordPress is generating some HTML that isn't displaying correctly. At this point I'm just working with the following CSS and HTML: CSS: Code: div#navcontainer { border: 1px solid blue; padding-left: 20px; margin: 0; width: 177px; position: relative; left: 0px; } div#navcontainer div#pagenav li.pagenav { /* the outermost list item; seems to apply to the title of the section */ font-family: Tahoma, Verdana, Helvetica, Arial, sans-serif; font-size: 14px; padding-left: 0em; padding-right: 16px; margin-left: 0; width: 175px; font-weight: normal; list-style: none; list-style-type: none; color: #4f2b0d; } div#navcontainer div#pagenav li.pagenav ul li.page_item current_page_item a: link { display: inline; padding-bottom: 12px; color: #4f2b0d; position: relative; left: -20px; } /* these are the links */ div#navcontainer div#pagenav li.pagenav ul li.page_item a:link { /* any Page item */ display: inline; width: 175px; font-weight: normal; color: #4f2b0d; line-height: 18px; margin: 0; padding-bottom: 0.25em; text-decoration: none; list-style: none; list-style-type: none; } div#navcontainer div#pagenav li.pagenav ul li.page_item a:hover { /* any Page item */ display: inline; width: 175px; font-weight: normal; color: #4f2b0d; line-height: 18px; margin: 0; padding-bottom: 0.25em; text-decoration: underline; list-style: none; list-style-type: none; } div#navcontainer div#pagenav li.pagenav ul li.page_item current_page_item a:link { font-family: Georgia; font-size: 36px; color: #4f2b0d; } HTML: Code: <div id="inside_left_column"> <div id="sidebar"> <ul id="navcontainer"> <ul class="pagenav"> <li class="pagenav">About JCDS <ul> <li class="page_item page-item-58"><a href="...?page_id=58" title="Our Mission">Our Mission</a></li> <li class="page_item page-item-56 current_page_item"><a href="...?page_id=56" title="Welcome from the Head of School">Welcome from the Head of School</a></li> <li class="page_item page-item-60"><a href="...?page_id=60" title="School Leadership">School Leadership</a></li> </ul> </li> </ul> </ul> </div> </div> I'm attaching screenshots of what it looks like now (purple underlined links, section title not bold, too much indentation, bullets displaying for all pages), and what I want it to look like (brown text, bold text for section name, no underlines (only on hover), left-aligned, bullet only on current page). I would love to get some help with this! -- TIA Laura S. My special font displays correctly in all browsers except the new firefox. It even worked in the older firefox before the new update. I am not sure why this is happening or how to fix it. Here is the code in the html page: Code: <head> <style type="text/css"> @font-face { font-family: English; font-weight: normal; src: url(fonts/English_.ttf); } </style> </head> <div class="content"> <h1> Beckin Designs</h1> Here is the CSS rules in my external CSS sheet: Code: .content h1 { font-family: "English", sans-serif; font-size: 52px; font-style: normal; /* [disabled]text-transform: uppercase; */ color: #F7F7F7; text-decoration: none; width: 930px; text-align: center; margin: -10px 0 5px 0; padding: 0; } Thanks! Sorry for the "general" title but I don't know what is causing my problems, so it is hard to be specific... I am working on a web application for my summer research project, but I am not very knowledgeable in CSS. For the most part I am able to solve my problems except for the following: Issue 1: Profile Display Issue 1 CSS file The copyright at the bottom. Firefox displays correctly. Explorer displays too much white space above the copyright text. Issue 2 *IMPORTANT*: Profile Display (with missing fields) Issue 2 CSS file The text in the SME Profile does not display correctly when some of the fields are left blank (Issue 1 link shows a full profile). I'm trying to avoid using tables as it would cause some major setbacks in my work. FYI, the pages are dynamically generated so links will not work. Any suggestions? Hey everyone, I seem to be having problems on IE7 for a clients website (http://beitelligent.com/clients/sportsdome/ ).. If you view it on IE8 or Firefox 2.X+ it seems to display correctly, all on the same line.. on IE7 it still displays it as a list.. Does anyone know why this is? Thanks, Peter Barbosa http://www.turboconceptsllc.com/testmain ok in IE 6 AND 7 this happens. basically the pictures are pngs with background colors the same as the boldy {} color which is 4D4D4D. BUT its showing a contrast. opera and mozilla this of course isnt a problem any ideas how to get around this? transparent PNGs are not an option as IE6 doesnt render them. also gifs are not an option as the quality is horrible Thanks for your time. Still learning design, so thanks for your help if they are easy solutions. Border Issue: In IE and FF I have a complete border on a few header div's. The bottom and top border is different color than the left and right borders. You can see that the dark brown bottom and top borders appear to lay overtop of the white left and right borders. Website is he http://onlinecasinoboss.true2formde...e.php?page=home Styling CSS is he http://onlinecasinoboss.true2formde...aster-style.css Layout CSS is he http://onlinecasinoboss.true2formde...ster-layout.css IE Layout Issue: In FF the three center content columns display how I want it to look. When you view the same home.html page in IE you can see that they don't space out how I'd like. It is most visible by compairing the boxes on the right of the center content. Thanks a ton for your time and help, I appreciate it. Hi guys, I am building a page with CSS and I'm running into some problems with the CSS buttons I'm trying to use. Right now I have a large box along the top of the page and want two rows of buttons inside of it. These text on these buttons will likely be changing on a semi-regular basis. So instead of using gif buttons made in a graphics program, I'm using CSS to create the buttons. Since each row will have multiple buttons, I first used the display:inline; item and it worked fine in IE. In FF however, the buttons lost their height and width. If I also used the float:left; it worked right, but the buttons were not centered. In looking for a solution, I discovered that inline items cannot use the height and width properties. Any ideas on how to get what I'm looking for? I can't post a link, because this is an intranet page, but here is my relevant code... CSS Code: Original - CSS Code /*the main box which will contain the buttons*/ div#Main-buttons { width:96%; margin:2%; margin-top:10px; height:100px; padding-top:10px; background-color:#84C394; border:ridge medium #004500; } /*adjustments for FireFox*/ html>body div#Main-buttons { width:90%; margin:5%; margin-top:10px; height:100px; padding-top:0px; background-color:#84C394; border:ridge medium #004500; } /*class for individual buttons*/ div#buttons { width:100px; height:30px; margin:3px; float:left; background-color:#F7F3B5; border-style:solid; border-width:2px; border-color:#ffffff; line-height:1.6; display:inline; } a.buttonLinks:link {color:#000000; text-decoration:none;} a.buttonLinks:active {color:#000000; text-decoration:none;} a.buttonLinks:visited {color:#000000; text-decoration:none;}
HTML Code: Original - HTML Code <div id="Main-buttons"> <a href="#" class="buttonLinks"><div id="buttons">Testing</div></a><a href="#" class="buttonLinks"><div id="buttons">Testing</div></a></div> <div id="Main-buttons"> <a href="#" class="buttonLinks"><div id="buttons">Testing</div></a><a href="#" class="buttonLinks"><div id="buttons">Testing</div></a></div> Thanks in advance guys! Is there a command in CSS that can determine the height of a line break instead of the default which is way too big? I want to create a line break in my text, but the <BR> command's is too big. Is there a way in CSS to dictate how large of a break I want? However, I only want to apply it to certain parts of a the page, but not the whole thing. How can I do this? I am not experienced in CSS or any web design for that matter. I am trying to make a very simple web site using CSS and I am being frustrated by some positioning problems. I would appreciate your help! Problem: When I restore the browser window to a smaller size, "things" in my web page start to overlap eachother. The smaller the window, the greater the overlap. What I have done: I have validated everything, guess and checked multiple positioning elements, fiddled with margins, and have browsed through multiple CSS sites looking for help. What I would like fixed: When the browser is in a smaller window, there will be a scrollbar that appears preserving the size of the web page instead of scrunching it all together. Graphical Representation: Full-Screen Smaller Window - Overlapping I Like This - Note the Scrollbar on the bottom Code: <!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=utf-8"> <title>Chapel</title> <style type="text/css"> @import "layout.css"; </style> </head> <body> <div id="chapell"> <img src="graphics\chapel1.jpg" alt="chapel"> </div> <div id="news"> <a href="news.html"> <img src="graphics\news.jpg" alt="news"> </a> </div> <div id="us"> <a href="index.html"> <img src="graphics\us.jpg" alt="us"> </a> </div> <div id="directions"> <a href="directions.html"> <img src="graphics\directions.jpg" alt="directions"> </a> </div> <div id="contact"> <a href="contact.html"> <img src="graphics\contact.jpg" alt="contact"> </a> </div> <div id="schedule"> <a href="schedule.html"> <img src="graphics\schedule.jpg" alt="schedule"> </a> </div> <div id="myspace"> <a href="http://www.myspace.com" target="_blank"> <img src="graphics\myspace.jpg" alt="myspace"> </a> </div> <div id="art"> <a href="art.html"> <img src="graphics\art.jpg" alt="artistry"> </a> </div> <div id="messages"> <a href="messages.html"> <img src="graphics\messages.jpg" alt="messages"> </a> </div> <div id="scoop"> <img src="graphics\scoop.jpg" alt="scoop"> </div> <div class="roundcont"> <div class="roundtop"> <img src="tl.gif" alt="" width="15" height="15" class="corner" style="display: none" /> </div> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p><br><br> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p> <div class="roundbottom"> <img src="bl.gif" alt="" width="15" height="15" class="corner" style="display: none" /> </div> </div> </body> </html> Code: body { color: white; background-color: #FDF8DF } #chapell img { position: absolute; left: 21.5%; top: 34%; border: none; margin-bottom: 10%; margin-right: 10%; } #news img { position: absolute; left: 20%; top: 38%; border: none; margin-bottom: 10%; margin-right: 10%; } #us img { position: absolute; left: 20%; top: 42%; border: none; margin-bottom: 10%; margin-right: 10%; } #directions img { position: absolute; left: 20%; top: 46%; border: none; margin-bottom: 10%; margin-right: 10%; } #contact img { position: absolute; left: 20%; top: 50%; border: none; margin-bottom: 10%; margin-right: 10%; } #schedule img { position: absolute; left: 20%; top: 54%; border: none; margin-bottom: 10%; margin-right: 10%; } #myspace img { position: absolute; left: 20%; top: 58%; border: none; margin-bottom: 10%; margin-right: 10%; } #art img { position: absolute; left: 20%; top: 62%; border: none; margin-bottom: 10%; margin-right: 10%; } #messages img { position: absolute; left: 20%; top: 66%; border: none; margin-bottom: 10%; margin-right: 10%; } #whoarewe img { position: absolute; left: 37%; top: 25%; } #scoop img { position: absolute; left: 36%; top: 25%; margin-bottom: 10%; margin-right: 10%; } #findus img { position: absolute; left: 40%; top: 25%; } #banter img { position: absolute; left: 32.5%; top: 25%; } #docket img { position: absolute; left: 39%; top: 25%; } #expressions img { position: absolute; left: 37%; top: 25%; } #listen img { position: absolute; left: 39%; top: 25%; } .roundcont { top: 35%; right: 35%; width: 35%; background: white; color: black; position: absolute; margin-left: 10%; margin-top: 0%; } .roundcont p { margin: 0 3%; font: 12px arial, tahoma, serif; } .roundtop { background: url(tr.gif) no-repeat top right; } .roundbottom { background: url(br.gif) no-repeat top right; } img.corner { width: 3%; height: 15px; border: none; display: block !important; } Thank you, Daniel |