20 replies [Last post]
iNteRn
Offline
newbie
Last seen: 12 years 12 weeks ago
Joined: 2007-03-28
Posts: 9
Points: 0

I have a huge problem. The problem is that i can't get my website to work in both ie and ff, because as soon as i make everything right in FF it get's messed up in IE.

I know this is like the most n00biesh problem ever, but i've never got an answer on how to fix this, and what's causing it....some help or an explanation would be lovely

Phreestyle
Phreestyle's picture
Offline
Enthusiast
Australia
Last seen: 3 years 36 weeks ago
Australia
Timezone: GMT+8
Joined: 2007-05-12
Posts: 235
Points: 6

I can't help you with your

I can't help you with your specific problem, but I can help you with this information.

These guys won't even respond if you haven't supplied all your code (inside code tags), if you haven't validated your page with the W3C and particularly if you haven't got a DOCTYPE.
All the information you need is here on the site.
cheers

Life's a journey. Enjoy the trip.

iNteRn
Offline
newbie
Last seen: 12 years 12 weeks ago
Joined: 2007-03-28
Posts: 9
Points: 0

Jieks...so, the codes!?,

Jieks...so, the codes!?, validation, and the right DOCTYPE.....that was helpfull >.<

I get everything but the codes..?

Phreestyle
Phreestyle's picture
Offline
Enthusiast
Australia
Last seen: 3 years 36 weeks ago
Australia
Timezone: GMT+8
Joined: 2007-05-12
Posts: 235
Points: 6

I just got here myself, but

I just got here myself, but I've read a lot of threads. That's what they'll tell you and it's good advice.
I came here a week ago with a similar question to yours, and fixing the DOCTYPE fixed the problem immediately.

Life's a journey. Enjoy the trip.

mihirc
mihirc's picture
Offline
Leader
Pune, Maharashtra, India
Last seen: 5 years 7 weeks ago
Pune, Maharashtra, India
Timezone: GMT+5.5
Joined: 2007-05-09
Posts: 728
Points: 204

hi iNteRn, Well, each

hi iNteRn,

Well, each person here is a web-designer and each web-designer has to fix the problems in IE. But we really cant help you, if you dont giv us a code, and your css. Plus you gotto validate your page. And if possible a live link, the its much much easier. And you should have read the sticies, its all explained quite well there...

mihir Smile

Proprietor - Thoughtfulviewfinder Services
Web Development | Design | Merchandise | Photography
My personal blog: MihirChhatre.com

iNteRn
Offline
newbie
Last seen: 12 years 12 weeks ago
Joined: 2007-03-28
Posts: 9
Points: 0

Okey, it seems like hard

Okey, it seems like hard work and reading is the only way to understand this, thnx for the anwsers guys, ill get back when i've learned a little more Tongue

thepineapplehead
thepineapplehead's picture
Offline
Guru
Last seen: 1 year 5 weeks ago
Timezone: GMT+1
Joined: 2004-06-30
Posts: 9668
Points: 801

You, er, could just post all

You, er, could just post all your code, and we could fix it for you?

Verschwindende wrote:
  • CSS doesn't make pies

iNteRn
Offline
newbie
Last seen: 12 years 12 weeks ago
Joined: 2007-03-28
Posts: 9
Points: 0

but it's not a code problem,

but it's not a code problem, it's the overall difference between FF and IE, like...margin-top:9px; in FF is 9px, but it's like 19 in IE....

mihirc
mihirc's picture
Offline
Leader
Pune, Maharashtra, India
Last seen: 5 years 7 weeks ago
Pune, Maharashtra, India
Timezone: GMT+5.5
Joined: 2007-05-09
Posts: 728
Points: 204

hi, as i said, earlier... is

hi,
as i said, earlier... is it possible for you to giv us a live site? and the codes... see its just not possible to help, if we dont know... what we r trying to provide a solution for...

mihir Smile

Proprietor - Thoughtfulviewfinder Services
Web Development | Design | Merchandise | Photography
My personal blog: MihirChhatre.com

Peter Mount
Peter Mount's picture
Offline
Regular
Melbourne Australia
Last seen: 12 years 18 weeks ago
Melbourne Australia
Timezone: GMT+10
Joined: 2004-08-08
Posts: 19
Points: 0

This is a good link to

This is a good link to explain how to handle differences between IE and Firefox:

http://24ways.org/2005/avoiding-css-hacks-for-internet-explorer

It shows how to use selectors and child selectors in CSS.

Have fun

iNteRn
Offline
newbie
Last seen: 12 years 12 weeks ago
Joined: 2007-03-28
Posts: 9
Points: 0

* html div#header

Thnx, ill read that!

* html div#header {margin-top:-3px;}

That is almost the same code i used that ended up wrong.....hmm...

thepineapplehead
thepineapplehead's picture
Offline
Guru
Last seen: 1 year 5 weeks ago
Timezone: GMT+1
Joined: 2004-06-30
Posts: 9668
Points: 801

iNteRn wrote:but it's not a

iNteRn wrote:
but it's not a code problem, it's the overall difference between FF and IE, like...margin-top:9px; in FF is 9px, but it's like 19 in IE....

For goodness sake. Show us the code! You may not have a doctype, you could be suffering the double margin bug, it could be anything.

Verschwindende wrote:
  • CSS doesn't make pies

iNteRn
Offline
newbie
Last seen: 12 years 12 weeks ago
Joined: 2007-03-28
Posts: 9
Points: 0

Okay, here's the Live

Okay, here's the Live verison

http://www.royalgfx2.com/haloware/SketchFactory/index.html

The problem is the space between the banner and the window.

CSS Code

/* CSS Document */

/* D E S I G N */

/* Header */
#header {
width: 731px;
height: 128px;
background-image:url(images/sketch_01.gif);




}
/* Navigation */
#nav {
width: 731px;
height: 36px;

background-color:#612d48;
}
/* Site */
#content {
width: 731px;
height: 163px;
}
/*Text*/
#h1 {
margin-top: 0;
padding-top: 0;
}
/* Footer */
#footer {
width: 731px;
height: 104px;
background-color:#7c4b67;
}

HTML

fak

thepineapplehead
thepineapplehead's picture
Offline
Guru
Last seen: 1 year 5 weeks ago
Timezone: GMT+1
Joined: 2004-06-30
Posts: 9668
Points: 801

That's the default padding

That's the default padding on the body element.

html, body {margin: 0; padding: 0;}

will fix it up

Verschwindende wrote:
  • CSS doesn't make pies

iNteRn
Offline
newbie
Last seen: 12 years 12 weeks ago
Joined: 2007-03-28
Posts: 9
Points: 0

What should do with that?

What should do with that?

thepineapplehead
thepineapplehead's picture
Offline
Guru
Last seen: 1 year 5 weeks ago
Timezone: GMT+1
Joined: 2004-06-30
Posts: 9668
Points: 801

Put it in your CSS file

Put it in your CSS file Wink

Verschwindende wrote:
  • CSS doesn't make pies

wolfcry911
wolfcry911's picture
Offline
Guru
MA, USA
Last seen: 5 years 29 weeks ago
MA, USA
Timezone: GMT-5
Joined: 2004-09-01
Posts: 3224
Points: 237

and lose the center tag -

and lose the center tag - it's been deprecated for eons now.

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 4 years 36 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

wolfcry911 wrote:and lose

wolfcry911 wrote:
and lose the center tag - it's been deprecated for eons now.

No, actually for millennia :rolleyes:

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

wolfcry911
wolfcry911's picture
Offline
Guru
MA, USA
Last seen: 5 years 29 weeks ago
MA, USA
Timezone: GMT-5
Joined: 2004-09-01
Posts: 3224
Points: 237

Well, I haven't been around

Well, I haven't been around as long as you have Laughing out loud

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 4 years 36 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

wolfcry911 wrote:Well, I

wolfcry911 wrote:
Well, I haven't been around as long as you have Laughing out loud

Careful or I'll scratch your eyes out!

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 1 day 2 hours ago
Dallas
Timezone: GMT-5
Joined: 2004-06-25
Posts: 9743
Points: 3822

Let's see, Wolfie. HTML 4

Let's see, Wolfie. HTML 4 was adopted 24 April, 1998, and html 4.01 was adopted 24 December, 1999, both of which were in the previous millennium, but still only ten years ago. So, let's not have that 'haven't been around as long as you' stuff. Harumph!

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.