kennyaidan
Programmer
Hi Guys,
I'm new to HTML and i am only learning it for the past few weeks. I am trying to set up a web page which will be made up of frames. There will be a header frame, sidebar frame and main frame. I set the frameset up fine and the sidebar and main pages work well, however i am having problems with the header file. I want to include images in the header file however when i try to put in all the images I get a scroll bar at the bottom of the page because I have exceeded the width requirement for my screen.
I want the images to appear in the following order
Logo.gif|spacer.gif|Main_title.gif|Spacer.gif(width="100%"|crest.gif|
Here's is my basic header code
<html>
<head>
<TITLE>AIDAN's Web Page</TITLE>
</head>
<body bgcolor=#000000 leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH="100%">
<TR WIDTH="100%">
<TD WIDTH="145">
<IMG SRC="logo.gif" WIDTH=145 HEIGHT=89 ALT=""></TD>
<TD WIDTH="120">
<IMG SRC="spacer.gif" WIDTH=120 HEIGHT=89 ALT=""></TD>
<TD WIDTH="286">
<IMG SRC="main_title.gif" WIDTH=286 HEIGHT=89 border="0"></TD>
<!-- I need this spacer to take the width slack, it needs to be able to adjust the header size to different screen sizes-->
<TD WIDTH="100%">
<IMG SRC="spacer.gif" WIDTH="100%" HEIGHT=89 ALT=""></TD>
<TD WIDTH="66">
<IMG SRC="crest.gif" WIDTH=66 HEIGHT=89 ALT=""></TD>
</TR>
</TABLE>
</body>
</html>
The problem seems to be the spacer.gif when the width ="100%" tag. It has a set size and won't adjust correctly.
If anyone would have any tips greatly appreciated
thanks
aidan
I'm new to HTML and i am only learning it for the past few weeks. I am trying to set up a web page which will be made up of frames. There will be a header frame, sidebar frame and main frame. I set the frameset up fine and the sidebar and main pages work well, however i am having problems with the header file. I want to include images in the header file however when i try to put in all the images I get a scroll bar at the bottom of the page because I have exceeded the width requirement for my screen.
I want the images to appear in the following order
Logo.gif|spacer.gif|Main_title.gif|Spacer.gif(width="100%"|crest.gif|
Here's is my basic header code
<html>
<head>
<TITLE>AIDAN's Web Page</TITLE>
</head>
<body bgcolor=#000000 leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH="100%">
<TR WIDTH="100%">
<TD WIDTH="145">
<IMG SRC="logo.gif" WIDTH=145 HEIGHT=89 ALT=""></TD>
<TD WIDTH="120">
<IMG SRC="spacer.gif" WIDTH=120 HEIGHT=89 ALT=""></TD>
<TD WIDTH="286">
<IMG SRC="main_title.gif" WIDTH=286 HEIGHT=89 border="0"></TD>
<!-- I need this spacer to take the width slack, it needs to be able to adjust the header size to different screen sizes-->
<TD WIDTH="100%">
<IMG SRC="spacer.gif" WIDTH="100%" HEIGHT=89 ALT=""></TD>
<TD WIDTH="66">
<IMG SRC="crest.gif" WIDTH=66 HEIGHT=89 ALT=""></TD>
</TR>
</TABLE>
</body>
</html>
The problem seems to be the spacer.gif when the width ="100%" tag. It has a set size and won't adjust correctly.
If anyone would have any tips greatly appreciated
thanks
aidan