Need Help with Webpage Layout

liunx

Guest
Hello everyone! Im having a problem setting up my webpage the way I want it.<br />
My Web Page (<!-- m --><a class="postlink" href="http://www.angelfire.com/ky3/snorkel/index.html">http://www.angelfire.com/ky3/snorkel/index.html</a><!-- m -->) <br />
The way I have it layed out is how I want it but its not written right. What I want is to have the banner right where its at. And the left(palm trees) as my navigation area.The white area will be my Main page or where my navigation page will link me. Please keep in mind that I'm a beginner. Friends have told me to use frames but I want to have a seamless effect with the images(no borders). Can anyone help me. Thank you very much if you reply.:)<!--content-->how would it not look seemles with frames?<!--content-->Someone told me that there would be scroll bars.But they also told me that it would take longer to load. Not sure if they are right.I just need help with the script writing.<!--content-->Thanks everyone:mad: I figured it out.<!--content-->there is no reason for you to be using frames. Frames are not a model for accessabiity and they will cramp your ability to design. If you want a scroll bar use a div <br />
<div style="overflow:auto; height:500px; width:500px;">this will create a box and the content will scroll when the content is bigger then the box</div><!--content-->If I am using an image map is it possible to position the banner and a text area using css or html? Im a beginner and Im not sure how to use css. I know a little of html.<!--content-->I dono bout a map, I never use them, but probably... But <!-- w --><a class="postlink" href="http://www.w3schools.com">www.w3schools.com</a><!-- w --> is a great place to learn html and css. <!-- w --><a class="postlink" href="http://www.bluerobot.com">www.bluerobot.com</a><!-- w --> has some good rudimentary css based layouts.<!--content-->The page looks ok on 1024x768 but when I change the settings to 800x600 it looks crowded. Is there a way to adjust the webpage so it adjusts to the different settings of a visitor?(so it wont look crowded at lower screen settings)<!--content-->Originally posted by Jeramie <br />
The page looks ok on 1024x768 but when I change the settings to 800x600 it looks crowded. Is there a way to adjust the webpage so it adjusts to the different settings of a visitor?(so it wont look crowded at lower screen settings) <br />
<br />
First off, get rid of the frames. They're not doing you any favors and will just be a bigger headache as the site grows.<br />
<br />
You can reproduce this home page layout more effectively using one table (ducks the rocks from the CSS crowd).<br />
<br />
Use this:<br />
<HTML><br />
<BODY STYLE="padding:0px; margin: 0px 0px 0px 0px;" ><br />
<TABLE><br />
<TR><br />
<TD WIDTH="174" HEIGHT="600" ROWSPAN="2" VALIGN="top"><br />
<IMG SRC=http://www.webdeveloper.com/forum/archive/index.php/"left1.jpg"><br />
</TD><br />
<TD WIDTH="747" HEIGHT="145" VALIGN="top"><br />
<IMG SRC=http://www.webdeveloper.com/forum/archive/index.php/"Banner.jpg"><br />
</TD><br />
</TR><br />
<TR><br />
<TD WIDTH="757" HEIGHT="455" VALIGN="top"><br />
Content here.<br />
</TD><br />
</TR><br />
</TABLE><br />
</BODY><br />
</HTML><br />
<br />
That's all the code you'd need to do what you're attempting. Additionally, I strongly suggest modifying the size of your Banner.jpg image. It's far too wide for viewing by typical monitor settings. You'd do better to stay within 550-600 pixels wide with that image.<!--content-->*Picks up a stone*<br />
<br />
fixed some messups in the next post, I forgot to take it out the caps etc :)<!--content-->or the all css version *avoids PeO's stone*<br />
<br />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><br />
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><br />
<head><br />
<title>Untitled</title><br />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><br />
<style type="text/css"><br />
/*<![CDATA[*/<br />
html,body{margin:0 auto;padding:0; width:921px}<br />
#left{float:left;width:174px;}<br />
#header{margin-left:174px;height:145px;}<br />
#content{margin-left:174px;}<br />
/*]]>*/<br />
</style><br />
</head><br />
<body><br />
<div id="left"><img src=http://www.webdeveloper.com/forum/archive/index.php/"left1.jpg" alt="" /></div><br />
<div id="header"><img src=http://www.webdeveloper.com/forum/archive/index.php/"Banner.jpg" alt="welcome to my site" /></div><br />
<div id="content">Content here</div><br />
</body><br />
</html><!--content--><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"<br />
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"><br />
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"><br />
<head><br />
<title>Table CSS Hybrid</title><br />
</head><br />
<body style="padding:0px; margin: 0px 0px 0px 0px;" ><br />
<table><br />
<tr><br />
<td style="WIDTH:174px; HEIGHT:600px; vertical-align:text-top; border:1px solid #000000;" rowspan="2"><br />
<img src=http://www.webdeveloper.com/forum/archive/index.php/"left1.jpg" alt="left image would be here"/><br />
</td><br />
<td style="WIDTH:747px; HEIGHT:145px; vertical-align:text-top; border:1px solid #000000;" ><br />
<img src=http://www.webdeveloper.com/forum/archive/index.php/"Banner.jpg" alt="welcome to my site"/><br />
</td><br />
</tr><br />
<tr><br />
<td style="WIDTH:757px; HEIGHT:455px; vertical-align:text-top; border:1px solid #000000;" ><br />
Content here.<br />
</td><br />
</tr><br />
</table><br />
</body><br />
</html><br />
<br />
I fixed mine, I noticed it was really messed up lol. I tured on the borders so that it would be visible<br />
<!-- m --><a class="postlink" href="http://quasi-ke.servebeer.com/hybrid.html">http://quasi-ke.servebeer.com/hybrid.html</a><!-- m --><br />
It is valid xhtml 1.1. Infact, I am going to take this one step further brb...<br />
Ok<br />
<br />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"<br />
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"><br />
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"><br />
<head><br />
<title>Table CSS Hybrid</title><br />
<style type="text/css"><br />
body {<br />
padding:0px;<br />
margin: 0px;<br />
}<br />
#center {<br />
margin:0px auto;<br />
border:1px solid #000000;<br />
}<br />
#left {<br />
width:174px;<br />
height:600px;<br />
vertical-align:text-top; <br />
border:1px solid #000000;<br />
}<br />
#top {<br />
width:747px;<br />
height:145px;<br />
vertical-align:text-top;<br />
border:1px solid #000000;<br />
}<br />
#content {<br />
width:757px; <br />
height:455px;<br />
vertical-align:text-top;<br />
border:1px solid #000000;<br />
}<br />
</style><br />
</head><br />
<body><br />
<table id="center"><br />
<tr><br />
<td id="left" rowspan="2"><br />
<img src=http://www.webdeveloper.com/forum/archive/index.php/"left1.jpg" alt="left image would be here"/><br />
</td><br />
<td id="top"><br />
<img src=http://www.webdeveloper.com/forum/archive/index.php/"Banner.jpg" alt="welcome to my site"/><br />
</td><br />
</tr><br />
<tr><br />
<td id="content"><br />
Content here.<br />
</td><br />
</tr><br />
</table><br />
</body><br />
</html><br />
<br />
put the css in the head, just for the sake of putting it in the same file, you can greatly reduce the size by putting it in an external file and importing it. Also It is not centered. Sam, you are going to need to edit that last post :P. Even with a hybrid layout you can still utilize the ability to keep styles in an external file and greatly reduce bandwidth.<br />
I gotta go so you can see the file in action at <!-- m --><a class="postlink" href="http://knights.europe.webmatrixhosting.net/hybrid.html">http://knights.europe.webmatrixhosting.net/hybrid.html</a><!-- m --> since my comp will be off.<!--content-->just thought I'd experiement:<br />
Table/css hybrid:<br />
776 Characters w/o spaces<br />
859 Characters with spaces (though this was do to the nice tabbage)<br />
CSS only:<br />
631 Characters w/o spaces<br />
661 Characters with spaces<br />
<br />
EDIT:<br />
corrected characters (I also edited my above post to include centering), Ergo the 5 characacter increase in my version<!--content-->bump --^<!--content-->I would like to thank everyone for your help. I havent been online for a couple of days so it took me awhile to thank you guys. I'll have to try some of these scripts out. I'll let you know how it goes.:)<!--content-->OK I tried some of these out but I'm stumped on how to use my image map with these scripts. Or is there an easier way to designate the areas in the left column(Home,The Tour,etc.) using css? Or will I have to use an Iframe for this and insert my image map? Also how to I name the content area to use it as the target area in a table? (Geez, I have a lot of questions. lol)<!--content-->Thanks to everyone<!--content-->dont use an image map at all, its a crappy way to design sites. I don't use am myself but it will limit your ability to make the side fluid and will limit your content. Never use iframes either.<!--content-->
 
Back
Top