Forums
This topic is locked
How do I centre my image on right frame?
30 Nov 2003 21:23:46 David too posted:
Hi there, Im using dmx 6.1I have a page with thumbnails on the leftFrame , when selected shows an image on the mainFrame on the right.
But I want my images to be alined centre of the mainFrame. So far it's alined hard in the "top left" corner on the mainFrame.
And also could I link the thumbnail on the leftFrame to target a Table within the mainFrame?
cheers in advance<img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>
Replies
Replied 01 Dec 2003 08:39:51
01 Dec 2003 08:39:51 Nozomi Kugita replied:
Using Dreamweaver, you can align image in center by selecting the image and click "align center" button in the property inspector. This will add < div align="center"> and < /div> tag, binding your image tag.
If you want to display an image in a table cell in mainFrame by clicking a text/image in the left frame, Dreamweaver's "Swap Image" behavior can help you. First, however, you need to place a place holder image in the table cell in the main frame. Basically, you swap the place holder with another.
You can refer to Dreamweaver Help for using the behavior, or let me know if you need more infromation.
HTH,
- Noz
If you want to display an image in a table cell in mainFrame by clicking a text/image in the left frame, Dreamweaver's "Swap Image" behavior can help you. First, however, you need to place a place holder image in the table cell in the main frame. Basically, you swap the place holder with another.
You can refer to Dreamweaver Help for using the behavior, or let me know if you need more infromation.
HTH,
- Noz
Replied 02 Dec 2003 14:02:54
02 Dec 2003 14:02:54 David too replied:
HI Noz
this is what I have for 1 of the image links in leftFrame:
<td><a href="/images/30-50/GRM50.jpg" target="rightFrame"><img src="/images/30-50/thumbs/GRM50.jpg" width="113" height="86" border="0"></a></td>
On the mainFrame I have aligned it to center, the end result is as mentioned above in showing the image in the top left corner on the mainFrame.
No matter what I do to the properties on the mainFrame it still shows up in the top left.
Any ideas?
this is what I have for 1 of the image links in leftFrame:
<td><a href="/images/30-50/GRM50.jpg" target="rightFrame"><img src="/images/30-50/thumbs/GRM50.jpg" width="113" height="86" border="0"></a></td>
On the mainFrame I have aligned it to center, the end result is as mentioned above in showing the image in the top left corner on the mainFrame.
No matter what I do to the properties on the mainFrame it still shows up in the top left.
Any ideas?
Replied 03 Dec 2003 05:22:43
03 Dec 2003 05:22:43 Nozomi Kugita replied:
Yes, that's because the image file is directly diplayed in mainFrame. No codes written in mainFrame html file can help the image positioned in center because when you click the menu in left frame, the image file replaces the mainframe html file.
If you really need to center the image, you wanna consider to link to an html file that contains the image to display though you may end up having as many html files as images.
Or you can use a placeholder in a mainFrame html file and replace it with the image, which I have explained earlier in this thread.
- Noz
If you really need to center the image, you wanna consider to link to an html file that contains the image to display though you may end up having as many html files as images.
Or you can use a placeholder in a mainFrame html file and replace it with the image, which I have explained earlier in this thread.
- Noz