User Tag List

Thanks useful information Thanks useful information:  1
Results 1 to 4 of 4

Thread: Formating/Coding Help Needed - Wordpress

  1. #1
    In Training MarkChap's Avatar
    Join Date
    09 Jan 2008
    Location
    Widgee,
    Posts
    2,587
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Formating/Coding Help Needed - Wordpress

    I am using wordpress to manage my blog/website and have a little issue.

    I am using this code to embed a slideshow in a Widget area, the widget spans the width of my page and the current code sets the widget to the left.
    What code would I add to this, to load the slide show to the centre of the widget area

    Code
    <div style="width:480px; text-align: center;"><embed type="application/x-shockwave-flash" wmode="transparent" src="http://w170.photobucket.com/pbwidget.swf?pbwurl=http://w170.photobucket.com/albums/u263/Bay_Firey/Canada/396a7f65.pbw" height="360" width="480"><a href="http://photobucket.com/slideshows" target="_blank"><img src="http://pic.photobucket.com/slideshows/btn.gif" style="float:left;border-width: 0;" ></a><a href="http://s170.photobucket.com/albums/u263/Bay_Firey/Canada/?action=view&current=396a7f65.pbw" target="_blank"><img src="http://pic.photobucket.com/slideshows/btn_viewallimages.gif" style="float:left;border-width: 0;" ></a></div>

    And my website is located Here

    Any help would be greatly appreciated

    Thanks in advance
    Smoke Alarms Save Lives, Install One Today
    I shoot Canon
    Cheers, Mark


  2. #2
    can't remember Tannin's Avatar
    Join Date
    16 Apr 2007
    Location
    Huon Valley
    Posts
    4,122
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Hi Mark.

    Replace:

    Code:
    <div style="width:480px; text-align: center;">
    With:
    Code:
    <div style="width:480px; margin-left: auto; margin-right: auto;">
    Tony

    It's a poor sort of memory that only works backwards.

  3. #3
    In Training
    Threadstarter
    MarkChap's Avatar
    Join Date
    09 Jan 2008
    Location
    Widgee,
    Posts
    2,587
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Thanks heaps Tony, appreciated

  4. #4
    In Training
    Threadstarter
    MarkChap's Avatar
    Join Date
    09 Jan 2008
    Location
    Widgee,
    Posts
    2,587
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Worked perfectly

    Thank You

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •