Jump to content


Padding in FF and IE


10 replies to this topic

#1 Martijn

    Young Padawan

  • Members
  • Pip
  • 10 posts

Posted 11 July 2005 - 11:32 AM

Hi,

remember me?
I was the same one as on this topic: http://www.pixel2lif...?showtopic=8522 .
And again, I've got a problem with CSS in IE and FF :D
This is a screenshot with my problem:
Posted Image
As you can see, FF is reading the CSS at another way, AGAIN B)
I also know what mades the site do this.
It's this code:
  padding: 5px 0px 0px 10px;
Hope somebody knows what to do...

Greetings, Martijn

PS: Hopefully this is my last problem...
After the CSS thing I still have to Validate it, so stay tuned for my next problem :huh:

#2 softLearner

    Young Padawan

  • Members
  • Pip
  • 128 posts

Posted 11 July 2005 - 12:15 PM

Post all of your CSS for the problem your having rather than a line, as it is not always what u think is the problem.

Also to get better help rather than posting images of your design, try to provide a link to the page too, so we can see the source.

#3 Iysha

    Young Padawan

  • Members
  • Pip
  • 291 posts
  • Gender:Male
  • Location:london

Posted 11 July 2005 - 12:36 PM

i cant even see the image

#4 rc69

    PHP Master PD

  • P2L Staff
  • PipPipPipPip
  • 3,827 posts
  • Gender:Male
  • Location:Here
  • Interests:Web Development

Posted 11 July 2005 - 01:13 PM

My site had the same sort of problem. The only difference is, mine shifted the top/bottom to the left and the center stayed in place.
I would recommend looking Here if nobody can answer your problems.

#5 NGPixel

    Senior Programmer

  • P2L Staff
  • PipPipPipPip
  • 1,410 posts
  • Gender:Male
  • Location:Montreal, Canada
  • Interests:Web Design : Coding : Animation

Posted 11 July 2005 - 01:13 PM

Post the url of your page...

Actually, the problem isn't firefox but IE. Firefox is using standards of CSS. IE has a big lack in CSS support...

#6 Verve.

    Young Padawan

  • Members
  • Pip
  • 20 posts

Posted 11 July 2005 - 01:17 PM

NGPixel, on Jul 11 2005, 06:13 PM, said:

Post the url of your page...

Actually, the problem isn't firefox but IE. Firefox is using standards of CSS. IE has a big lack in CSS support...
yep, FF supports CSS2 dosent it and IE dosent, correct me if im wrong.

#7 greg

    Jedi In Training

  • Members
  • PipPip
  • 499 posts
  • Location:New York City
  • Interests:Fine art, web and graphic design, naval architecture, chess, and sports.

Posted 11 July 2005 - 02:46 PM

I answered the same kind of question from you in your other thread. Please at least read the replies to your questions if you're going to ask them.

http://www.pixel2lif...?showtopic=8522

Edited by greg, 11 July 2005 - 02:47 PM.


#8 Martijn

    Young Padawan

  • Members
  • Pip
  • 10 posts

Posted 11 July 2005 - 03:31 PM

greg, on Jul 11 2005, 07:46 PM, said:

I answered the same kind of question from you in your other thread. Please at least read the replies to your questions if you're going to ask them.

http://www.pixel2lif...?showtopic=8522
I do read all replys, I even replyed on them...
I just didn't get that 'box hack' you posted so that can't help me out.

And yes, I know the problems lies in CSS1 & CSS2, I just always say the problem is in other browsers then IE because IE was the first real big browser ;)

My page isn't online at the moment, but it will come online now I ran into some bugs I made myself when I was trying to debug it for the Validation :P

When the page is online I'll profide a link and then I'll just keep my fingers crossed hoping somebody could help me fix some problems.

The other person in the copyright (Xenopholis) normally does all coding and styling like this, so thats why I ran into a few problems.

This post had a lot of little pieces of text, now the final one:
I'm going to bed because it's 22:35 here in the Netherlands.
Hopefully my page will be online tomorrow, then I'll post it.

Goodnight and thanks for reading, Martijn

#9 Jaymz

    Retired P2L Staff

  • Members
  • PipPipPipPip
  • 4,104 posts

Posted 11 July 2005 - 03:45 PM

[quote name='Martijn' date='Jul 11 2005, 05:31 PM'] [quote name='greg' date='Jul 11 2005, 07:46 PM']I just always say the problem is in other browsers then IE because IE was the first real big browser :P [/quote]
However, the problem is in IE, because the standards compliant browsers display it perfectly. Do a google on the box model hack, it is the problem you are encountering.

#10 greg

    Jedi In Training

  • Members
  • PipPip
  • 499 posts
  • Location:New York City
  • Interests:Fine art, web and graphic design, naval architecture, chess, and sports.

Posted 12 July 2005 - 05:02 AM

Here is the box model hack (again): http://www.tantek.co...xmodelhack.html

This time, if you don't understand something, just ask, instead of making another thread about it.

#11 Martijn

    Young Padawan

  • Members
  • Pip
  • 10 posts

Posted 12 July 2005 - 11:02 AM

greg, on Jul 12 2005, 10:02 AM, said:

Here is the box model hack (again): http://www.tantek.co...xmodelhack.html

This time, if you don't understand something, just ask, instead of making another thread about it.
Alright then.
I readed the box hack again and this is my question, and also the reason why I started a new topic.
How can a thing to fix the width bug help me with my padding problem and how do I even use it, my mothertongue isn't English and it's hard enough to work in forums like this.
Hopefully you can help me then.
And sorry for this, hope I didn't make you mad :D

Well... trying to make it give no errors on the W3 Validators I messed some things up...
Now the divs don't even listen in IE anymore and the div in FireFox isn't centered anymore...
I really hope anyone can tell me in what point I'm ruining my layout.
This is the page it self with links to the validators and the HTML in it:
http://typointernet.ty.funpic.org/
And here you can see the design saved from PSD to JPG:
http://typointernet.....org/design.jpg

Thanks for reading and sorry for troubling you :( , Martijn




Never mind, problem solved!
Thnx for all support, without this forum I couldn't have done it :P
It's now validated HTML 4.1 Transitional and validated CSS with box hack -thnx greg- .
You can view it here: http://typointernet.ty.funpic.org/
If the browser you're using still acts funny please PM me or reply.

Thnx & Greetings, Martijn

Edited by Martijn, 13 July 2005 - 05:21 AM.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users