HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
IE vs Firefox image placing table issue
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Table
View previous topic :: View next topic  
Author Message
nimlad



Joined: 28 Jul 2008
Posts: 1

PostPosted: Mon Jul 28, 2008 11:05 pm     IE vs Firefox image placing table issue Reply with quote

hey,
thanks for opening this thread
im having a few issues with my website, for some reason in IE the tables/pics are not aligned in the same way they are in dreamweaver, firefox or safari... anyone help curing this problem
so its fine in firefox or safari, but silly in IE.

heres the page

http://www.spawellingborough.co.uk



it seems to be a wrapping issue for the images
if i have wrap on FF and others works fine and IE looks silly
if i select nowrap then IE works fine and the others looks silly
could it possible be something to do with cell spacing in the tables?

code viewable at website link above

thanks in advance

Nim
PayneLess Designs



Joined: 28 Feb 2007
Posts: 1210
Location: Biloxi, MS

PostPosted: Thu Jul 31, 2008 1:47 pm     Reply with quote

Never style the body tag directly. Remove this: <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> and just put <body>

Right after your opening style tag add the following as shown:

Code:
<style type="text/css">
* { margin: 0; padding: 0; border: 0; }


This must be at very top of all CSS styling.

If you use table tag attibutes, either use inline CSS styling or move the styling for commonly styled tags to the CSS style tags between the head tags:

Example:

Code:
<td rowspan="11" style="width: 541px; text-align: center; vertical-align: top; border: 1px solid #333; background: #fff;">


If you have multiple td tags with same styling, move the styling to style tags and set a class.

IE does have its problems.

Firefox is the only browser that meets most of the CSS2.1 standards. IE (all versions) are very, very sloppy when it comes to showing web pages which makes it so popular for IE only users as it is very forgiving of badly written code.
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Table All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial