Old 03-16-2008   #1 (permalink)
Registered User
 
dj Mag's Avatar
 
Join Date: Apr 2004
Location: UK
Posts: 92

Send a message via MSN to dj Mag Send a message via Yahoo to dj Mag
css help required

Hello,

I am trying to construct a page which has 2 sections,
one below the other, but with an image overlapping
the 2 sections.

I have tried a couple of different ways to do this,
but so far to no avail.

I have trouble with the transparency not working;I get
the content div failing to show its background colour.

Can anyone give me an outline of the direction to go?
__________________
DJ Mag
dj Mag is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-16-2008   #2 (permalink)
Be Unique. Be Heard.
 
Jacorre's Avatar
 
Join Date: Jul 2006
Location: USA
Posts: 476

Do you have an example you can show us?
__________________

Jacorre Studios Blog
Jacorre is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-17-2008   #3 (permalink)
Registered User
 
dj Mag's Avatar
 
Join Date: Apr 2004
Location: UK
Posts: 92

Send a message via MSN to dj Mag Send a message via Yahoo to dj Mag
yes here it is ........................ c the attachment
Attached Thumbnails
css-help-required-tt.jpg  
__________________
DJ Mag
dj Mag is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-17-2008   #4 (permalink)
Registered User
 
Join Date: Aug 2004
Posts: 106

how about a link to code, not an image?
Jolt is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-18-2008   #5 (permalink)
photoshop ninja
 
agentxi's Avatar
 
Join Date: Oct 2006
Location: Red Deer - ish, alberta
Posts: 512

well I think DJ's problem is that he doesn't know where to start.

but I must admit your attempted code, or at least the actual jpg of the design would help... my reasoning, is cuz I would like to know if i can add his "image" to the background of the wrapper, or will that wrapper have a background image already. ...stuff like that. so the finished design posted up would be nice to look at.
__________________

Your a Graphic Designer...If you could go back in time you wouldn't go back to see the rise and fall of civilizations, you'd go back in time to destroy comic sans and papyrus.
agentxi is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-19-2008   #6 (permalink)
Registered User
 
Join Date: Aug 2004
Posts: 106

What he want's done could be accomplished fairly easily with position properties. But seeing how it's specifically desired would help in creating proper code. For instance, what do the top and bottom divs contain? is there content in this overlapping image or is it just an image?
Jolt is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-19-2008   #7 (permalink)
Registered User
 
dj Mag's Avatar
 
Join Date: Apr 2004
Location: UK
Posts: 92

Send a message via MSN to dj Mag Send a message via Yahoo to dj Mag
well hope its a better view... In this attachment u c the right bar or menu whatever u call the one which is over the banner the text includes "welcome to our church".. i wanna make something like that i do in photoshop.. I've done lots of templates in photoshop but i want to make them with css.. i've seen so many site in css and they looks so good and proper positions, overlaping blah blah..

well hope u understand now what i want now i need ur further assistance..
Attached Thumbnails
css-help-required-tt.jpg  
__________________
DJ Mag
dj Mag is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-20-2008   #8 (permalink)
Registered User
 
Join Date: Aug 2004
Posts: 106

My take on that image is that it's not two divs with an overlapping div. It's simply a header image, a footer image and sidebar class and then a main content div. The header and footer images make it appear s though the content is split differently, but in reality it's not.

See the test layout I've attached here. It was done quick and dirty but it shows how. CSS and XHTML included in zip. Setting it up this way requires no positioning ensuring better cross browser compatibility.
Attached Thumbnails
css-help-required-layoutshot.jpg  
Attached Files
File Type: zip testLayout.zip (27.0 KB, 18 views)
Jolt is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-20-2008   #9 (permalink)
Be Unique. Be Heard.
 
Jacorre's Avatar
 
Join Date: Jul 2006
Location: USA
Posts: 476

The calendar area you have circled can be positioned there using absolute positioning. Absolutely positioning a div will make it "float" on top of the page allowing for anything else to take up the space it leaves behind. So the content area would need some right padding to push it over to the left so it wouldn't get lost under the calendar area.

The wrapper div would have position: relative defined and the calendar div would have position: absolute defined and you will need to define top and right to position it to your liking.

The other thing to point out is that the screenshot shows the calendar div floating over the footer area. If there was more content to the page, making the page grow vertically, then the calendar div would stay positioned where it was and it wouldn't still float over the footer because the page height grew.

If you need a tutorial on absolute positioning I have one available here.
__________________

Jacorre Studios Blog
Jacorre is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-22-2008   #10 (permalink)
Registered User
 
Join Date: Oct 2007
Posts: 10

I know there is a z-index thingy in css, which helps you to overlap an object over other
cancer10 is offline  
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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Graphicans Required! turvas The Marketplace 4 04-04-2007 08:00 PM
Thousands of Free Renders: No Registration Required YoCard Adobe Photoshop 1 03-23-2007 07:01 PM
DVD Authoring Software - advice required tamlin General Discussions 6 12-04-2006 03:25 PM


All times are GMT +1. The time now is 09:38 PM.
Content Relevant URLs by vBSEO 3.2.0

Design & Content © BioRUST 2007 :: PRIVACY STATEMENT :: LEGAL INFORMATION :: ADVERTISING MEDIA KIT