images and divs

Hi all. I have a problem with CSS. I have a div box that contains a list of links and a chart. just below which is another box of div with another list of links and a different graphic. In IE7, it appears correctly, but in Firefox the first line of text in the second box wants to wrap the graphic in the first box, even if they are in separate div tags. I also noticed that if the text in the box does not extend beyond the bottom of the graph, then the div box is not either. so, my question is, how do I make images to stay inside the div boxes?

I noticed that this always happens (as images seem to go on top of divs, instead of inside of them), there has simply never been a problem before.

Show us your code, please.

--
Murray - ICQ 71997575
Adobe Community Expert
(If you * MUST * write me, don't don't LAUGH when you do!)
==================
http://www.dreamweavermx-templates.com - template Triage!
http://www.projectseven.com/go - DW FAQs, tutorials & resources
http://www.dwfaq.com - DW FAQs, tutorials & resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

'c h n' wrote in message
News:euj9hi$OG4$1@forums. Macromedia.com...
> Hello all. I have a problem with CSS. I have a div box that contains a list of links
> and
> a chart. just below that is another div with another box list of links
> and a
> different graphic. In IE7, it displays properly, but in Firefox, the first
> line
> text in the second box wants to wrap up the chart in the first
> box,.
> even if they are in separate div tags. I also noticed that the
> text of
> the box will not spent at the bottom of the image, then the div box
> don't
> either. so, my question is, how do I make images to stay inside the div boxes?
>
> I noticed that this always happens (the path of the images seem to go above)
(> divs, instead of inside of them), there has simply never been a problem before.
>

Tags: Dreamweaver

Similar Questions

  • text-align: center in div with images and text

    If I put a div with text-align: center, and includes annother div with text as an image inside, will be the text and the image centered on the page in all browsers?

    , It works very well on fire fox but so do a lot of things! Ive tested the net IE rendering (http://ipinfo.info/netrenderer/index.php) and it seems to work fine. IM worried however as Ive read the tutorials that use means much more complex centering images and text so im wonding if it has some problems.

    Thank you

    It works fine in all browsers.

  • Adjustment of Images in Div

    I have this set up in the CSS:
    {.picFrame}
    Width: 1200px;
    height: 600px;
    background-color: rgba (1,1,1,1.00);
    margin left: 83px;
    margin-bottom: 34px;
    float: left;
    }

    I want picFrame to hold a maximum of 30 images of 200 x 120, 6 5 Green horiz

    For some reason that I can't mount horizontally - 6 images a new line is started after 5.
    I can see a small border around each picture that could cause this problem but I can't
    Find out how to eliminate the border. Since I'm on html5 I understand that I have to use CSS to do this.


    I have images of 200 x 120 related to 800 x 500 images and displays well in SlimBox
    Thanks, I got the weekend last in this forum.  Here are a few lines of code examples
    to illustrate the source code I use:

    < div class = "picFrame" >
    "< a href =" images/Thai2ee.jpg"rel ="lightbox-bike"width ="200"height ="120"> < img src =" images/thai2e.jpg "alt =" "> < /a >
    "< a href =" images/Thai3ee.jpg"rel ="lightbox-bike"width ="200"height ="120"> < img src =" images/thai3e.jpg "alt =" "> < /a >
    "< a href =" images/Thai4ee.jpg"rel ="lightbox-bike"width ="200"height ="120"> < img src =" images/thai4e.jpg "alt =" "> < /a >
    "< a href =" images/Thai5ee.jpg"rel ="lightbox-bike"width ="200"height ="120"> < img src =" images/thai5e.jpg "alt =" "> < /a >

    < / div >

    My bottom line number appears to be
    -How can I eliminate that or border two pixels around the images smaller then 6 will be good horizontally in "picFrame.
    - or is there a better way to put in place "picFrame.

    Thanks in advance

    Scott

    Nancy O. says:

    Value of height on .picFrame will come back to bite you later.

    Height limits the amount of content a container can hold.

    On the web, the height is determined by the content; no explicit values in pixels.

    Nancy O.

    As the op has only images in the frame it of ok, but not really necessary. overflow: hidden; will do if they float the images.

    {.picFrame}

    overflow: hidden;

    }

  • CSS: Space between UL and DIV

    Hello

    I create a page layout in CSS and I'm having a problem with unwanted space appearing between the navigation bar UL and div content area  Space does not appear in Dreamweaver, but it shows up when I discovered the site in any browser.  I found the discussions in which people had similar problems, but the solutions that have worked for them did not seem to make the case for me, so was hoping that someone could help me to look at my code.  I hear I'm going, so I apologize if I am missing something obvious.

    CSS:

    {#-barre of navigation

    Background: URL(images/navigation-bar.png) left top no-repeat;

    Width: 869px;

    height: 40px;

    left margin: auto; margin-right: auto;

    margin-top: 0;

    padding: 0;

    }

    #-barre of navigation span {}

    display: none;

    }

    bar of navigation-# li, #-navigation bar a {}

    height: 40px;

    Display: block;

    }

    bar of navigation-# li {}

    float: left;

    list-style: none;

    Display: inline;

    position: relative;

    }

    #navigation - bar - home {width: 145px ;}}

    #navigation-bar-lawyers {width: 145px ;}}

    #navigation - bar - practical - areas {width: 145px ;}}

    #navigation-bar-philosophy {width: 145px ;}}

    #navigation-bar-contact {width: 144px ;}}

    #navigation-bar-links {width: 145px ;}}

    #navigation - bar - home a: hover {background: url(images/navigation-bar.png) no-repeat ;} 0px-40px

    #navigation-bar-lawyers a: hover {background: url(images/navigation-bar.png) - 145px - 40px no-repeat ;}

    #navigation - bar - practical - areas a: hover {background: url(images/navigation-bar.png) - 290px - 40px no-repeat ;}

    #navigation - bar - philosophy a: hover {background: url(images/navigation-bar.png) - 435px - 40px no-repeat ;}

    #navigation - bar - contact a: hover {background: url(images/navigation-bar.png) - 580px - 40px no-repeat ;}

    Navigation-bar #-Liens a: hover {background: url(images/navigation-bar.png) - 724px - no-repeat ;} 40px

    {#content-home}

    background-color: #ffffff;

    background: url(images/courthouse.png) left top no-repeat;

    Width: 869px;

    height: 565px;

    left margin: auto;

    margin-right: auto;

    position: relative;

    padding: 0;

    }

    HTML:

    < ul id = "navigation bar" >

    < id li = "navigation-bar-home" > < a href = "index.html" > < span > </span > < /a > < /li > home ""

    < id = 'navigation-bar-lawyers' li > < a href = "attorneys.html" > < span > </span > < /a > < /li > lawyers ' "

    < id li = 'bar of navigation-areas of practice' > < a href = "practice.html" > < span > Practice Areas </span > < /a > < /li > ""

    < li = 'navigation-bar-philosophy' id > < a href = "philosophy.html" > < span > </span > < /a > < /li > philosophy ""

    < li = 'navigation-bar-contact' id > < a href = "contact.html" > < span > </span > < /a > < /li > Contact ""

    < li = 'navigation-bars-links' id > < a href = "links.html" > < span > links </span > < /a > < /li > ""

    < /ul >

    < div id = "content-home" > < / div >

    The space appears between the 'navigation bar' UL and the div "content-home self' I want that they touch.  The only way I can get them to the touch is by adding a ' margin-top:-12px' in #content-House, I want to avoid it.  Thank you very much for the research - I really appreciate it!

    Replace the navigation bar-# with the below:

    {#-barre of navigation

    Background: URL(images/navigation-bar.png) left top no-repeat;

    Width: 869px;

    height: 40px;

    Auto margin: 0; / * top and bottom are 0, left and right are auto * /.

    padding: 0;

    }

  • Addition of the new Image and text to an existing Page created with Tables

    Work in DW 5.5

    I try to add a new image/link and a small amount of text to an existing web page that was created with tables and centered.  I use AP div tags. One for the image and one for the text.  Everything works fine, but I can't get the new anchor points and to re - center with the rest of the page.  I'm not able to get around the "absolute positioning".  I tried different solutions of various tutorials but I can't make them work with tables.

    Added items are a Facebook button and text.

    Go to: http://www.sugarhollowfarms.NET/index.html See the problem.

    Help, please. I'm not that experienced.

    First, make a back up of the page before you implement the changes below!

    Take the bit of code below to

    and insert it directly after the opening tag div FWTableContainer and before your opening table tag (see location below):

    Then add - position: relative; -to the css of FWTableContainer (as shown below):

    {#FWTableContainer209091602}

    / * The div master to make sure that our contextual menus get properly aligned.  Be careful when you play with this one. */

    position: relative;

    margin: auto;

    Width: 800px;

    height: 600px;

    text-align: left;

    top: 20px;

    background-image: url(images/homepage_new3.jpg);

    border: medium solid #336600;

    position: relative;

    }

    Edit the css for FBlogo to as below:

    {#FBlogo}

    position: absolute;

    left: 700px;

    top: 380px;

    Width: 91px;

    z-index: 1;

    text-align: center;

    }

    Edit the css for bodytext as below:

    {.bodytext}

    do-family: Verdana, Arial, Helvetica, without serif.

    do-size: 11px;

    line-height: 13px;

    margin: 0;

    padding: 0;

    }

  • Thumbnail images, more large images and text PROBLEM

    Unclear title, with a problem difficult.

    What I am wanting to do is, when I click on a thumbnail image, I want to have the content of the DIV to display the image and the thumbnail information you just clicked the right to change accordingly. I use Dreamweaver CS5 on MAC:

    -J' have a page divided into 2 vertical columns. On the left, I have 6 thumbnails in their individual DIVs, all wrapped together in another DIV container

    -on the right side of the page, I assigned a large DIV to display a large image with a description below what the project was etc...

    I know that you can attach a behavior to the thumbnail to change the big picture on the right, but I have a short paragraph of the text below the big picture too, and I don't particularly want to make the image and text a huge image. I want to keep the text, text.

    How can I do? Is it a simple thing? or y at - there a lot of coding to do this with JQuery, Javascript or something? Is there something to do with the data record sets involved?

    Is it possible to do that when you click on the thumbnail it can charge the relevant image and text in the div on the right?

    Sorry if it did not clearly explain, do not know how do it, so don't know if I'm describing correctly.

    As always, all the help and advice very welcome.

    In the right column, you would-

    Legend legend legend

    Legend legend legend

    ...

    The CSS would be-

    {of signs

    display: none;

    / * Add other styles as needed for the caption * /.

    }

    The thumbnails would each of the following behaviors:

    * onclick set the desired right column div to "display: block" using behavior ChangeProperty of DW.

    * also onclick set all the other div of the right column on ' display: no "DW ChangeProperty behavior.

    Be aware that how to apply this behavior for inches is one) first to wrap every inch in an anchor null () and then apply the behavior to the anchoring of the packaging not to the image.  Alternatively, you can apply the behavior to the image and then using the behaviors panel, change the behavior of "onClick" event to " onClick.

  • Banner rotation 2 - How do you add links to images with div tags?

    I have a banner rotating images and need to add links to each image. I used jQuery Simple of Jon Raasch slideshow, suggested here.

    When asked how to add links to each image, he wrote "a more robust solution is to wrap each image in a div and target the div instead of the images (or anchor points). This would allow you to add text, images, etc. »

    Here is my code. Can someone show me how to wrap the images in the div tags and add a placeholder url as "index.html?

    ------------------------------

    < ! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""
    " < html xmlns =" http://www.w3.org/1999/xhtml ">
    < content meta = text/html"; charset = iso-8859-1 "http-equiv ="Content-Type"/ >"


    "< script type =" text/javascript"src ="... / jquery-simple-slideshow-example/jquery-1.2.6.min.js "> < / script >"

    < script type = "text/javascript" >


    function slideSwitch() {}
    var $active = $("#slideshow IMG.active");

    If ($active.length == 0) $active = $("#slideshow IMG:last");

    This allows to take images in their order of appearance in the tag
    var $next = $active.next () .length? $active.next)
    : $('#slideshow IMG:first');

    Uncomment the 3 lines below to shoot images in random order

    var $sibs = $active.siblings ();
    var rndNum = Math.floor (Math.random () * $sibs.length);
    var $next = $($sibs [rndNum]);


    $active.addClass('last-active');

    $next.css ({opacity: 0.0})
    .addClass ('active')
    . Animate ({opacity: 1.0}, 1000, function() {})
    $active.removeClass ('active last active');
    });
    }

    {$(function()}
    setInterval ("slideSwitch()", 5000);
    });

    < /script >

    < style type = "text/css" >

    / * the value width and height to match your images * /.

    {#slideshow}
    position: relative;
    height: 157px;
    Width: 220px;
    }

    #slideshow IMG {}
    position: absolute;
    top: 0;
    Left: 0;
    z index: 8;
    opacity: 0.0;
    }

    {IMG.active #slideshow
    z-index: 10;
    opacity: 1.0;
    }

    {IMG.last - active #slideshow
    z index: 9;
    }

    < / style >

    < / head >

    < style body = "" do-family: Arial, Sans-serif, without; ">"

    < h1 > < / h1 >

    <! - this will work with any number of images - >
    <!-set the current class about according to the image you want to appear as the default
    (if not, this will be the last image) - >

    < div id = "slideshow" >
    < img src = "donate.gif" alt = "Donate now" / > "
    < img src = "DVD.gif" alt = "Shop DVDs" / > "
    < img src = "legis3.jpg" alt = "Legislative coverage" align = "top" class = "active" / > < / div > "


    < / body >
    < / html >

    ----------------------------

    Each of the three lines img src should < div id = slideshow ">?"

    Thanks for any help.

    we210 wrote:

    No, it has not corrected the problem.

    Thanks again.

    Looking at the last code you have posted you have changed the url links to the two scripts jquery to dev/jquery.fancy.box-1.3.0.js etc.. It seems that the scripts don't maybe not in this folder 'dev '?


       

    The images do not turn has nothing to do with the block of css code or where it is inserted in thesection of the code, but has everything to do with getting links to the correct jquery scripts.

  • I downloaded "image and flash blocker ' to get rid of AutoPlay video pop - ups, but now I can't play videos! Help!

    to stop the automatic boring-playback of videos on different sites (such as cnn.com), I tried the 'request to activate' setting on shockwave or flash and it happens again, so I was directed to the firefox site that had the IMAGE AND FLASHBLOCKER to install and now nothing plays! I tried on youtube, for example, and I can hear the sound, but there is no video. I can't find what I installed to uninstall! have no idea what to do now.

    maureens said

    . . . . a the IMAGE of FLASHBLOCKER AND install...

    Please confirm. Shows details of the system;

    Extensions

    Flashblock 1.5.18.1 - signed

  • Where can I download the latest version which allows images and java script off?

    Because of my connection is often slow, I have the option to turn off "automatically download images" and Java script. 23 Firefox doesn't have these options. Where can I download version 22 or whatever the latest version is that these permitted options?

    Thank you

    There is also settingsanity

  • I've just updated to Firefox Beta 20. Not happy! The options "View Background Image" and "Image Mode" when you right-click is missing. How can I get that back?

    I've just updated to Firefox Beta 20. Not happy! The options "View Background Image" and "Image Mode" when you right-click is missing. How can I get that back?

    These entries should still be there if you right click on an image or an area with a background image.

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox/tools > Modules > appearance).

    • Do NOT click on the reset button on the start safe mode window or make changes.
  • Restoration of images and icons? None are displayed on web pages.

    I used to have pictures and icons, but now none are not displayed, just text. I deleted Firefox and downloaded but the error persists so I have to have an incorrect setting.

    Is he missing pictures then make sure you are not block images from certain domains.

    • Check the permissions for the domain in the active tab in "tools > Page Info > Permissions.
    • Check that the images are enabled: Tools > Options > content: [X] loading images automatically
    • Check exceptions in "tools > Options > content: Load Images > Exceptions.
    • See the tab "tools > Page Info > media ' for blocked images (scroll all the images with the cursor key).

    If an image in the list is grayed out and there is a check mark in the box "block Images of..." and remove this mark to unlock the images from this area.

    Make sure that you do not block the images of third parties, the pref permissions.default.image must be 1.

    There are also extensions like Adblock Plus (Tools > Modules > Extensions) and security software (firewall, antivirus) that can block the images and other content.

    See also:

  • JPEG blurred when playing even after stop on image and rendering

    Hi, I have my encounter a problem with some JPEG images that I need to include in my edition. The original files are of good quality and the right size and what toFCP imported, they look fine and "tidy" in the timeline. As soon as I start to play, they become very blurred. I had done a lot of research online and tried the fix to make a stop on the first frame image and allows to overcome the blur. I have done this and made the effect and the blur is not also bar there is still quite a decline in quality. I am running the latest version of FCP X. Any suggestions greatly appreciated. Thank you.

    Reading quality and rendered its Viewer.

  • Online banking site now displays the page of connection in text alone; on the other computer it always shows the page with images and clickable - is - it a solution?

    Previously when I logged my INGdirect Bank online account, the window connection come showing images and clickable hotspots. Window connection changed recently, to a text only version. On two different computers using Firefox, the connection returns to the previous version, with images and clickable hotspots. I do not know to have done anything to change my settings in Firefox or on the website of the Bank. Because it seems to be located on this computer, I tried to download the latest version of Firefox, but didn't get any change, connection always comes back to the text-only format.

    Try to clear your browser's cache.

    Tools > clear recent history... - details and of course Cache hit only is selected, and then select all and click the clear now button.

  • Saving as a single .html does not include the full web page (with images and properly formatted) as it did before! What happened here?

    First of all I must emphasize that I keep always up-to-date as soon as a new version of Firefox will appear.

    Now, a few months ago Firefox was able to save complete web pages as a single .htm file (including images and styles). Proof of this is that I have done it then. But now, after a few Firefox updates (sorry, but I can't identify exactly which of them might have been the one that messed up for me), while he was trying to exactly the same thing on the same website it is no longer possible. What happens is that now to choose the option 'Save the Web as HTML' (which I think is that I used to select before) it will not save the images and styles of web page, only the basic text and the home page anchors while he primarily save!

    I still have the old .htm files, I saved before (I can give them to you) and they work again properly on any PC (I tested), so it means that it is not a .htm file using the cache on my PC to render the images links to the file.

    I am aware that I can choose the 'Full page' option, but it creates a folder that I don't want to, so I'd rather have the old option to export the web page in a unique and properly shaped file that includes images!

    Thanks in advance!

  • F5 does not show the images and style sheets

    When I load a page for the first time, everything's fine, however when I hit F5, page does not connect to one of the styles/scripts and images are not loaded at all. I tried to run FF in safe mode (7.0.1), which has not solved the problem.

    But any page of our system, including those with much simpler presentations gives the same exact error...

    Thanks for your help, makes us understand in this case after a lot of digging around... We use a 2.5 abyss to our web server. Appearantly, there is a bug with the length of the content on images (and any support files) do not set correctly (at all). When you load the page the first time all right, but when you refresh the images are read from the cached files, and FF 7.01 does not approve headers corrupt on the image files (behavior correct in FF, but stricter than in previous versions!). We have updated the Web server to version 2.7, which solved this problem... We found an old post that makes us in the right direction as well:
    https://Bugzilla.Mozilla.org/show_bug.cgi?id=682511
    Thank you once again and for all users of Abyss Web Server... UPGRADE TO THE LATEST VERSION OR YOU'LL HAVE THE SAME PROBLEMS WITH FF 7.01... !

Maybe you are looking for