Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Positioning Buttons on top of an image
Old 10-28-2007, 09:06 PM Positioning Buttons on top of an image
Skilled Talker

Posts: 72
Name: Ivan Cash
Trades: 0
In regard to this site, I am trying to make the 3 blue buttons appear directly to the right of the blue "LIVE MAGAZINE" part of the image.

My problem is that I can't the image buttons to move over the big image unless I use absolute positioning. This is fine until I expand the page... then the positioning is off, since the background is realtive.

Is there a way to use relative positioning but still put my image buttons on top of the image?

(my css is here)

Thanks for your help.

-Ivan
shwizle is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-29-2007, 02:21 AM Re: Positioning Buttons on top of an image
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,935
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
You could use absolute positioning still if you had to, but use it relative to an element's parent, rather than the body of the document.

If you want an example of what I'm talking about, check my blog. You'll see how the photographs (the pictures div) at the top left are absolutely positioned at 0, 0, yet they won't appear there. That's because the absolute positioning applies in relative terms to the parent div (header).

Use hte same logic on your own site and you should be all good in the hood.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 10-29-2007, 04:12 AM Re: Positioning Buttons on top of an image
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Set the image as a background to the container.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 10-29-2007, 01:16 PM Re: Positioning Buttons on top of an image
Skilled Talker

Posts: 72
Name: Ivan Cash
Trades: 0
Quote:
Originally Posted by chrishirst View Post
Set the image as a background to the container.
Can I set the image as a background to the container, even if I'm using it as an image map??
shwizle is offline
Reply With Quote
View Public Profile
 
Old 10-31-2007, 08:07 AM Re: Positioning Buttons on top of an image
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
no, but have a look at

http://www.cssplay.co.uk/menu/imap.html
&
http://www.alistapart.com/articles/imagemap/
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to Positioning Buttons on top of an image
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.83987 seconds with 12 queries