HTML - Layout Gets Messy
Hi everyone,
I've been learning to slice and code site's and stuff, but im running into a problem. A friend asked me to design a simple site, as you can see here ; Now , I need some text in the middle. The first line looks good, but whenever I add a second line with the <br> code , the layout gets like this ; Can someone help me out please ? Thanks ! Similar TutorialsHi -I have written a page in html, using a background image, java menu and some text. Is there a way that I can ensure the layout and margins stays the same on a different size screen? On a smaller screen, the java menu and the text look untidy, the overlap the border of the background image. Any tips please? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http:www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title> Toni Young Photography Home Page</title> <style type="text/css"> <!-- .menu {font-family:Arial; filter:alpha(opacity=60); } .menu a{ text-decoration:none; color:transparent; } --> </style> <script language="javascript"> <!-- function movein(which,html){ which.style.background='#FFFFFF' if (document.getElementById) document.getElementById("boxdescription").innerHTML=html else boxdescription.innerHTML=html } function moveout(which){ which.style.background='#999999' if (document.getElementById) document.getElementById("boxdescription").innerHTML=' ' else boxdescription.innerHTML=' ' } //--> </script> </head> <body background="webback5.jpg" width="100%" leftmargin="120"> <br> <br> <br> <br> <table bgcolor="transparent" border="0" cellpadding="4" cellspacing="4"> <tr> <td class="menu" bordercolor="black" id="choice1" style="background-color:#999999; cursor:hand" onmouseover="movein(this,'View details of portrait sessions')" onmouseout="moveout(this)""> <a href="webportraits.html">PORTRAIT PHOTOGRAPHY</a></td></tr> <td class="menu" bordercolor="black" id="choice2" style="background-color:#999999; cursor:hand" onmouseover="movein(this,'View details of music & event photography services')" onmouseout="moveout(this)"> <a href="webmusic.html">LIVE EVENT PHOTOGRAPHY</a></td></tr> <td class="menu" bordercolor="black" id="choice3" style="background-color:#999999; cursor:hand" onmouseover="movein(this,'View details of stock, nature & landscape photography')" onmouseout="moveout(this)"> <a href="webstock.html">STOCK PHOTOGRAPHY</a></td></tr> <td class="menu" bordercolor="black" id="choice4" style="background-color:#999999; cursor:hand" onmouseover="movein(this,'Find your photos and view examples of my work')" onmouseout="moveout(this)"> <a href="webgalleries.html">GALLERIES</a></td></tr> <td class="menu" bordercolor="black" id="choice5" style="background-color:#999999; cursor:hand" onmouseover="movein(this,'View contact details')" onmouseout="moveout(this)"> <a href="webcontact.html">CONTACT ME</a></td></tr> <tr> <td bordercolor="black" bgcolor="#999999" height="18"><font id="boxdescription" face="Arial" size="3" color="white"></font></td></tr> </table> </div> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <p align="center"><font face="arial" size="3"><b>Text Here<b></font></p> </body> </html> Hi there, Long time aint it. Hope you all are doing well and that the sun is shining outside (: Got an issue about an automated URL that I want to get rid of. My goal: www.domain.nl/ OR www.domain.nl/homepage.html But NOT the following: http://img444.imageshack.us/img444/9274/annoying.png Any idea how to solve this? Thanks. Hello, thanks for stopping by to help me out. I'm making myself a website at the moment, and I'm using divs to create the layout. I've got it looking the way I want in IE but there's a glitch with Firefox. I'm using php include to insert the header (which is a container div with two divs inside - stacked horizontally) on the top of all pages. With IE this works fine, but in Firefox the div in the main page containing all the body and text overlaps onto the header. I've taken two screenshots if you want to take a look to see what I mean: FF: http://img253.imageshack.us/img253/9...eenshotpq3.jpg IE: http://img441.imageshack.us/img441/6...eenshotgp9.jpg The page is http://www.exclusive-2-u.com/GeorgiaMarie/about.php if you want to check out the code. Thanks again! Georgia How would I go about laying this site out similar to this site? I don't want the bubble text in the blue banner, I want to leave that as it is on my site. Thanks for any help! http://i179.photobucket.com/albums/w293/Necro6666/th_****Layout.jpg Thats a link to a picture of my crappy layout going to ask a friend to make a background for me i just need a better layout if someone can help me i'll be gratful Heres the codeing HTML Code: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <head> <title>Funt's Anime</title> <style type="text/css"> body { background-color: rgb(58, 95, 135); margin-left: 10%; margin-right: 10%; border: 5px rgb(90, 150, 150); padding: 30px 40px 10px 20px; font-family: sans-serif; } </style> <style type="text/css"> div.c1 {position:absolute;left:500px;top:-10px} div.c2 {position:absolute;left:150px;top:58px; margin-left: -5.11%; margin-right: 55%; border: 2px solid rgb(150, 150, 150); padding: 0px 5px 0px 5px} div.c3 {position:absolute;left:0px;top:58px; background-color: rgb(205, 205, 205)} div.c4 {position:absolute;left:0px;top:0px; background-color: white} div.c5 {position:absolute;left:403px;top:58px; margin-left: -5.11%; margin-right: 40%; border: 2px solid red; padding: 0px 5px 0px 5px} div.c6 {position:absolute;left:703px;top:58px; margin-left: -5.11%; margin-right: 10%; border: 2px solid green; padding: 0px 0px 0px 0px} </style> </head> <body> <div class="c1"> <h1>Funt's Anime</h1> </div> <div class="c4"> <table width="1280"> <tr><td></td></tr> </table> <div class="c2"> <p align="center">Complete List</p> <hr size="4" align="left" width="100%" color="gray"> <p>May, 09, 2009</p><p>The following Anime are complete:<ul> </ul></p> </div> <div class="c5"> <p align="center">New Episodes</p> <hr size="4" align="left" width="100%" color="red"> <p>The following have been added to Anime:<ul> <li></li> <li></li> <li></li> <li></li> <li></li> <li></li> <li></li> <li></li> <li></li> <li></li></ul> </ul> </div> <div class="c3"> <table border="2"> <tr><td>Links</td></tr> <tr><td><a href="Anime/AnimeList.html">Anime</a></td></tr> </table> </div> </body> </html> Ok, I've made some changes to my navigation bar on my website with Fireworks so its more interactive. I've now implemented into my html but it has throw a certain part out on the page. Its the small picture thumbs at the bottom of the page, they are supposed to be in one row accross the page, now they go underneath each other. I've been looking for ages now to see the problem but I can not work it out. Here are 2 links to the pages, the first one is the one that works previously and the second is the changed one. If you can see the problem I would be so grateful, thanks. http://www.ashley-stone.co.uk/psychedelic.htm http://www.ashley-stone.co.uk/psychedelic2.htm I have this gif layout http://i21.tinypic.com/140dn5l.jpg But how Do i turn it into a website or like write stuff on it with html? Please help I can do a bit of html Hope someone can help as I'm tearing my hair out at the moment!! I'm working on a site for a friend, I have only ever used basic html to code my own sites, due to this I'm having problems with the layout my friend wants. I've created it with frames, not live yet but you can view it he http://www.ladin.co.uk/Jim/index2.html The layout with color either side and content in middle is how he wants it but obviously without frames, I'm not very knowledgeable where CSS is concerned so haven't a clue how to code it, thanks in advance. Linda Ok so I'm making a layout for HabbTunez and I've put my navigation into a table and when you click the picture the navigstion comes down, but everything in the table I've made is centered vertically, click Here to see what I mean. If you want more info just ask. Ok so I'm making a layout for HabbTunez and I've put my navigation into a table and when you click the picture the navigstion comes down, but everything in the table I've made is centered vertically, click Here to see what I mean. If you want more info just ask. Hey guys, I created a webpage with a some pictures and roll over images. The page turned out perfectly well, except when i minimize the browser size. All the images from the right push over to the left depending on the size of the browser. Why does this happen ? Thnx in advance !! I'd like to have an image "inside" a block of text such that the text surrounds it. Here's a mock-up: Is that possible? I've tried various things but no luck yet. this is the way it looks right now: http://christoffer.wicb.ots.dk/byrummet/ but i want it to look like this: also with the rounded cornors but i have tryed lot of things but cant get it to work can u help me?? Is it possible for me to upload a picture of my template I sketched and you guys tell me what I need to do in order to accomplish this? Are there in depth tutorials on making a Div layout? Tables are making way more sense. How do you make a div float to the right of something without having it move to the bottom when a page is shrinked? How do you make a div take up space within a div that not taken out? Like in a div. 80%, inside that div is a 100px div, then have another div inside the 80% div that uses the rest of the space? and how do you fix this? http://vertion.fused.ws/div.html Having a problem with my layout Here is the link... I can't get the text to stop overflowing out of the div. It only seems to be doing it horizontally. Vertically it is doing fine but i'm trying to get the background image to stretch and it wont do it! Greetings Folks! So I put this site together based on a website's site layout and well, let's just say is not as nice. I did, tho, do the best I could without using jquery scrollpane which the original site looks like they used. Here's the site I did http://www.universalpartnership.org I'd like to be able to make the page jumps smoother and have the particular sections come to the center rather than somewhere on the page. I'd really, really like to make the vertical scrolling on the whole page go away, it's seriously annoying. And is there a way to change the scroll bar to be smaller? Also, (hehehe) I had to add a table with nothing in it to get the width to be nice and big. I couldnt figure out how to increase the width POST starting the page and all. It'd be nice to dump that and do it the right way. I would have kept the table but I could get it to be flush against the top and the left. I guess the major issues I have is being able to add code post building the page in design view. I just dunno where things go and I've been reading article after article and it's been a lost cause so far. So, if you are kind and so inclined to offer some support by way of help, indicating where code goes would be awesome and a great learning curve for me! I've added the page as an attachment in case any whizzes can hook it up! thanks much in advance! peace rooster Hi I'm a newb and I need some help! So far, I've made this: I want it to be such that if I click one of the menu buttons (I got the menu from a site cssmenumaker) it can open up a new page for that button. How do I incorporate this into havint it come up for the blank space in the bottom right side? That is the side that will be refreshed and have content shown. Thanks! |