a little help - image placement

This is a discussion on "a little help - image placement" within the Web Page Design section. This forum, and the thread "a little help - image placement 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 Jul 29th, 2007, 20:19
Up'n'Coming Member
Join Date: Jul 2007
Location: az
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
a little help - image placement

This should be simple. But, I can't figure this out. See attached screen shot for the layout I'm trying to achieve.

I'm trying to build out this simple site table-less as much as possible.

I need to 'overlay' the header picture of the woman on top of what will be the header div, and below that will be the nav div. This is all inside a 'mainContainer' div.

I remember a while back when I was sometimes doing absolute position you just tell it where to sit and set the z-index. I'm not sure how this'll work though.
Attached Images
File Type: jpg Thelda_Williams.jpg (13.5 KB, 21 views)
Reply With Quote

  #2 (permalink)  
Old Jul 29th, 2007, 20:47
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: a little help - image placement

Crop ALL that top stuff all together and make it one full header pic. The lady the blue bars, the text. Place that in the header div.

Do not put in the navigation.

Where the bottom blue bar is, position a nested navigation div with absolute positioning. When it is perfectly positioned to the right of the photo and INSIDE the blue bar, just add you <ul> inside that nested div.

Next you'll follow with a content div (white area) and then the footer div.

If this is fuzzy let me know and I'll try to elaborate!
Reply With Quote
  #3 (permalink)  
Old Jul 29th, 2007, 20:52
Up'n'Coming Member
Join Date: Jul 2007
Location: az
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
Re: a little help - image placement

well, I think I figured it out. I put it in the header div in a seperate div, gave it position:relative, set top and left, and float:left. Set z-index:100. Is this the correct way to do it?

Lchad - thanks! One thing though - the image is saved as a jpg, the text and graphics as a gif, so it's better to seperate them if possible.

Last edited by stupid dog; Jul 29th, 2007 at 20:56.
Reply With Quote
  #4 (permalink)  
Old Jul 29th, 2007, 20:56
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: a little help - image placement

There is always more than one way to do something I think. If it works in all the browsers than great.
I typically try to avoid relative positioning and absolute positioning if possible. If it works it's probably fine!
Reply With Quote
  #5 (permalink)  
Old Jul 30th, 2007, 13:55
Up'n'Coming Member
Join Date: Jul 2007
Location: az
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
Re: a little help - image placement

damn, looks like you were right. I couldn't the image placement correct across all browers Firefox and Netscape worked as planned - IE didn't

I just really don't like that setup becuase it's a much larger image than necassary, and plus, the photographic image should really be a jpg, not a gif

When I put in the menu bar, I used the position:absolute, then set the top align, but, it wasn't happy with the left align. I ended up using padding to get it into place. Align right only worked in IE
Reply With Quote
  #6 (permalink)  
Old Jul 30th, 2007, 17:49
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: a little help - image placement

hahaha.. I do love it when I'm right! Are you all set then or do you have any issues with it still?
Reply With Quote
Reply

Tags
css, image

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
New Adsense placement craig Webforumz Suggestions and Feedback 26 Dec 19th, 2006 19:22
Problem with CSS/Java graphic placement MikeX Web Page Design 4 Aug 21st, 2006 19:26
Strange text placement (IE) Tino Web Page Design 3 Aug 7th, 2006 15:10
Dynamic Placement ClaireB JavaScript Forum 2 Sep 8th, 2005 10:45


All times are GMT. The time now is 03:01.


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