 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
nimlad
Joined: 28 Jul 2008 Posts: 1
|
Posted: Mon Jul 28, 2008 11:05 pm IE vs Firefox image placing table issue |
|
|
|
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: 1417 Location: Biloxi, MS
|
Posted: Thu Jul 31, 2008 1:47 pm |
|
|
|
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. |
|
|
|
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
|
|
|
|
|
 |
|
|
|
|
|
|
|