Members Login.
 

Please register HERE to be part of our Community
Contest of the Day.
 
Current Promotions.
 
Refer your friends to this forum and earn BRL per referred member.

Post a New Thread anywhere on Web Development Board to earn BRL$ 5 for every thread. Post a New Reply there and earn BRL$ 3 for every reply.

Post a New Thread anywhere on Search Engine Optimization Board and earn BRL$ 5 for every thread.
Earn By Posting
 
Participate in forum and Earn $$$.

Get Referrer Credit - BRL$ 20
Get Positive Rep Cr. - BRL$ 3
Get New Thread Cr.- BRL$ 3
Get Posting Cr. - BRL$ 2
Get Post size Credit

Full List of BRL$ Earnings
Sponsors.
 


Website Layout A properly designed website will improve your search engine rankings. Discuss about how to use CSS, Images, text in your website. Get the reviews of your website layouts.

   

How to fix padding diferrent in IE?


This is a discussion on How to fix padding diferrent in IE? within the Website Layout forums, part of the Search Engine Optimization Board category; Hi, as most of people use CSS to design web site/s, you should know that Internet Explorer have some ...

Reply
  #1 (permalink)  
Old 05-22-2008
Jr. Member

Join Date: May 2008
Location: Asia - Malaysia - Penang
Posts: 903
BRL$: 17.89
Thanks: 3
Thanked 16 Times in 16 Posts
Rep Power: 100
GoycP will become famous soon enough
Send a message via MSN to GoycP Send a message via Skype™ to GoycP
Default How to fix padding diferrent in IE?

Hi,
as most of people use CSS to design web site/s,
you should know that Internet Explorer have some different in padding,
which doesn't follow the rules of W3C.

Which method you use to fix this problem?
Using "Hack" or create a IE-only CSS style?
__________________
Trusted Web Earn :
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.

Let's Get Paid To :
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.

New Ways, New Life, My life story:
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.



To receive latest updates about BRL Forums, Subscribe to Latest Updates Thread.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-24-2008
New Foot Prints

Join Date: May 2008
Posts: 21
BRL$: -8.72
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
net2dollar is on a distinguished road
Default Re: How to fix padding diferrent in IE?

the block width don't calculate 'padding' width in ie but does in firefox.
u can write "!important" code in css for firefox.
i advise u don't use 'padding' in current block,use 'margin' in current block,it can make u calculate the block width exactly.
the 'margin' width in ie is 2 pixels less than in firefox,u need to use "!inportant" code to fix it for firefox.but if you add some w3c code in the front of your html code.you don't need to fix it in firefox.


To receive latest updates about BRL Forums, Subscribe to Latest Updates Thread.

Last edited by net2dollar; 05-24-2008 at 05:09 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-24-2008
Jr. Member

Join Date: May 2008
Location: Asia - Malaysia - Penang
Posts: 903
BRL$: 17.89
Thanks: 3
Thanked 16 Times in 16 Posts
Rep Power: 100
GoycP will become famous soon enough
Send a message via MSN to GoycP Send a message via Skype™ to GoycP
Default Re: How to fix padding diferrent in IE?

Quote:
the block width don't calculate 'padding' width in ie but does in firefox.
u can write "!important" code in css for firefox.
i advise u don't use 'padding' in current block,use 'margin' in current block,i can make u calculate the block width exactly.
the 'margin' width in ie is 2 pixels less than in firefox,u need to use "!inportant" code to fix it for firefox.but if you add some w3c code in the front of your html code.you don't need to fix it in firefox.
Nope, actually not problem on FireFox,
it's problem on Internet Explorer.

Width should calculate padding in all browser(state in W3C for valid HTML rules).
All other browser included FireFox, Opera and Safari follow this rules,
but Internet Explorer doesn't.
__________________
Trusted Web Earn :
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.

Let's Get Paid To :
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.

New Ways, New Life, My life story:
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.



To receive latest updates about BRL Forums, Subscribe to Latest Updates Thread.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 05-24-2008
New Foot Prints

Join Date: May 2008
Posts: 21
BRL$: -8.72
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
net2dollar is on a distinguished road
Default Re: How to fix padding diferrent in IE?

Quote:
Nope, actually not problem on FireFox,
it's problem on Internet Explorer.

Width should calculate padding in all browser(state in W3C for valid HTML rules).
All other browser included FireFox, Opera and Safari follow this rules,
but Internet Explorer doesn't.
padding is not been calculated in firefox,i'm wrong.

don't use "padding" in current block,u can build a sub block in current block.using "margin" in sub block equals using "padding" in current block.


To receive latest updates about BRL Forums, Subscribe to Latest Updates Thread.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 05-24-2008
Jr. Member

Join Date: May 2008
Location: Asia - Malaysia - Penang
Posts: 903
BRL$: 17.89
Thanks: 3
Thanked 16 Times in 16 Posts
Rep Power: 100
GoycP will become famous soon enough
Send a message via MSN to GoycP Send a message via Skype™ to GoycP
Default Re: How to fix padding diferrent in IE?

Quote:
padding is not been calculated in firefox,i'm wrong.

don't use "padding" in current block,u can build a sub block in current block.using "margin" in sub block equals using "padding" in current block.
I also blur in this statement.
But as in W3C said,
All browser follow their rules,
except for the stubborn Internet Explorer.
__________________
Trusted Web Earn :
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.

Let's Get Paid To :
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.

New Ways, New Life, My life story:
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.



To receive latest updates about BRL Forums, Subscribe to Latest Updates Thread.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 05-24-2008
New Foot Prints

Join Date: May 2008
Posts: 21
BRL$: -8.72
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
net2dollar is on a distinguished road
Default Re: How to fix padding diferrent in IE?

Quote:
I also blur in this statement.
But as in W3C said,
All browser follow their rules,
except for the stubborn Internet Explorer.
u can also handle it like this:

#header {
WIDTH:100px;
WIDTH :120px !IMPORTANT;
PADDING:10px;
}


To receive latest updates about BRL Forums, Subscribe to Latest Updates Thread.

Last edited by net2dollar; 05-24-2008 at 05:27 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 05-24-2008
Jr. Member

Join Date: May 2008
Location: Asia - Malaysia - Penang
Posts: 903
BRL$: 17.89
Thanks: 3
Thanked 16 Times in 16 Posts
Rep Power: 100
GoycP will become famous soon enough
Send a message via MSN to GoycP Send a message via Skype™ to GoycP
Default Re: How to fix padding diferrent in IE?

Quote:
use also can handle it like this:

#header {
WIDTH:100px !IMPORTANT 120px;
PADDING:10px;
}
The pixels after important will recognize by Internet Explorer or FireFox?

If Internet Explorer, then everything is ok,
but if it for FireFox, then still have problem with Opera, Nescape and other browser.
__________________
Trusted Web Earn :
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.

Let's Get Paid To :
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.

New Ways, New Life, My life story:
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.



To receive latest updates about BRL Forums, Subscribe to Latest Updates Thread.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 05-24-2008
New Foot Prints

Join Date: May 2008
Posts: 21
BRL$: -8.72
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
net2dollar is on a distinguished road
Default Re: How to fix padding diferrent in IE?

Quote:
The pixels after important will recognize by Internet Explorer or FireFox?

If Internet Explorer, then everything is ok,
but if it for FireFox, then still have problem with Opera, Nescape and other browser.
#header {
WIDTH:100px;
WIDTH :120px !IMPORTANT;
PADDING:10px;
}

like this,IMPORTANT is specified for firefox


To receive latest updates about BRL Forums, Subscribe to Latest Updates Thread.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 05-24-2008
Jr. Member

Join Date: May 2008
Location: Asia - Malaysia - Penang
Posts: 903
BRL$: 17.89
Thanks: 3
Thanked 16 Times in 16 Posts
Rep Power: 100
GoycP will become famous soon enough
Send a message via MSN to GoycP Send a message via Skype™ to GoycP
Default Re: How to fix padding diferrent in IE?

Quote:
#header {
WIDTH:100px;
WIDTH :120px !IMPORTANT;
PADDING:10px;
}

like this,IMPORTANT is specified for firefox
Then will still have problem in other browser.

I remember that there is another better way,
by creating new CSS files, and set that files for IE only.
(ieonly.css)
But I not quite remember what the tag to use.
(The tag have to put in your HTML file),

I have try the function too,
and it's not bad.
__________________
Trusted Web Earn :
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.

Let's Get Paid To :
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.

New Ways, New Life, My life story:
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.



To receive latest updates about BRL Forums, Subscribe to Latest Updates Thread.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 05-24-2008
New Foot Prints

Join Date: May 2008
Posts: 21
BRL$: -8.72
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
net2dollar is on a distinguished road
Default Re: How to fix padding diferrent in IE?

Quote:
Then will still have problem in other browser.

I remember that there is another better way,
by creating new CSS files, and set that files for IE only.
(ieonly.css)
But I not quite remember what the tag to use.
(The tag have to put in your HTML file),

I have try the function too,
and it's not bad.
the best way to handling the problem is don't use 'padding' anywhere.
!IMPORTANT is only for firefox not for other browsers like safari and opera


To receive latest updates about BRL Forums, Subscribe to Latest Updates Thread.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
diferrent, fix, padding


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105