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 7 of 7
  1. #1
    New Coder
    Join Date
    Jan 2007
    Posts
    34
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Is this layout possible in CSS?

    Im thinking about doing this layout in Flash or CSS. It would envolve the main area where the main image would be displayed. The left sidebar would be where several main images would be. By clicking on one of them, 1 main image would appear. Below the main image would be smaller images concerning this main image, with descriptions.

    From some feedback I got on another forum, Im trying to do this in CSS, but Im not sure I can do these frame things. Maybe theres a better layout for this but Im not aware of. Can somebody help?



    EDIT: Posted smaller image.
    Last edited by Dan_Grr; 01-29-2007 at 07:49 PM.

  • #2
    New Coder
    Join Date
    Aug 2006
    Posts
    97
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You should be able to... with iframes and css

  • #3
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,778
    Thanks
    6
    Thanked 1,021 Times in 994 Posts
    You can do almost any layout with CSS. The frame kind of thing is achieved by giving a div a fixed size and applying overflow: auto; which would add a scrollbar if the content exceeds the size of the element. No iframes are necessary!

    Speaking of exceeding the size... your image is way too big! Please make it a bit smaller in terms of dimensions and file size. Thanks.

  • #4
    Regular Coder
    Join Date
    Jan 2007
    Posts
    213
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Dan_Grr View Post
    Im thinking about doing this layout in Flash or CSS. It would envolve the main area where the main image would be displayed. The left sidebar would be where several main images would be. By clicking on one of them, 1 main image would appear. Below the main image would be smaller images concerning this main image, with descriptions.

    From some feedback I got on another forum, Im trying to do this in CSS, but Im not sure I can do these frame things. Maybe theres a better layout for this but Im not aware of. Can somebody help?
    You have a number of choices with this. iframe is one way of doing this and CSS is another way.

    CSS would use DIV tags with scrolling and overflow tags set.

    Iframes would use more physical html pages but does have its benefits.

    For what you are trying to do I would say use CSS and DIV tags.

    If you have problems with the code let me know and i'll post an example for you
    Matthew Bagley
    Paramiliar Design Studios
    Website Design | Website Development | Search Engine Optimisation (SEO)

  • #5
    New Coder
    Join Date
    Jan 2007
    Posts
    34
    Thanks
    1
    Thanked 0 Times in 0 Posts
    A little example would be great mate! I could then edit it at will.

    I forgot to add a couple of details: this is supposed to be an online digital catalogue that is going to be sent to people trough a CD. So it's likely I'll have to run the index.html or home.html with an autorun command, which I think it's made with the notepad. I've done it in the past and I have it around here somewhere.

    My biggest concern is "what if". The clients that are recieving this would most likely have IE6 and the thought of it gives me the chills. What if frames don't work, what if the pure CSS doesn't work.

  • #6
    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
    Why wouldn't iframes work? Why wouldn't the CSS work? IE is modern enough to where it supports both. Just be sure to test in multiple browsers because not everyone uses IE6 as their default browser.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #7
    New Coder
    Join Date
    Jan 2007
    Posts
    34
    Thanks
    1
    Thanked 0 Times in 0 Posts
    I have had lots of mixed reviews. Doing it in CSS might make spend a huge time trying to make it compatible with every browser, and doing it on Flash might make some people not being able to watch it, or not bothering on installing the flash player (that could ship with the CD). Maybe I'll just do it with CSS and pray to the gods.


  •  

    Posting Permissions

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