PDA

View Full Version : Having trouble with image positioning in Dreamweaver


dottiefl
07-13-2010, 09:47 PM
I've posted a site at www.pamelaspaintings.net (http://www.pamelaspaintings.net) and having trouble with two image placement issues. First, the larger image with the page title is being cropped for some reason, and second, I'd like the "About" and "Contact" buttons to line up under the white text so it lines up along the right margin. I'm a newbie and have a lot to learn, but just trying to get this site finished with a short timeframe. Any help is greatly appreciated!
Dottie

edbr
07-14-2010, 01:35 AM
Hi first welcome to he forum.
i cant see any cropping using windows7 and firefox. how are you seeing it?

re the about and contact, you could use a class to float them right

.right{ float:right;}the on your image <img src="whatever.jpg" class="right"..........>

DWcourse
07-14-2010, 01:41 AM
One thing at a time: A div will only be as tall as its contents and a background image doesn't count as content. So you'll either need to add content to the div with the larger image as a background or use CSS to set a height for it big enough to display the entire image.