Results 1 to 9 of 9

Thread: New to CSS; Stacking with DIV Tags over simple gallery.

  1. #1
    Join Date
    Jul 2010
    Posts
    10
    Thanks
    9
    Thanked 0 Times in 0 Posts

    Angry New to CSS; Stacking with DIV Tags over simple gallery.

    Hello All,

    I am hoping someone can help me. I am new to the simple gallery and new to css. I was wondering how I can get a image stacked on top of the simple gallery to the left.

    Here is the site: empireairways.com

    the image I would like to go on top to the left of the simple gallery is on page http://empireairways.com/about/empire.html it says "empire airways flights at your schedule to meet your needs. Schedule here." the image dir is: ../images/schedule.jpg.

    Any help would be greatly appreciated.

    Thanks,

    Steve
    Last edited by metall5468; 08-04-2010 at 03:06 AM.

  2. #2
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    Aside from the positioning problem, you really need to address the size of the images you use in your gallery - especially as its the home page.

    I've been sat for over 30 seconds on a broadband connection waiting patiently for your home page and slideshow to load - it gets so far then skips to the next image and again I wait...
    Then I downloaded some of your images and realised why - they are HUGE - the "citation3.jpg" image for example is 234kb alone (and there are 19 of them), which isnt necessary for something of those physical dimensions.

    Using the image optimiser here on DD: http://tools.dynamicdrive.com/imageoptimizer/
    you can reduce your "citation3.jpg" image from 234kb to 46kb (at quality 60) - an 80% saving with hardly any visual loss in quality.

    Please optimise them all before you launch the site officially otherwise you'll scare your customers away
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

  3. The Following User Says Thank You to Beverleyh For This Useful Post:

    metall5468 (08-03-2010)

  4. #3
    Join Date
    Jul 2010
    Posts
    10
    Thanks
    9
    Thanked 0 Times in 0 Posts

    Default

    Thanks Beverleyh,

    I appreciate the heads up, however those r just temp images until my friend gives me the ones he wants on his site. They will all be coming down in a few weeks before we launch the site. I hope.

    Thanks,

    Steve

  5. #4
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    Phew. Can you substitute in some smaller ones during development as well? I just downloaded 3.7MB worth of images from your home page and that amount of waiting might scare away DD forum helpers too.
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

  6. The Following User Says Thank You to Beverleyh For This Useful Post:

    metall5468 (08-03-2010)

  7. #5
    Join Date
    Jul 2010
    Posts
    10
    Thanks
    9
    Thanked 0 Times in 0 Posts

    Default

    Ok I kept the images but lowered the quality. I don't want to make anyone upset nor do I want anyone to have to wait for the images to load. However i am still wondering how to stack the image to the left on top of the simple gallery. See Post 1. Any one know?

    Thanks,

    Steve

  8. #6
    Join Date
    Oct 2009
    Posts
    845
    Thanks
    14
    Thanked 189 Times in 188 Posts

    Default

    Hi it looks like you could do something like this:
    immediately after
    <div id="simplegallery1"></div>
    you can add
    <div id="stackedimage"><img src="http://empireairways.com/images/schedule.jpg" width="200" height="300" /></div>
    making it look like this
    Code:
    <td valign="top"><!-- InstanceBeginEditable name="Main_Content" -->
    <div id="simplegallery1"></div>
    <div id="stackedimage"><img src="http://empireairways.com/images/schedule.jpg" width="200" height="300" /></div>
    <!-- InstanceEndEditable --></td>
    and then use some css like this
    Code:
    #stackedimage {
    	position: absolute; left:50%; margin-left:-440px; margin-top:-350px; z-index:2000;
    }
    Give it a try and edit it to your needs.

  9. The Following User Says Thank You to azoomer For This Useful Post:

    metall5468 (08-04-2010)

  10. #7
    Join Date
    Jul 2010
    Posts
    10
    Thanks
    9
    Thanked 0 Times in 0 Posts

    Smile

    Azoomer You Rock! You saved the day again. Thank You so Much.

    I had to drop the z-index down because the scheduler image was coming up over the scheduling form ( when u click on the image) but it is working great. Thanks A Million.

    Thanks again,

    Steve

  11. #8
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    That's loading much faster - a nice looking site too Steve.
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

  12. The Following User Says Thank You to Beverleyh For This Useful Post:

    metall5468 (08-09-2010)

  13. #9
    Join Date
    Jul 2010
    Posts
    10
    Thanks
    9
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by Beverleyh View Post
    That's loading much faster - a nice looking site too Steve.
    Thanks Very Much Beverleyh.

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
  •