logo-dw

Go Back   Dreamweaver Club Forums > Dreamweaver forums > Dreamweaver General
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 08-03-2010, 02:08 AM   #1
Pego999
 
Join Date: Jul 2010
Posts: 4
Default CS5 does not have a center command in alignment?

This is weird. I wanted to center a logo across the top of the header but there is no center command. There is right and left but no center command. Is this possible? How can I do this please?
Pego999 is offline   Reply With Quote
Old 08-03-2010, 02:19 AM   #2
DWcourse
DWcourse's Avatar
 
Join Date: Apr 2009
Posts: 3,276
Default

Image alignment (right or left) refers to positioning the image to the right or left and having the following content wrap around it. There is no align="center" for images (never has been).

To center an image you place it in another html object such as a paragraph or div and then center the content of that object using align-"center" or css text-align: center.
__________________
If my answer helped, check out DWcourse.com for Dreamweaver tips and tutorials.
DWcourse is offline   Reply With Quote
Old 08-03-2010, 06:35 PM   #3
Pego999
 
Join Date: Jul 2010
Posts: 4
Default

Thanks for the input. I can't see how to place a jpeg logo in a paragraph to center it. Is this possible? Can you explain how to do this please?
Pego999 is offline   Reply With Quote
Old 08-04-2010, 03:20 AM   #4
DWcourse
DWcourse's Avatar
 
Join Date: Apr 2009
Posts: 3,276
Default

Well placing it in a div is probably a cleaner solution but to place an image in a paragraph: place the image and hit a return. The image should be in a paragraph.

Code:
<p><img src="img.jpg" /></p>
__________________
If my answer helped, check out DWcourse.com for Dreamweaver tips and tutorials.
DWcourse is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:46 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com