6 replies [Last post]
NeoNizer
Offline
newbie
Leiden,The Netherlands
Last seen: 18 years 39 weeks ago
Leiden,The Netherlands
Joined: 2004-09-07
Posts: 9
Points: 0

I'm currently doing a website for my korfbal( dutch sport) community, and it's coming along nciely.. the only thing that ticks me off is the the white space between both sections and the menu with the wrong width for submenu's... i've tried fixing it but failed... maybe u guys could help?

http://www.pernixtest.tk
thanks!

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 4 weeks 20 hours ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5344
Points: 2965

New site.. errors. :S

Hi NeoNizer,
You must be playing with it now as I reloaded the page and the gap halved.
Let us know if you need any more help.

NeoNizer
Offline
newbie
Leiden,The Netherlands
Last seen: 18 years 39 weeks ago
Leiden,The Netherlands
Joined: 2004-09-07
Posts: 9
Points: 0

New site.. errors. :S

Sorry about that Smile

off course i try what i can to fix it myself Smile
my problem is, that i have to fix this "gap" with relative positioning, rather then in the code... this gap also appears in a valid table, and is thus weird...

feel free to look at the code and main.css, they shouldn't be faulty as far as i know, but i've always coded on my own, never before with help of others.
scroll=no and the style of body.overflow = hidden are hacks cuz i'm making almost form fitting designs for 800x600, after that 1024 should be a lot easier.

they look well now in both FF and IE, except for the gap in FF betwen copy right and poll thingie...

any tips on how to code cleaner appreciated, i am off course still learning Smile especially crossbrowser coding is new to me, i've used only IE before but now have been adjusting to FF too... had some trouble.. :/

thanks in advance(i'm leaving it alone for an horu or two, but most changes will be content and the auto-closing of the menu, that;s all

tom_de_schlong
tom_de_schlong's picture
Offline
Enthusiast
UK
Last seen: 11 years 28 weeks ago
UK
Joined: 2004-06-13
Posts: 92
Points: 0

New site.. errors. :S

The best tip i have is to stop coding for IE, when you are creating a site do the main testing in firefox as this gets things right, when you have finished load it up in IE and then use some hacks to get around the problems,

a good hack to choose between IE and the standards compliant browsers is to use the html>body and the your id or class for example

#maincontent {
margin-left:10px;
}
html>body div#maincontent {
margin-left:5px;
}

Ie explorer doesn't understand html>body so it takes the first one into account, all other browsers however can so they read the second one and overwrite the first rule.

This is very useful for correcting IE6 box model problems.

Hope that helps

Want a free Ipod, live in the US or UK then please <a href="http//ipods.freepay.com/?r=21545802">check this out</a>. Plenty of people have already got one just search google for freeipods.com.

NeoNizer
Offline
newbie
Leiden,The Netherlands
Last seen: 18 years 39 weeks ago
Leiden,The Netherlands
Joined: 2004-09-07
Posts: 9
Points: 0

New site.. errors. :S

it sure does.. does this work for divisions too? would really help if it would

currently i'm learning up on div's trying to get off tables, what would be a good tutorial?i've gogled but nothing good came up yet, especially float is having me wondered

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 4 weeks 20 hours ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5344
Points: 2965

New site.. errors. :S

Hi NeoNizer,
There are some good articles on floats in the Useful CSS Links

NeoNizer
Offline
newbie
Leiden,The Netherlands
Last seen: 18 years 39 weeks ago
Leiden,The Netherlands
Joined: 2004-09-07
Posts: 9
Points: 0

New site.. errors. :S

Tank you tony, this has helped me to build http://213.10.97.17/pernixIE/index2.html

in CSS, with divs but no tables Smile

it went well, now i just need some guidelines on hacking IE, no problem i guess

but one
problem remains, i wish to have the site take the complete height of the screen... i have body height set to 100%, my holder div height to 100% and the content div height to 100%

without use... please help me >.>

Martin