Menu
Now I am finally done converting my site to css and ditching the tables… but when I check it I can see it is loading quite slow, or loading differently at least. Even after when I uploaded it. Everytime I visit a page with hidden layers they will be shown a second or two and then disappear. This didn´t occur when I had everything in tables, very strange.
[i]Originally posted by Triumph [/i]
[B][SIZE=4]So, let's see it. [/SIZE] [/B][/QUOTE]
[i]Originally posted by Siddan [/i]It doesn't?
[B]obviously, mac doesn´t support the display:inline [/B][/QUOTE]
[i]Originally posted by Triumph [/i]You've got a case of divitis and classitis...but there is a cure. ? It is not a bad case and not really enough to make a page load extremely slow so perhaps there is something else on the server side causing the delay?
[B]CSS coding can be as bloated as tables. [/B][/QUOTE]
<div id="marg">
<i> </i><a class="padd" href="start.php" target="_parent"><img src="img/men_home.gif" alt="Start" width="25" height="31" border="0"></a>&nbsp;
<i> </i><a class="padd" href="pics.php" target="_parent"><img src="img/men_pic.gif" alt="Bilder" width="24" height="31" border="0"></a>&nbsp;
<i> </i><a class="padd" href="flash.php" target="_parent"><img src="img/men_flash.gif" alt="Flash" width="26" height="31" border="0"></a>&nbsp;
<i> </i><a class="padd" href="dikter.php" target="_parent"><img src="img/men_dikter.gif" alt="Dikter" width="23" height="30" border="0"></a>&nbsp;
<i> </i><a class="padd" href="links.php" target="_parent"><img src="img/men_links.gif" alt="L&auml;nkar" width="23" height="31" border="0"></a>&nbsp;
<i> </i><a class="padd" href="guestbook.php" target="_parent"><img src="img/men_gbok.gif" alt="G&auml;stbok" width="31" height="31" border="0"></a>&nbsp;
<i> </i><a class="padd" href="tools.php" target="_parent"><img src="img/men_kugg.gif" alt="Tips&Verktyg" width="46" height="31" border="0"></a>&nbsp;
<i> </i></div>
could be replaced by: <div id="marg">
<a href="start.php" target="_parent"><img src="img/men_home.gif" alt="Start" width="25" height="31" border="0"></a>
<a href="pics.php" target="_parent"><img src="img/men_pic.gif" alt="Bilder" width="24" height="31" border="0"></a>
<a href="flash.php" target="_parent"><img src="img/men_flash.gif" alt="Flash" width="26" height="31" border="0"></a>
<a href="dikter.php" target="_parent"><img src="img/men_dikter.gif" alt="Dikter" width="23" height="30" border="0"></a>
<a href="links.php" target="_parent"><img src="img/men_links.gif" alt="L&auml;nkar" width="23" height="31" border="0"></a>
<a href="guestbook.php" target="_parent"><img src="img/men_gbok.gif" alt="G&auml;stbok" width="31" height="31" border="0"></a>
<a href="tools.php" target="_parent"><img src="img/men_kugg.gif" alt="Tips&Verktyg" width="46" height="31" border="0"></a>
</div>
by making a "div#marg a" definition in your css. not a lot but that's just one small part. ?[i]Originally posted by Siddan [/i]Give it a try and let us see the results! ?
[B]yea I could make that change.. but dreamweaver has an own way of hide/show layers so they will be hidden at the very first glance... [/B][/QUOTE]
[i]Originally posted by Siddan [/i]I never said it would cure your problem (I'm still not clear on what the problem is) I just said your code was bloated and that that was just an example. It continues throughout the rest of the page.
[B]and it is changed.. as you requested. Still the same prob remains...
I will make the hid/show layer within dreamweaver when I get the time .. mabybe late friday [/B][/QUOTE]
[i]Originally posted by Siddan [/i]You are allowing them to be visible in the css document and then hiding them with the javascript. If you want them to start out invisible from the start use "display: none" in the css. I did not see a "display: none" in your css.
[B]hehe ok...
but don´t you see all the hidden pics below load before they go invisible? Everytime you refresh you should the se pics visible a small fraction of time [/B][/QUOTE]
[i]Originally posted by Siddan [/i]You'll have to really clean up your code first then validate.
[B]I am also having trouble finding a suitable doc type to fit in my pages...
I am trying to read throughout the validator page... tried a couple but it just refuses to except [/B][/QUOTE]
[i]Originally posted by Siddan [/i]Oh, no!!! More lines! ?
[B]...by adding that line to every layer...[/B][/QUOTE]
[i]Originally posted by Siddan [/i]
[B]hehe I said I could live with that :p [/B][/QUOTE]
[i]Originally posted by Siddan [/i]Forever? No way. It would already work if you used web standards in the beginning. ?
[B]but alright... get it validated and properly rendered on a mac will take forever I guess.[/B][/QUOTE]
[i]Originally posted by Siddan [/i]Huh? This really concerns me. What makes you think that macs don't "work with inline"?
[B]Since it won´t work with inline, I don´t know yet what to replace so the layout will be the same.. [/B][/QUOTE]
[i]Originally posted by Siddan [/i]WHAT?!?!?! ? You can make h1 have any font size you desire.
[B]the validator doesn´t like when the H1 has an own font size property, silly [/B][/QUOTE]
0.1.9 — BETA 5.17