Jump to content

adding an image to a layer -- the best way to write the div


chr2014

Recommended Posts

When i hear mention of layers and position: absolute; in same sentence, I think Dreamweaver, IF so, don't! use margins, padding, float instead, you should never use position: absolute; for layout purposes you will only regret it in the end and have to redo it, I guarantee it.

Link to comment
Share on other sites

Yea ok!<div style="left:10px; top:500px; z-index:1;position: absolute;"><img src="http://website.com/image.gif" alt="image description" title=""></div>Unless we know exactly what this does in relation to other layers, elements on your site, we can't really help adjusting your styling, as far as we know it could be perfectly ok, it does what you have styled it to do.As already mentioned you should not use inline styling, you should then look at the links provided, and apply the styling access (inline styling in <head>...</head> or external stylesheet)to your requirements. It seems to us you have made no attempt even looking at these links and just want US to just do the work for you.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...