Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

AAARGH I hate frames

Thread Tools
 
Search this Thread
 
Old 30 September 2002, 10:15 PM
  #1  
GarnetFox
Scooby Regular
Thread Starter
 
GarnetFox's Avatar
 
Join Date: May 2002
Posts: 3,107
Likes: 0
Received 0 Likes on 0 Posts
Angry

I'm trying to create frames for my website, the usual thing: Row at top for banner, column at left for index.

I'm having trouble with the banner. It's leaving white borders around the image. If I make the image bigger, the scroll bars appear and the white borders stay. Like this:



Help please!
Old 30 September 2002, 11:11 PM
  #2  
DazV
Scooby Regular
 
DazV's Avatar
 
Join Date: Jun 2000
Posts: 3,783
Likes: 0
Received 0 Likes on 0 Posts
Post

Lots of things you can use to remove borders.

eg...

<frameset framespacing="0" frameborder="0" cols="100%">

<frame name="mid_high" src="mid_high.html" marginwidth="0" marginheight="0" scrolling="no" frameborder="0">
<frame name="centre" src="welcome.html" marginwidth="10" marginheight="10" scrolling="auto" frameborder="0">
<frame name="mid_low" src="mid_low.html" marginwidth="0" marginheight="0" scrolling="no" frameborder="0">

</frameset>
Old 30 September 2002, 11:43 PM
  #3  
dsmith
Scooby Regular
 
dsmith's Avatar
 
Join Date: Mar 1999
Posts: 4,518
Likes: 0
Received 0 Likes on 0 Posts
Post

Thought frames were frowned on these days ?
Old 30 September 2002, 11:45 PM
  #4  
AdrianFRST
Scooby Regular
 
AdrianFRST's Avatar
 
Join Date: Oct 2000
Posts: 368
Likes: 0
Received 0 Likes on 0 Posts
Post

You need to specify a margin of zero for your pages. The HTML for this is topmargin="0" leftmargin="0" in the body tag:

<body topmargin="0" leftmargin="0">

You should find this makes the image snap to the top and left side of the frame.
Old 30 September 2002, 11:45 PM
  #5  
GarnetFox
Scooby Regular
Thread Starter
 
GarnetFox's Avatar
 
Join Date: May 2002
Posts: 3,107
Likes: 0
Received 0 Likes on 0 Posts
Post

cheers!

I'm not dithering between frames and tables.
Old 01 October 2002, 12:30 AM
  #6  
DazV
Scooby Regular
 
DazV's Avatar
 
Join Date: Jun 2000
Posts: 3,783
Likes: 0
Received 0 Likes on 0 Posts
Post

If you want search engines to pick up your site, don't make your home page frame based, as it confuses them.
Old 01 October 2002, 01:08 AM
  #7  
GarnetFox
Scooby Regular
Thread Starter
 
GarnetFox's Avatar
 
Join Date: May 2002
Posts: 3,107
Likes: 0
Received 0 Likes on 0 Posts
Post

Right, I'm going to attempt tables. There'll probably be another post here in the next couple of days with me sayign ....'I'm stuuuuuuuuuck!' again.

Trending Topics

Old 01 October 2002, 01:55 PM
  #8  
ADP
Scooby Regular
 
ADP's Avatar
 
Join Date: Apr 2001
Posts: 3,823
Likes: 0
Received 1 Like on 1 Post
Post

http://www.w3schools.com/default.asp

this may help, er both!
Old 01 October 2002, 04:04 PM
  #9  
rik1471
Scooby Regular
 
rik1471's Avatar
 
Join Date: Nov 2001
Posts: 4,788
Likes: 0
Received 0 Likes on 0 Posts
Post

I wouldn't use frames, use ASP include header and navigation bars.
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Mattybr5@MB Developments
Full Cars Breaking For Spares
28
28 December 2015 11:07 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
12
18 November 2015 07:03 AM
FuZzBoM
Wheels, Tyres & Brakes
16
04 October 2015 09:49 PM
lozgti1
Non Scooby Related
8
28 September 2015 03:49 AM
errminator
Wanted
4
16 September 2015 01:20 PM



Quick Reply: AAARGH I hate frames



All times are GMT +1. The time now is 02:28 PM.