ok, here's my site: Welcome to CTImports.com (http://www.ctimports.net/index2.html) (I realize the URL is CTImports.net but we're buying the .com domain name soon)
Here's my problem:
I had this layout template made for my company and I've come across some problems. I need to have a frame built in the middle (where I drew the red square) and I need a background image (where I drew the green square). Someone give me a solution ASAP, PLEASE! Thank you :D
http://www.ctimports.net/ctiphotoshop.jpg
Do you mean setting up the page with three frames plus the one across the top?
If you want that (above) this would be your basic layout....
The hard part though is that you would then need to slice your images to fit into each of the frames, the left frame would have to be an absolute width and height to ensure that the sliced image does not "move" on higher res. screens
I have drawn hoe the frames would need to be set out, which also shows how to slice the images...
Hope this helps, heaps of work to get the result you want.
Tonz:o
If he actually needs a frame like the red box he drew he'll need a least five frames, one more for the footer as well...
Why not use an IFrame??
You can set the specific width/height of it and it'll work just fine.
IFrame is supported by the latest HTML specification - and works fine in IE5+ and NS6+
For the netscape 4 users, there's the ILayer tag - works the same as IFrame... here's an example
Oh yeah, by the way... CTImports - I love the design, it looks amazing!!!!
:thumbsup: :thumbsup: :thumbsup:
~Quack
Originally posted by ronaldb66
If he actually needs a frame like the red box he drew he'll need a least five frames, one more for the footer as well...
Well spotted.....
.......absolutly right.
Tonz
PS I do like the design also... very sharp!
I'll still stick to my suggestion - use an IFrame...
if you need help with that, just ask...
~Quack
Well, I converted it to PHP format and sort of got what I wanted but I still think iFrame would be better. Right now, the page just stretches down to the length of the text and images. But I would much rather have a frame in itself in the middle of the page with its own scroll-bar, like this:
http://www.ctimports.net/ctiphotoshop.jpg
Here is how the page is setup now:
Welcome to CTImports.com (http://www.ctimports.net/index2.php)
I don't mean to be picky, but I think an iFrame in the middle of the page would look much professional than having the whole page just stretch down.
QuackHead, if you would, PLEASE help me achieve this.. I need the site up and running by this weekend :(
btw, thanx for the props everyone :thumbsup:
remember IFrames arent supported by all browsers... hence the fact not many pros use them...
u could always use SSI (slow as not cachable) or javascript (fast but a pain to update)
using javascript u can just document.write all the stuff... i use them for menus as we dont have asp or php on our server here
Well, go for the original proposal then:
use two framesets, one outer, one inner;
have the outer frameset contain three rows:
first row = header,
second row = inner frameset,
third row = footer;
have the inner frameset contain three columns:
first column = menu bar,
second column = "The Red Square",
third column = whatever's-right-of-it.
This way, you can assure the page to fit the window at all times, and the contents of The Red Square to scroll when necessary.
Do take note of the drawbacks of frames, though.
the problem i find is that netscape 4 doesnt render frames accurately tho :( and for this type of design u need pixel precision (to get the gradient elipse segment lined up)
when u resize NS frames they are always different - just the sucky rendering - although if u arent supporting NS4 then u would be ok...
another thing tho, how is this site gonna look in 800x600 - a lot of partially sighted ppl (the ones who use such low res ;)) will prolly use this site as they still (unfortunately) make up the majority of web surfers..
imho with frames they arent gonna get much viewable area are they?
I agree - the idea of using 5 different frames for that site pains me - and I'm not even the one making the site! :D
babelfish: You make an important comment no the IFrame capabilities - I'm running into a few problems with them myself... (I hate netscape!!!!:mad: )
CTImports: You said you're using PHP right?
~Quack
CTImports:
I've modified your HTML file - here's a few things I did for you...
added IFrame/ILayer (ILayer is in there to be compatible with Netscape 4) It's clearly commented for you to add your information - the frame border will dissapear when you have a real page in there...
changed scrollbar colours (I left the old stuff there if you want to use it) - I made it look a little more pretty (IMO)
Set the width/height of the IFrame to fill up most of the space there - you can change it around a little if you want, but I set the width to 427, and the height to 390 (which seems to take up most of the space...)
Let me know if this is ok, and if you need help with anything else...
~Quack
Here's your HTML code now... the code you need is in red
<!-- You old scrollbar stuff...
<STYLE>
BODY {SCROLLBAR-FACE-COLOR: #0076e6; SCROLLBAR-ARROW-COLOR: #ffffff; SCROLLBAR-TRACK-COLOR: #ffffff;}
</STYLE>
-->
<!-- this is the stuff you need -->
<iframe src="your_html_file.htm" width="427" height="390" frameborder="0" topmargin="0" marginheight="0" leftmargin="1" marginwidth="1"></iframe>
<!--ILAYER FOR Netscape 4-->
<ilayer src="your_html_file.htm" width="427" height="390" border="0" topmargin="0" marginheight="0" leftmargin="1" marginwidth="1"></ilayer>
<!--End ILayer-->
<!-- end here -->
BTW - Your HTML is formatted TERRIBLY!!!!!! What do you use to make your stuff?
~Quack
you are also about 3 pixels too wide for plebovision (800x600)
i use this to quickly go into plebovision (added to favorites)
javascript:resizeTo(800,573)
this gives a nice window (23 is approx the height of the taskbar)
Originally posted by babelfish
plebovision
I have never heard this work before - whoa!
what does it mean?!?
hehehe
~Quack
hehe - just me being stupid really....
a pleb is like a peasant, someone who is worthless etc.,.
so 'plebovision' (a word i invented today ;)) is like lowest screen res u need to cater for :)
I see.. well, ok ;)
go ahead, make up words!...
does anyone actually cater for 640x480 anymore? (I'm just curious)
~Quack
i did one not so long ago that looked ok in 640x480 - cos it was a little cheapo site that may be used by ppl with carp pcs... nothing to do with lack of content ;)