AAARGH I hate frames
#1
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!
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!
#2
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>
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>
#4
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.
<body topmargin="0" leftmargin="0">
You should find this makes the image snap to the top and left side of the frame.
Trending Topics
#8
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