close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

background image using resizer.....

Thread began 6/03/2013 9:40 am by Jamie | Last modified 2/17/2015 11:08 am by Jason Byrnes | 822 views | 4 replies |

Jamie

background image using resizer.....

Hey Jason

Just wondering how I could set the height/width of the image background in this div tag so that I could use image resizer on it?

<div style="float: left; background-color: #FFFFFF;border-style: none;width: 320px;height: 200px; margin: 20px 20px 0 0;padding: 10px; -webkit-box-shadow: 10px 10px 5px -5px rgba(0,0,0,0.75);-moz-box-shadow: 10px 10px 5px -5px rgba(0,0,0,0.75);box-shadow: 10px 10px 5px -5px rgba(0,0,0,0.75); background-image:url(images/homepage/<?php echo $row_HomepagePanels['PanelImage']; ?>; background-repeat:no-repeat; background-position: right center;">



If you need to see it in context, its the small images to the right of each of the panels in the main content area: http://clients.motley.co.uk/young/index.php

Thanks

Jamie

Sign in to reply to this post

Jason ByrnesWebAssist

image resizer cannot be used on images that are part of the CSS.

Image resizer can only be used on image tags
<img src="path/to/image.jpg" width="160" height="160" />

Sign in to reply to this post

Jamie

Ok thanks Jason

Sign in to reply to this post

localidiot

Is this still the case?

Sign in to reply to this post

Jason ByrnesWebAssist

Yes, image resizer needs to use the width and height attributes of the image tag for determining the resize dimensions.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...