CSS Layout

This is a discussion on "CSS Layout" within the Web Page Design section. This forum, and the thread "CSS Layout are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Aug 6th, 2006, 07:32
New Member
Join Date: Aug 2006
Location: Georgia, USA
Age: 30
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Question CSS Layout

Hey guys. I'm new to CSS. Could someone point me in the right direction here? I'm about to begin working on a new site and I want to use CSS and XHTML. I have been reading tutorials and samples of CSS code for the past few days. I have enough material to be able to control the design of my text, but I'm needing some help with layout. I'd like to have an image across the top of my page and leading about 1/3 the way down the left of the page. That will appear to be one continuous image. Also, I want to have another image at the bottom right of the page which will span about 1/2 the page width. I want both images to remain in their original position regardless of page scrolling. If the user scrolls the page, I want the content to scroll behind these images. Is this possible? If so, can someone tell me where I could find help with this?
Thanks for your time and help.
Andy
Reply With Quote

  #2 (permalink)  
Old Aug 6th, 2006, 15:23
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,310
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to ukgeoff
Re: CSS Layout

You need to contruct a basic page template for yourself. Something like this:
Code: Select all
<div id='wrapper'>
    <div id='header'>
   
   </div>
   <div id='container'>
       <div id='navigation'>
      
      </div>
      <div id='content'>
      
      </div>
      <div id='right-hand-panel'>
      
      </div>
   </div>
   <div id='footer'>
   
   </div>
</div>
Ideally, you should place the header, navigation, right-hand-panel and footer in seperate files of their own and 'include' them into the pages. That way your main pages remain smaller in size and the browser doesn't have to download this info for every page called.

With regard to the use of your background images. These only show within the confines of the div in which they are defined, therefore if you want an image to spread across the top and down one side, you will need to slice this up and load one part into the header and the other into, e.g., the navigation div.

Your footer image can be positioned to the right-hand side of the footer div.

With the right css, your central section that includes the content, navigation and right-hand-panel divs will expand as required according to which ever of these three divs is the longest.
Reply With Quote
Reply

Tags
css, layout

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
CSS layout casho Web Page Design 4 Feb 10th, 2008 13:59
Layout using CSS Madball Web Page Design 5 Nov 7th, 2007 09:41
New to CSS Layout tapster Web Page Design 15 Oct 15th, 2007 10:18
Fluid layout - IE6 clichés the layout when resizing cyberseed Web Page Design 7 Jun 16th, 2007 05:14
What makes a layout a good layout? Miles Lombardi Graphics and 3D 4 Jul 26th, 2005 03:22


All times are GMT. The time now is 07:28.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43