Posted on: 05/11/05 01:58am
By: Tutlan
I only know enough HTML to get by and I seem to be having a browser compatibility issue. I was changing around some things on my site today and thought I had everything right as it looked ok in Firefox. But when I checked it later in IE everything was messed up, so I went to a site that checks your site in multiple browsers I saw that the header is messed up most of the time in IE. So I thought there might be someone here that could help out.
I have 2 logos. 1 on the right side and one on the left with ..."Filler?" in the middle (dunno the term but small .jpg repeated over and over) anyways, heres some pictures. This is what it looks like in IE
here[*1] and this is what it should like
here[*2]
Here is the HTML I am using so far to achieve these results.
<td width="269" background="{layout_url}/theme-images/filler.jpg"><a href="{site_url}"><img src="{layout_url}/theme-images/tblm.jpg" alt="Welcome to The Blue Machine" border="0" align="left"></a> <img src="http://www.thebluemachine.com/layout/TBLM2/theme-images/logo2.jpg" align=right </td>
Anyone got a clue what I'm doing wrong?
Thanks in advance
Help with HTML in Header
Posted on: 05/11/05 02:28am
By: machinari
you need to close the img tag to start with.
like this
<td width="269" background="{layout_url}/theme-images/filler.jpg"><a href="{site_url}"><img src="{layout_url}/theme-images/tblm.jpg" alt="Welcome to The Blue Machine" border="0" alt="" align="left" /></a><img src="{layout_url}/theme-images/logo2.jpg" alt="" align="right" /></td>
and on the page in question you have a closing body and html tag right after that td--not good.
but your issue in question will be fixed if you get rid of the width="269"
Help with HTML in Header
Posted on: 05/11/05 02:32am
By: samstone
You should use two td and put one graphic in each td .
Set the second td to align right.
Sam
Help with HTML in Header
Posted on: 05/11/05 02:36am
By: machinari
and after all that ... I agree with samstone
Help with HTML in Header
Posted on: 05/11/05 08:25am
By: Tutlan
Thans guys! one last question. There is like a 3 pixel border around the entire site. I know I got rid of this somehow on another site i did awhile back but for the life of me I cant remember what file that was in, anyone know?
Help with HTML in Header
Posted on: 05/11/05 11:27am
By: samstone
you need "margin:0px" in the style.scc "body" tag.
Or simply add margin="0" in the header's "body" setting.
Sam
Help with HTML in Header
Posted on: 05/11/05 11:43am
By: Tutlan
Thanks again sam, you da man