CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 21st, 2004, 07:17 AM
pixeline's Avatar
pixeline pixeline is offline
King of RGB
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: brussels
Posts: 365 pixeline User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 23 h 35 m 18 sec
Reputation Power: 5
how to make this without tables so that it fills the screen

hello everyone,

i've been pulling my hairs on this one.

i have a layout designed and i want to produce the html and CSS.
what i wish is that the layout fills the screen by stretching towards the right and bottom, according to what's inside the "content" area.
my problem is having the left side stretch vertically as needed to display the content , so that it joins the footer.
the structure of the page blocks would be: (see attached img)


any idea how to do this ? please help, it's urgent !!

thanks a great lot,


alx
Attached Images
File Type: gif layout-scheme.gif (6.1 KB, 87 views)
__________________
http://www.pixeline.be
........................................

Reply With Quote
  #2  
Old July 21st, 2004, 11:09 AM
Dusk's Avatar
Dusk Dusk is offline
Twilight Thinking
Dev Shed Novice (500 - 999 posts)
 
Join Date: Feb 2003
Location: Oxford UK
Posts: 656 Dusk User rank is Sergeant Major (2000 - 5000 Reputation Level)Dusk User rank is Sergeant Major (2000 - 5000 Reputation Level)Dusk User rank is Sergeant Major (2000 - 5000 Reputation Level)Dusk User rank is Sergeant Major (2000 - 5000 Reputation Level)Dusk User rank is Sergeant Major (2000 - 5000 Reputation Level)Dusk User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 6 Days 21 m 15 sec
Reputation Power: 32
There are loads of articals etc to help you find what you're looking for. For a start, try:

http://www.positioniseverything.net/
http://www.alistapart.com

and of course, google and these boards.

but have a look at the template I've just finished (attached)

Incedently, if anyone has any feed back on this layout (bugs, whatever)
please let me know, ta
Attached Files
File Type: txt great_layout.txt (3.7 KB, 151 views)
__________________
Cheers,
Dusk

My portfolio

Reply With Quote
  #3  
Old July 21st, 2004, 12:03 PM
kk5st's Avatar
kk5st kk5st is offline
Thanks Johnny Hart (BC) R.I.P.
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: May 2003
Location: Dallas
Posts: 4,674 kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 3 Days 15 h 15 m 50 sec
Reputation Power: 687
Having all columns reach the bottom is usually an illusion. In your example, give the body a background color the same as the lower left column. That or something similar will work most times.

I'll second Dusk's reading suggestions.

cheers,

gary
__________________
There are those who manage to build a web site without knowing what they're doing; thereby proving to themselves they do, indeed, know what they're doing.

My html and css workshop, demos and tutorials.
Ask a better question, get a better answer.

Reply With Quote
  #4  
Old July 21st, 2004, 12:47 PM
pixeline's Avatar
pixeline pixeline is offline
King of RGB
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: brussels
Posts: 365 pixeline User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 23 h 35 m 18 sec
Reputation Power: 5
hello mates,

thanks for your feedback.


i managed, like this:

Code:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<style type="text/css">
body {
margin:5;
padding:5;
font-family:Verdana, Arial, Helvetica, sans-serif;
color:#333333;
font-size:10pt;
}
.copyright {
	font-family:Verdana, Arial, Helvetica, sans-serif;
	color:#FFFFFF;
	font-size:10px;
}
</style>

</head>

<body>
<!-- top banner -->
<div id="topbanner" style="width:100%; height: 36px; z-index:1;;border-top: 1px solid #78172E;border-left:1px solid #78172E;border-right:8px solid #78172E;border-bottom:1px solid #364852">
	<div id="topleft" style="width:244px; height:35px; z-index:1; background-image: url(images/top-left.gif); layer-background-image: url(images/top-left.gif); border: 1px none #000000;"></div>
</div>

<!-- middle  -->
<div id="main" style="width:100%;height:auto;margin:0; padding:0;border-left:1px solid #78172E;background:url(images/leftside-repeatpatternY.gif) top left repeat-y;border-left:1px solid #78172E;border-right:8px solid #78172E">
	<div id="left" style="float:left;width:296px;height:100%;background:url(images/leftside-background.gif) top left no-repeat;">
		<div id="menu" style="height:314px;">
		<ul id="vertnav">
         <li> <a href="#" >first Level menu</a>
              <ul>
                  <li><a href="#" >second Level menu</a></li>
                  <li><a href="#" >second Level menu</a>
                     <ul>
                         <li><a href="#" >third Level menu</a></li>
                     </ul>
                  </li>
              </ul>
         </li>
     </ul>
		
		</div>
		<div id="bottomleft"></div>
	</div>
	<div id="middle" style="height:100%;margin-left:296px;border:1px solid #FFFFFF;">
		<div id="middlecontent" style="margin:1em;padding:1em;overflow:inherit">
								<p>
								Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Integer
								bibendum aliquet nibh. Maecenas imperdiet, risus a rutrum posuere, nunc
								diam ultricies nunc, eget suscipit odio dolor pretium lacus. Nulla
								fringilla luctus dui. Sed lectus. Nullam sagittis condimentum augue.
								Vestibulum commodo ornare nunc. Donec faucibus bibendum nibh. Nunc
								fringilla turpis in urna hendrerit faucibus. Quisque vitae massa in
								felis imperdiet tristique. Sed semper euismod mi. Aliquam viverra, sem
								quis malesuada pharetra, lectus justo imperdiet orci, ut auctor nunc
								orci vitae ante. Cras sit amet diam.
								</p>
								<p>Mauris malesuada. Pellentesque sodales dapibus nisl. Praesent ante
								mi, fermentum et, viverra a, pellentesque sit amet, mauris. Suspendisse
								tincidunt erat eget ipsum. Etiam id metus et mi accumsan rhoncus. In
								hac habitasse platea dictumst. Vivamus arcu. Proin urna leo, placerat
								ut, facilisis vitae, condimentum a, magna. Vestibulum mattis eros vel
								pede. Vestibulum sagittis massa eget justo. Nam urna. Donec condimentum
								pulvinar ante. Nulla facilisi. Nunc a lorem. Morbi magna quam, interdum
								volutpat, cursus fermentum, pulvinar a, nunc. Class aptent taciti
								sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos.
								Vivamus rhoncus elementum libero. Phasellus viverra, nisl non vehicula
								iaculis, diam sapien lobortis odio, accumsan porttitor sem odio sed
								nisl.
								</p>
								<p>Ut eget est. Nam ac quam vel leo elementum vehicula. Duis enim.
								Suspendisse eu purus eget odio tempus ultrices. Sed vulputate iaculis
								dolor. Morbi et lacus. Nulla facilisi. Vestibulum imperdiet. Integer
								suscipit erat vel dui. Donec pharetra nunc vel ante. Mauris semper, sem
								eget sagittis ultricies, purus leo consectetuer ante, sed varius lectus
								massa ac est. Integer eget tellus ultrices urna volutpat tincidunt.
								</p>
		</div>
	</div>

	
	<div id="footer" style="clear:both;width:100%;border-bottom:4px solid #78172E; ">
						<table width="100%"  border="0" cellspacing="0" cellpadding="0">
                			<tr>
                				<td style="width:376px;background-image:url(images/leftside-repeatpatternY.gif);background-repeat:repeat-y;border-bottom:4px solid #78172E;text-align:right;height:100%"><img src="images/footer-mid.gif" width="249" height="117"></td>
                				<td style="background-image:url(images/footer-repeatpatternx.gif);background-repeat:repeat-x;background-position:bottom;" align="right" valign="bottom"><span class="copyright">SCAN ID 2004</span></td>
                			</tr>
                		</table>
	</div>
</div>
</body>
</html>

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > how to make this without tables so that it fills the screen


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT