Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New to the CF scene
    Join Date
    Jun 2012
    Posts
    3
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Question Blank area over iFrame

    Hello everyone

    I'm new to web coding and experiencing some trouble with the iFrame on my first webpage. I'm using Dreamweaver CS4 and want to remove the space between the menu at top and the iFrame box.

    Hope anyone can help me out. I'm sorry if I posted this in the wrong category.



    Thanks in advance.
    Last edited by sas91; 06-05-2012 at 10:14 AM.

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,862
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Hope anyone can help me out.
    May be, but we need to see the complete HTML+CSS of that page Or a link to that page.
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    New Coder
    Join Date
    May 2012
    Location
    Colorado SPrings
    Posts
    18
    Thanks
    2
    Thanked 3 Times in 3 Posts
    I believe it is the <p> </p> tag. Many times while i write code and get unknown spaces like this are because of something I have in the page that I do not need such as a paragraph tag or an extra div tag or other various tags. try removing the <p></p> tags and see if that fixes your problem.

  • Users who have thanked Scott R for this post:

    sas91 (06-05-2012)

  • #4
    New Coder
    Join Date
    Nov 2010
    Location
    Virginia,USA
    Posts
    36
    Thanks
    1
    Thanked 7 Times in 7 Posts
    Yea the empty paragraph tag has a class of "margin". So remove that like Scott R said and you should see the difference. Also I would look in your CSS and find the class named "margin" and remove it since you would normally set your margin per class or id not make it its own class.

    Also you should make a class for that first div you have in grey and put your inline styles in to that. Did Dreamweaver add those inline styles like that? I use CS4 as well and have never had it do that before. Although it wouldnt surprise me as that program tends to have some strange quirks. Such as making id's instead of classes in the stylesheet if you use the "from template" setting.
    Last edited by badwolf; 06-05-2012 at 04:31 PM.

  • Users who have thanked badwolf for this post:

    sas91 (06-05-2012)

  • #5
    New to the CF scene
    Join Date
    Jun 2012
    Posts
    3
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Thanks guys! You where right, the paragraphs where messing things up.


  •  

    Tags for this Thread

    Posting Permissions

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