Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: How to Prevent Image from loading top/left? - Html?

  1. #11
    maskawaih's Avatar Custom User Title BT Rep: +3
    Join Date
    Aug 2004
    Location
    Malaysia
    Age
    39
    Posts
    713
    javascript is fun. but please dont put fancy things in a page. something like fancy pointers, star background etc.

  2. Internet, Programming and Graphics   -   #12
    100%'s Avatar ╚════╩═╬════╝
    Join Date
    Jan 2003
    Posts
    13,383
    Thank you for all your Replies -i have some mega homework to catch up on

    I need to have ScrollBars for this piece - alot of them - therefore im using the Frames and want the images to run individually.
    I tried the Layer technique before but came up with the same problem - guess illl have to try again.
    Yes im a html Newb - this the begining - let me try everything you guys said - until i get it right - give me a day or two to test
    Thanx again to all

  3. Internet, Programming and Graphics   -   #13
    orcutt989's Avatar Blargh
    Join Date
    Dec 2003
    Location
    States
    Posts
    2,186
    Hmm, well when i do layers i dont use code that often. Dreamweaver is predominantly Visual-based, and so it makes it easy to place things with layers.

  4. Internet, Programming and Graphics   -   #14
    scrollbars can be achieved via css simply by defining a <div>'s dimensions at a smaller size than the objects it will contain.
    You then place the following property on that div (I'm going to give it an ID for this example)

    HTML Code:
    <html>
    <head>
    <title>scrollbars</title>
    <style type="text/css">
    #image1 {
    width: 800px;
    height: 600px;
    }
    
    #container {
    width:320px;
    height:240px;
    overflow:scroll;
    }
    </style>
    </head>
    
    <body>
    
    <div id="container">
    <img id="image1" src="whatever.jpg" />
    </div>
    
    </body>
    </html>
    Last edited by motherflux; 10-17-2004 at 09:52 AM.

    There is a crack in everything.
    That's how the light gets in.

Page 2 of 2 FirstFirst 12

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
  •