SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast johnmanoahs's Avatar
    Join Date
    Jul 2004
    Location
    India
    Posts
    46
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Padding in a Modal Dialog

    Hi all,
    I created a Modal Dialog box to get rid of the minimize and maximize buttons in an IE popup. But the page inside the modal dialog box does not seem to have any padding, i.e. the text starts exactly at 0,0 pixels at the top and left. I tried topleft margin=0, but no use.

    Is there a way for padding the text inside the modal dialog box ??

    - John

  2. #2
    SitePoint Zealot pionar's Avatar
    Join Date
    Nov 2003
    Location
    Indianapolis
    Posts
    168
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    try adding css to the text inside the popup. If you're loading it from another page, just add padding rules to it. If you're creating the page on the fly, add it in your script.


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
  •