Center the DIV content with nested display: block float Left

I have a series of images that use a Spry fade effect as a slide show.
It works OK but the images are all jammed up into the top left corner
even when i put them in a table. I have attached the body code below.
Can anyone please help solve this poblem?
Thank you kindly.
<table width="800" border="0" align="center">
  <tr>
    <td> <div class="quote" style="position: relative; top: 0px; left: 0px; opacity: 0; display: none; visibility: visible;"> <img height="600" width="800" src="/uploads/images/_009a.jpg" alt="" /> </div>
<div class="quote" style="position: relative; top: 0px; left: 0px; opacity: 1; display: block; visibility: visible;"> <img height="600" width="800" src="/uploads/images/_010a.jpg" alt="" /></div>
<div class="quote" style="position: relative; top: 0px; left: 0px; opacity: 0; display: block; visibility: visible;"><span class="quote" style="position: relative; top: 0px; left: 0px; opacity: 0; display: block; visibility: visible;"><img height="600" width="800" src="/uploads/images/_047a.jpg" alt="" /></span></div>
<div class="quote" style="position: relative; top: 0px; left: 0px; opacity: 0; display: none; visibility: visible;"> <img height="600" width="800" src="/uploads/images/_056a.jpg" alt="" /></div></td>
  </tr>
</table>

Please refer to the link: http://www.adobe.com/devnet/dreamweaver/articles/first_website_pt3.html
Styling the images with captions
To keep the image and caption together and center them, you need to give the <figure> element a width. You'll also add a CSS drop shadow effect to the image to make it look more like a photograph.
Styling the <figure> and <figcaption> elements
The small images in the home page and sightseeing.html are all 400 pixels wide. To create the photo effect, you need to add another 20 pixels to the width of the <figure> element.
Make sure main.css is selected in the Sources pane, and create a new selector called figure.
In the Layout section, set width to 420px.
Create a selector for figcaption.
Before you can center the caption, you need to set its display property (in the Layout section) to block.
In the Text section, set the following properties:
font-weight: bold
font-size: 14px
text-align: center
Step 4 above is my problem. How can I set its display property (in the layout Section) to block?

Similar Messages

  • I have installed the LATEST VERSION of itunes in my windows and i bought the new ipad with retina display ,i had moved music into the ipad from my windows through the itunes but I DONT KNOW HOW TO MOVE THE VIDEOS IN MY VIDEOS LIBRARY OF MY COMPUTER TO MY

    i have installed the LATEST VERSION of itunes in my windows and i bought the new ipad with retina display ,i had moved music into the ipad from my windows through the itunes but I DONT KNOW HOW TO MOVE THE VIDEOS IN MY VIDEOS LIBRARY OF MY COMPUTER TO MY

    Close your iTunes,
    Go to command Prompt -
    (Win 7/Vista) - START/ALL PROGRAMS/ACCESSORIES, right mouse click "Command Prompt", choose "Run as Administrator".
    (Win XP SP2 n above) - START/ALL PROGRAMS/ACCESSORIES/Command Prompt
    In the "Command Prompt" screen, type in
    netsh winsock reset
    Hit "ENTER" key
    Restart your computer.
    If you do get a prompt after restart windows to remap LSP, just click NO.
    Now launch your iTunes and see if it is working now.
    If you are still having these type of problems after trying the winsock reset, refer to this article to identify which software in your system is inserting LSP:
    Apple software on Windows: May see performance issues and blank iTunes Store
    http://support.apple.com/kb/TS4123?viewlocale=en_US

  • How does Autodesk Maya run on the MacBook Pro with Retina Display?

    Hello there,
    I'm interested in using the MacBook Pro with Retina Display for Autdesk Maya and wanted find out what people's experiences with that are. It'd be great if anyone can help share their experiences!
    Thanks!

    One thing I do know, is the the UI is very small and menu items/buttons are hard to see. Someone posted a video of a now removed autodesk forum response on how to adjust font sizes .cfg file style, but I tried and it did nothing to the small text in Maya 2014. If you plan on it and don't have button and menu locations memorized by feel, I wouldn't use this software on a macbook pro without an external display, or change the resolution out of retina to use Maya.

  • What is Apple's official plan for future battery replacement in the Macbook Pro with Retina Display?

    What is Apple's official plan for future battery replacement in the Macbook Pro with Retina display?

    No one here works for Apple nor does Apple visit this message board.  We are all end users like yourself helping each other out. 
    "Official" Apple "replacement" announcements will be listed on their website and possibly on their Knowledge Base website.
    Check the All Programs website too.

  • How to set the screen size with nested Iview screen

    Can someone show me how to set the screen size with nested IView  screen.
    at the moment i only try it with trial and error untill it looks somewhat close. Is there a property in VC to set the size for Height and width.
    The same question is for the form. the form elements inside the form is easy but the actual form is still a challenge.

    Hi,
    Yes you are correct ,Still the Form and iview are not able to change thier Layout Structure using a Propery.
    it is available with VC7.1
    Govindu

  • I have an A5X chip iPad with retina display with AppleCare . If my iPad broke would apple replace it with the updated iPad with retina display?

    I have an A5X chip iPad with retina display with AppleCare+ . If my iPad broke would apple replace it with the updated iPad with retina display that has the A6X chip?

    They will replace your "broken" iPad with an iPad of equal type .... so NO, they will not replace it with a new iPad 4th generation. They will actually replace your "broken" iPad with a refurb, not a new one.

  • Is the Macbook Pro with retina display compatible with the share disk utility?

    Hi,
    I was wondering whether, since the macbook pro with retina display has no cd rom drive, whether the MBP is compatible with the share disk utility like the mackbook air
    VKB

    there should be no reason why it wouldn't be, as that's a feature of the OS, not the hardware.

  • What is the difference between the 4th generation ipad and the ipad 3 with retnia display?

    What is the difference between the 4th generation iPad and the "New iPad with retina display"? i don't quite understand. are they stilll the same size or would i have to get a different case?

    The 3rd and 4th generation iPads are the same size. The 4 has a faster processor, and a little better iSight camera for FaceTime. The 4 also has the lightning connector so your old cable will not work with the iPad 4.
    You should always check with the manufacturer of the case to see if it will fit. You can probably do that on the manufacturers website.
    This might be of some interest to you.
    http://www.zdnet.com/ipad-4-teardown-pretty-much-the-same-as-the-ipad-3-70000068 33/

  • When support After Effects Ray-traced 3D the GPU of the new iMac with retina display (GPU: AMD Radeon R9 M295X 4GB)?

    I would like to know whether After Effects CC Ray-traced 3D support the GPU of the new iMac with retina display.

    It never will. This is nVidia-exclusive technology and the whole things is deprecated, anyway. You better learn to use Cineware, buy a 3D program like Pro Animator or Element 3D or learn a proper 3D program.
    Mylenium

  • Does the MacBook Pro with Retina Display come with a CD slot?

    Would anybody know if the MacBook Pro with Retina Display comes with a DVD slot to put a CD in?

    If you read the specs on them you will discover that the MBP is way more powerful then the MBA. The big feature of the MBA is light weight. If you need a powerful computer then you want the MBP instead.
    Allan

  • I have an iPhone 4.  Am I able to sync this to the new iPad with Retina Display?

    I have an iPhone 4 with iOS 5.1.1.  Am I able to sync this to the new iPad with Retina Display?  I'm considering purchasing it!

    The iPad will be $329 AUD if replaced via postage service or $309 AUD if replaced at an Apple Store. Yes they will give you the replacement and take your old iPad so I would suggest if you can back it up to iTunes so that you can restore the back up to the replacement.

  • What image resolution should use for the new iPad with Retina display?

    What image resolution should use for the new iPad with Retina display?

    http://www.ipadcasereview.com/ipad-3-cases-and-covers-top-of-page/#sthash.hZKnxH ku.dpbs
    these are the best

  • What cases fit the new ipad with retina display?

    What cases fit the new ipad with retina display?

    http://www.ipadcasereview.com/ipad-3-cases-and-covers-top-of-page/#sthash.hZKnxH ku.dpbs
    these are the best

  • This will be my first time buying a laptop and I was thinking about the macbook pro with retina display but the price is a little to high I was wondering for any suggestions?  Like other ways to get it cheaper?

    This will be my first time buying a laptop and I was thinking about the macbook pro with retina display but the price is a little to high I was wondering for any suggestions?  Like other ways to get it cheaper?

    Actually you could get student discount from apple and a 10% dicksmith with limited time and I think jb hi fi gives even better discount. But lets see what other people think?

  • I have a student Visa. I wanted to purchase the new macbook with retina display. Can i clam a VAT refund?

    I have a student Visa. I wanted to purchase the new macbook with retina display. Can i clam a VAT refund?

    When I go to europe and head back to the states I can go to customs at their airport i.e france, italy or germany and get VAT refund for all the purchases I made. It does not work the other way around. purchase in the US heading back to europe as far as I know but you can ask US customs at the airport if they do such thing, just make sure you have copies of your receipts.

Maybe you are looking for

  • The server at 184.154.126.138 is taking too long to respond.and after hitting the Try Again button I get the same result

    I have just set up a web page and domain with brain host when I received it I was able to get on to my c panel and save it when I went back to it today to set everything up I was not able to get through and have all day received the same error notice

  • What is the best way for my small company to collect timesheets online?

    I have been using Acrobat 9 Pro. I have also tried acrobat.com and after reading the help file I tried to login to www.formscentral.com but can't. I have a simple form (pdf) that calculates the hours worked in a 2 week period. Most of our employees w

  • EXTENSIONIN PARAMETER IN BAPI_RESERVATION_CREATE1

    Hi Experts, I need the extension structure name to use when I have custom fields during the creation of a reservation via the BAPI, BAPI_RESERVATION_CREATE1. The thing is I am creating the reservation from srm, but for my cuf fields to be displayed,

  • Smartform printing in PIN server.

    Dear SAP Guru's.. This is a tipical problem which we are facing in our PIN server. while executing a report it will Display output in Smartform. But in Development sever it is working fine. While we are executing in Producation last colon is cutting

  • Unable to Register a Site

    I'm trying to register a site but I keep getting the error message: ... a test file could not be copied in the host directory... I'm using the same settings as in DW. It says the username and password are correct. I can upload files from DW. What cou