473,396 Members | 2,011 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

IE Margin Issue

22
Hey all,
I'm sure this has been asked before but I can't seem to find the answer (don't know exactly how to word it)...

I've got a table and I set the margin like so:
Expand|Select|Wrap|Line Numbers
  1. style="margin:0px 40px;"
In FF it looks fine... in IE, the right margin of the table appears to be zero (text pushed right against right-side of window). I tried writing like so:
Expand|Select|Wrap|Line Numbers
  1. style="margin-left: 40px; margin-right: 40px;"
but the same problem occurs.. I also tried increasing the margin-right to 80px thinking that maybe there was some kinda offset issue but the text is still pressed against the right-side of the window.

Any thoughts?
Nov 22 '07 #1
2 1217
Mugs321
22
I seem to have fixed the problem... though I don't know why it was happening in the first place (guessin an IE bug)...

I forgot to mention in the previous post that this was a nested table. As such, I used padding on the cell the table was located in instead of setting the magin on the nested table itself:
[HTML]<td colspan="2" style="padding:0px 40px;">[/HTML]

It now looks the same in both browsers. I'd still appreciate a reply if anyone knows why this happened.
Nov 22 '07 #2
drhowarddrfine
7,435 Expert 4TB
It's always an IE bug.

I rarely use tables for anything so I'm not much help here.
Nov 22 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: Warren Post | last post by:
Here's a problem I've never seen before. On <http://snow.prohosting.com/srcopan/anti/>, should the viewport width be less than the width of the page's header, then the right margin becomes stuck...
2
by: Stanimir Stamenkov | last post by:
I'm trying to clear some sizing issues relative to the initial containing block and the root document element. The sample document I'm trying with: http://stanio.info/viewport_fill.html ...
10
by: Alan Silver | last post by:
Hello, In my (seemingly) endless quest to understand CSS, I have yet another problem. Please look at http://www.kidsinaction.org.uk/ph/x.html in Opera, where you will see it how I expected. If...
1
by: runway27 | last post by:
i am having a serious issue with ie 7 i really need help. i am using a center layout using 900px the center layout looks and works fine in all browsers except for ie7 i have used a border for...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.