SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Nov 2012
    Posts
    50
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Colorbox iframe align center

    Hi,

    I am using colorbox in my project.

    I am not able to show images/outside pages with center align using iframe in colorbox and we do not have option of align:'center' in following.

    Code:
    $(".group2").colorbox({rel:'group2',iframe:true,  transition:"none", width:"75%", height:"75%"});
    $(".group3").colorbox({rel:'group3', iframe:true, transition:"none", width:"75%", height:"75%"});
    Any idea how to align image or page in iframe example.


    - Thanks
    Zohaib.

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,117
    Mentioned
    448 Post(s)
    Tagged
    8 Thread(s)
    Are you able to link to an example of this?
    Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form

    Forum Usage: Tips on posting code samples, images and more

    Forrest Gump: "IE is like a box of chocolates: you never know what you're gonna get."


Tags for this Thread

Bookmarks

Posting Permissions

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