Page 1 of 1
Design Question
Posted: Fri Nov 07, 2003 12:09 pm
by vigge89
I have no idea if I should use an iframe for he main content of my site.
What do you think? Should i use an iframe for "news"-section, iframe for the whole right column or leave it as it is?
Screenshot of how it looks right now (with no iframes):
Right now, the page increases in size like normal pages do, but if im going to use iframes, i will set the height for it to be leveled with the left column (menu part), or maybe 20,40,50 or 60 pixels more..
And also, Comments on the design, colors, layout, text etc. are welcome

Posted: Fri Nov 07, 2003 12:19 pm
by Gen-ik
Just do what you are happy doing. Not all browsers support <iframes> but the benefits are you don't have to muck around with <framesets>. More browsers (but not all) support <framesets> than <iframes>.
Iframes and/or framesets are ok if they work with the design. I've never been happy with any of the framed sites I've done and always tend to create 'normal' scrolling page content.
Just try a few things out and see what you think works.
Posted: Fri Nov 07, 2003 12:48 pm
by vigge89
right now im not using any framesets or anything, but I think they'll make the site more compact, which the idea of the design was at the beginning. And also, then my upload script will work

Posted: Fri Nov 07, 2003 2:11 pm
by McGruff
I wouldn't go anywhere near frames.
What about an overflow property?
Code: Select all
.scrolling_box
{
width: 200px;
height: 200px;
overflow: auto;
}
Posted: Fri Nov 07, 2003 2:35 pm
by Gen-ik
Yeah that's a good point. You could always use a <div> and set it's overflow property to scroll or auto. That way you get your scrolly window without having to use either iframes or framesets.
Posted: Sat Nov 08, 2003 2:46 am
by vigge89
well, to late now, already changed it to iframes to test, and i found it good, so i think im gonna stick to that. Unluckly, my hosts FTP is down right now, so i can't upload the redesigned site yet.
Posted: Sat Nov 08, 2003 10:23 am
by d3ad1ysp0rk
overflow looks like a good idea for what im doing, can you point me to a:
a) tutorial
b) link with an example of it
c) sample code
-thanks-
Posted: Sat Nov 08, 2003 10:55 am
by McGruff
LiLpunkSkateR wrote:overflow looks like a good idea for what im doing, can you point me to a:
a) tutorial
b) link with an example of it
c) sample code
-thanks-
Variety of CSS & other tutorials here:
http://www.w3schools.com/ although I'm not sure if there's anything specifically about overflow.
Do you know the style syntax? The code posted defines a css class. That can go in a stylesheet or be embedded in a the document <head >. Stick a class="name" tags to apply the style.
You can stick it inline, ie within the tag, with style="width: 200px; height: 200px; overflow: auto;".
Which option you choose depends on how often you use the style. If it's applied on a variety of pages you'd stick it in a stylesheet. If it's used just once you'd maybe stick it inline.
Posted: Sat Nov 08, 2003 1:28 pm
by maniac9
The only problem I see with using overflow is with those browsers that have poor CSS support - but either way you do it, a majority of current browsers will work. My personal design moto is "If they're running windows 3.1 with Netscape 2, then they are used to pages not working correctly"
Posted: Sat Nov 08, 2003 1:47 pm
by vigge89
maniac9 wrote:The only problem I see with using overflow is with those browsers that have poor CSS support - but either way you do it, a majority of current browsers will work. My personal design moto is "If they're running windows 3.1 with Netscape 2, then they are used to pages not working correctly"
lol, nice moto, i'll keep that in mind

Posted: Mon Nov 10, 2003 3:19 pm
by m3rajk
the only browser that you might want to consider that isn't netscape 6x+, opera 9+ or ie 5+ is lynx, which is text only. and that's just because some unix users use that to check what's new on a site. treason i don't say netscape 4.x at this point is the same as to why i wonder by people still code specifically for ie... both have had end of life announcements
Posted: Tue Nov 11, 2003 6:28 am
by vigge89
http://www.armyhosting.net/vigge/index.php
Well, FTP works now, so i uploaded the site, check it out

Not finished yet, still much work left
Posted: Tue Nov 11, 2003 9:25 am
by d3ad1ysp0rk
"Your IP: ***********" that can scare some people who don't know how the web works

Posted: Tue Nov 11, 2003 9:28 am
by vigge89
LiLpunkSkateR wrote:"Your IP: ***********" that can scare some people who don't know how the web works

i know

but i want it there cuz then i dont have to open ipcfg each time to check it
