Forum Home
Press F1
 
Thread ID: 107517 2010-02-19 07:06:00 CSS Background - noob question WarNox (8772) Press F1
Post ID Timestamp Content User
859930 2010-02-21 03:23:00 Can I ask why you are using frames in the first place? Very uncommon nowadays.

I'm not sure, just what I was playing around with. What would you recommend instead of using frames? PHP Tables?


Had a bit of a play around, and yes the frame border can be eliminated (www.imagef1.net.nz).



<html>
<head>
<title>Frame Type 1</title>
</head>
<frameset rows="100,*" frameborder=no>
<frame src="frame_files/framein_a.htm">
<frameset cols="200,*" frameborder=no>
<frame src="frame_files/framein_b.htm">
<frame src="frame_files/framein_c.htm">
</frameset>
</frameset>
</html>


I know the border can be eliminated but if the background is not just a solid colour (ie. a gradient) you will be able to see where each frame stops/starts.
WarNox (8772)
859931 2010-02-21 03:32:00 I'm not sure, just what I was playing around with. What would you recommend instead of using frames? PHP Tables?

Use PHP or, at the very least, an external Javascript file. I used an iframe once - it didn't work properly in IE. :rolleyes:
pcuser42 (130)
859932 2010-02-21 03:40:00 What about SSI? WarNox (8772)
859933 2010-02-21 05:25:00 That could work too. pcuser42 (130)
859934 2010-02-21 05:34:00 Oh I mean what do you think is a better solution :) I'm thinking of making a website and wondering what to use. WarNox (8772)
859935 2010-02-21 05:36:00 To be honest I put my navbar in the HTML file itself :blush:

If your server only supports HTML files, then Javascript is all you can use. However, if you don't mind having .php or .shtml files instead, use PHP or SSI. (I'd use PHP as that's what I know. :p)
pcuser42 (130)
859936 2010-02-21 06:24:00 Its my own server so it supports everything :)

Thanks for your input. I'll play around with php.
WarNox (8772)
1 2