CSS Positioning

Permalink Browser Info Environment
I have a block that is has absolute positioning within a relative positioning block.

Main div

#fdive .headerlogoarea {
position:relative;
top: 49px;
height: 400px;
}

Block located within this div

#fdive .header_image {
width:961px;
position: absolute;
top: 90px;
left: 0px;
}

When I set this as an image block it works great. However, when I change over to the slider block, the CSS causes havoc and the positioning of the div tag doesn't work (basically it seems to ignore the setting)

I am guessing it has to do with the CSS in this image slide block, but I didn't want to mess with it too much before getting some advice.

The attached file shows how it appears with the current CSS - if it was an image block it would appear more where the arrow points

Type: Discussion
Status: New
plschneide
View Replies:
plschneide replied on at Permalink Reply 1 Attachment
plschneide
Here is the snapshot
ryan replied on at Permalink Reply
ryan
It's hard to say without seeing the actual html that this relates to, but I'd suggest a couple things:

assign a fixed height to the containing element:
#fdive .header_image {}

As the image slider moves the images it may be positioning them absolutely, so that position would be related to the next container that's positioned relatively which would explain why it's not 90px lower.

In any case try those suggestions, if you're still having trouble post back the url of a page that this is happening on.
plschneide replied on at Permalink Reply
plschneide
Hi Ryan,

Thanks for replying. I tried that and it didn't seem to have an effect.

This is a page with the slide on it:
http://studio5d.com/fantaseadive/index.php/diving/...

This is a page with the slide not on it (just an image) where it is working properly

http://studio5d.com/fantaseadive/...

Thanks!
ryan replied on at Permalink Reply
ryan
Try adding

#fdive .header_image { padding-top: 90px; }

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.