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 9 of 9
  1. #1
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,860
    Thanks
    22
    Thanked 157 Times in 148 Posts

    Question Image not showing up in HTML ??

    Can anyone see why the following code:

    Code:
    <h3>Web Design</h3><div class="line"></div><div><img src="forest.jpg" alt="" style="margin-left:5px;margin-bottom:5px;float:right;display:block"><p class="content_p">Your web site is your window to the world. When viewing your site, visitors must be able to derive who you are, what you’re selling, and what your message is. Furthermore, a web presence is your sole means of interfacing with the Internet-browsing public, and subsequently you want to be able to maintain their interest as well as provide them with a useful online experience. Media Moguls will create an engaging Internet presence for you that will command attention, stimulate sales, and ultimately improve your overall bottom-line. Our web designs are innovative, aesthetically appealing, and superbly functional, creating ideal conditions for a positive online experience. We’ll enhance your site with the latest web technologies, including: HTML, CSS, PHP, and Javascript programming, Flash animation and multi-media, a MySQL database and SQL coding, and effective e-commerce solutions. In addition, our experience and excellence in graphic design and layout will help make your web site look its best. All in all, we’ll design a site for you that will heighten online awareness of your organization and keep visitors coming back again and again.</p></div><div style="clear:both"></div>
    on the following page, doesn't show the image forest.jpg ??

    I've used similar code for other pictures on this page, and all of those pictures show up beautifully....

    Also, the file forest.jpg does exist and is on the server....

    Any ideas?

    thanks.
    Regards, R.J.

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

    Help spread the word! Like my YouTube-to-Mp3 Conversion Script on Facebook !! :-)
    [Related videos and tutorials are also available at my YouTube channel and on Dailymotion]
    Get free updates about new software version releases, features, and bug fixes!
    ♪♪ …Need Web Hosting For My YouTube-To-Mp3 Conversion Software? Check Here !!… ♪♪

  • #2
    New to the CF scene
    Join Date
    Jul 2005
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Maybe the filename is Forest.jpg instead of forest.jpg??? Is the only thing I can think of...

  • #3
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,860
    Thanks
    22
    Thanked 157 Times in 148 Posts
    Maybe the filename is Forest.jpg instead of forest.jpg???
    No, it's definitely forest.jpg....this is all very strange to me....

    And while the page content is dynamically generated, the code that I pasted in this post is from the source code....So this is the HTML code that is outputting to the browser, but the picture just doesn;t show....
    Regards, R.J.

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

    Help spread the word! Like my YouTube-to-Mp3 Conversion Script on Facebook !! :-)
    [Related videos and tutorials are also available at my YouTube channel and on Dailymotion]
    Get free updates about new software version releases, features, and bug fixes!
    ♪♪ …Need Web Hosting For My YouTube-To-Mp3 Conversion Software? Check Here !!… ♪♪

  • #4
    New Coder
    Join Date
    Mar 2005
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts
    This is what I get when I try to look at the image individually.


    The image “http://www.mediamogulsweb.com/Demo_Site/forest.jpg” cannot be displayed, because it contains errors.


    That may be the problem :P

    Something is fuxed up with the image itself

  • #5
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,860
    Thanks
    22
    Thanked 157 Times in 148 Posts
    Yeah, I just fixed it...had to resave to another file...file was messed up....

    BTW, where did you get an error message like that? You opened the file up in a browser window by itself? Just curious...could help me troubleshoot the problem later down the line, if it occurs...

    Thanks....
    Regards, R.J.

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

    Help spread the word! Like my YouTube-to-Mp3 Conversion Script on Facebook !! :-)
    [Related videos and tutorials are also available at my YouTube channel and on Dailymotion]
    Get free updates about new software version releases, features, and bug fixes!
    ♪♪ …Need Web Hosting For My YouTube-To-Mp3 Conversion Software? Check Here !!… ♪♪

  • #6
    New Coder
    Join Date
    Mar 2005
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Yes I went to page source found the file...saw that it was in the same directory and just typed in the direct path.

    Glad it helped.

  • #7
    Regular Coder
    Join Date
    Jul 2005
    Location
    Halifax, Nova Scotia, Canada
    Posts
    392
    Thanks
    1
    Thanked 0 Times in 0 Posts
    A similar problem you may run into is that if you apply a class to an image in IE it often doesn't render it. All you need to do is add position: relative; to the class and you don't need to actually specify any coordinates or anything but for some reason IE won't render that image unless you apply position: relative.
    Once I thought I was wrong but I was mistaken.

  • #8
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Quote Originally Posted by Tristan Gray
    A similar problem you may run into is that if you apply a class to an image in IE it often doesn't render it. All you need to do is add position: relative; to the class and you don't need to actually specify any coordinates or anything but for some reason IE won't render that image unless you apply position: relative.
    Its a form of the peekaboo bug, happens with floated images sometimes, adding position:relative; to any element that is hiding but shouldn't be hiding fixes the peekaboo bug.

  • #9
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,860
    Thanks
    22
    Thanked 157 Times in 148 Posts
    Good to know, thanks....
    Regards, R.J.

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

    Help spread the word! Like my YouTube-to-Mp3 Conversion Script on Facebook !! :-)
    [Related videos and tutorials are also available at my YouTube channel and on Dailymotion]
    Get free updates about new software version releases, features, and bug fixes!
    ♪♪ …Need Web Hosting For My YouTube-To-Mp3 Conversion Software? Check Here !!… ♪♪


  •  

    Posting Permissions

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