Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 02:57 pm EST

Geeklog Forums

Help with HTML in Header


Status: offline

Tutlan

Forum User
Newbie
Registered: 03/06/03
Posts: 9
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 and this is what it should like here





Here is the HTML I am using so far to achieve these results.
Text Formatted Code
<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
Can someone help me
 Quote

Status: Banned

machinari

Forum User
Full Member
Registered: 03/22/04
Posts: 1512
you need to close the img tag to start with.
like this
Text Formatted Code
<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"
 Quote

Status: offline

samstone

Forum User
Full Member
Registered: 09/29/02
Posts: 820
You should use two td and put one graphic in each td .

Set the second td to align right.

Sam
 Quote

Status: Banned

machinari

Forum User
Full Member
Registered: 03/22/04
Posts: 1512
and after all that ... I agree with samstone Giving it a try
 Quote

Status: offline

Tutlan

Forum User
Newbie
Registered: 03/06/03
Posts: 9
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?
 Quote

Status: offline

samstone

Forum User
Full Member
Registered: 09/29/02
Posts: 820
you need "margin:0px" in the style.scc "body" tag.

Or simply add margin="0" in the header's "body" setting.

Sam
 Quote

Status: offline

Tutlan

Forum User
Newbie
Registered: 03/06/03
Posts: 9
Thanks again sam, you da man
 Quote

All times are EST. The time is now 02:57 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content