LiveZilla Live Help
 


Go Back   Chime Host - Web Hosting Forum > World Wide Web > Programming / Scripting / Coding Forum > HTML/CSS/DHTML
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

HTML/CSS/DHTML Place to talk about website design and get help with HTML, CSS, DHTML, etc.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-18-2009, 02:38 AM
Junior Member
 
Join Date: Oct 2009
J M 482 is on a distinguished road
Default HTML CSS basic layout question?

I am learning CSS and divs, and I've followed several "basic layout with divs" tutorials and none of them covered what I'm trying to do exactly.

See this image:
http://img34.imageshack.us/img34/35/horizs.png

The red area should be an image 60px tall and 100px wide or just a div that is 60px tall 100px wide - the point is the size is fixed and does not change. It should be 20px away from the left and top of the page, and also 20px away from the green area.

Green area is indented down more - 30px from top. Green area is just a blank background color div which stretches if the browser window changes size. This is the most important part and it's what I can't figure out.

Green area is also 20px away from the 40 by 40 image on the right.

ALL margins, and the size of both images should be static and not change at all, although if you stretch the right side of the browser, the blue image should 'stick' to the right, just as if you stretch the left side of the browser, the red image would stick to the left. The only part of the page I want to actually STRETCH is the green area.

Is this simple layout possible with divs - can someone please tell me the code used or technique?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +1. The time now is 11:59 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright ChimeHost, a Profuse Solutions LLC company