Hi,

I have created a block (class: M-logo) for mobile. I have the php code in the block to display the logo. After that, I applied this css. Only problem is that, I see the logo is being fixed. Instead I expected the block with image to be fixed.

http://godrupal.info

.M-logo { position: fixed;z-index: 1030; right: 0;left:0;width:100%; }

Can you please help?

Comments

VM’s picture

drupalfriend123’s picture

You have posted blank message.

VM’s picture

I removed my response.

if you want the block to remain fixed you should probably be targeting the block id. However, I'm not sure what you are expecting even with that. If you expect the region to remain fixed, at the width of the page, then the region is what should be fixed.

http://www.htmldog.com/
http://www.w3schools.com/html/

also of note: there are many support venues for CSS support.