8 replies [Last post]
dvd-jon
Offline
newbie
Last seen: 13 years 17 weeks ago
Joined: 2006-12-11
Posts: 5
Points: 0

Hey!

Ive finished my first web page now! But it doesnt work in IE, and its a little bug in mozilla. It works perfectly in both Opera and Safari. Today I tried for like 5-6 hours to make it work in IE, but it really wont work my ways...:/ Could anybody please look at it and try to find out how it could work in IE?
I really appreciate all the help I can get!

URL:
http://dvd-jon.splaash.org/nick

Best regards, Jon Freberg!

/moved back to Site Checks Laughing out loud

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

This therefore is not a site

This therefore is not a site ready for appraisal so moving to 'CSS Layouts' Site Checks is for sites requiring critiquing.

Someone will look at shortly Smile

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

dvd-jon
Offline
newbie
Last seen: 13 years 17 weeks ago
Joined: 2006-12-11
Posts: 5
Points: 0

css validate

I've checked, and its both css validated and html validated. Should I change the doctype? I've asked some guys at mirc, and I've tried out both XHTML 1.1 and html4.01, none of them worked. What else can I change?

Best Regards Jon Freberg

Triumph (not verified)
Anonymous's picture
Guru

dvd-jon wrote:... I've tried

dvd-jon wrote:
... I've tried out both XHTML 1.1 and html4.01, none of them worked.

Hmmm, what did you expect changing the doctype to do? A complete doctype simply puts your browser into standards mode and gives the validator something to test against. It's not a magic pill that makes a web site "work".

dvd-jon
Offline
newbie
Last seen: 13 years 17 weeks ago
Joined: 2006-12-11
Posts: 5
Points: 0

but in my css file, I don't

but in my css file, I don't have anything thats positioned absolute..
everything is relative..
As I said, I'm kind of new in this, so things arent so obvious..A guy at mirc told me that all I had to do was to convert it to html 4.01, so I guess he was wrong..
So what I need to do is reconstruct my css file. Ive read somthing about in IE, the padding and margin is included in the width, but can't I just add en extra "note" in my css file that tells the browser that if its opened in IE, use these widhts instead of the originals? My teacher at school showed me something like this one time.. Or what exactly do I need to fix to make it work equally in every browser?

Best Regards, Jon Freberg

Triumph (not verified)
Anonymous's picture
Guru

dvd-jon wrote:but in my css

dvd-jon wrote:
but in my css file, I don't have anything thats positioned absolute.. ...

Are you referring to my signature line that follows all of my posts?

dvd-jon
Offline
newbie
Last seen: 13 years 17 weeks ago
Joined: 2006-12-11
Posts: 5
Points: 0

yeah, I was, sorry ^^ But

yeah, I was, sorry ^^
But does anybody know how to make it work in IE?

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 21 hours 57 min ago
Dallas
Timezone: GMT-5
Joined: 2004-06-25
Posts: 9754
Points: 3836

To ul, add {margin: 0;}. IE

To ul, add {margin: 0;}.

IE sets the list indention with a left margin of 40px. Firefox uses padding to set the indention, so setting your own padding value overrode its {padding-left: 40px;}.

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.

dvd-jon
Offline
newbie
Last seen: 13 years 17 weeks ago
Joined: 2006-12-11
Posts: 5
Points: 0

Fixed the ul : margin:

Fixed the ul : margin: 0;
Then I wrote float: right; in #content which made the content frame move over to the right, the I added #ramme > #content {
margin: auto;
}

and then it all worked Smile

Thx for all help,

Best Regards Jon Freberg