...

View Full Version : Is this layout possible in CSS?



Dan_Grr
01-29-2007, 05:30 PM
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?

http://i13.tinypic.com/2em3pth.png

EDIT: Posted smaller image.

haveacigar
01-29-2007, 05:40 PM
You should be able to... with iframes and css

VIPStephan
01-29-2007, 05:43 PM
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.

neomaximus2k
01-29-2007, 07:56 PM
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

Dan_Grr
01-29-2007, 08:47 PM
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.

_Aerospace_Eng_
01-29-2007, 09:27 PM
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.

Dan_Grr
01-30-2007, 08:12 PM
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.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum