 |
 |
Av |
 |
Innlegg |
 |
 |
 |
 |
 |
 |
BagBiter
Veronica


Ble Medlem: 10 Mar 2003 Innlegg: 885 Bosted: Kopervik, Karmøy
|
Hvorfor funker denne sia bare i Safari?
http://home.no.net/bagbiter/webstein
det er altså et lite tulleprosjekt jeg holder på med på skolen, men jeg får den kun til å fungere helt perfekt i Safari-browseren og ingen andre..!
Fiks!
|
_________________ Blogging: If minds had anuses, blogging would be what your mind would do when it had to take a dump.
Skrevet: Tir 20 Apr 2004, 20:35 |
 |
|
 |
 |
 |
 |
 |
 |
 |
haakoo
Slushpuppy!


Ble Medlem: 09 Mar 2003 Innlegg: 2220 Bosted: Oslo
|
Enkleste måten å fikse siden på er å skrive gyldig HTML og CSS, det står allerede i en annen tråd hvor du finner informasjon om dette.
En mulig feil kan være 'tegnet' du bruker som linjeskift, hvilket program har du skrevet siden i?
Jeg leser i alle fall ikke koden før den er fornuftig linjedelt 
|
Skrevet: Tir 20 Apr 2004, 22:37 |
 |
|
 |
 |
 |
 |
 |
 |
 |
knuta
Varm i trøya

Ble Medlem: 14 Apr 2004 Innlegg: 60 Bosted: Trondheim
|
Prøv å sjekke siden på http://validator.w3.org/
Tidy er et søtt lite program som w3c http://w3.org/ har laget. Dette er hva det sier når jeg kjører det på siden din:
Kode: |
knuta@kokosbolle:~$ wget -qO - http://home.no.net/bagbiter/webstein | tidy -i -w 0 > /dev/null
line 1 column 1100 - Warning: <spacer> is not approved by W3C
line 1 column 1827 - Warning: <spacer> is not approved by W3C
line 1 column 2364 - Warning: <spacer> is not approved by W3C
line 1 column 2540 - Warning: <spacer> is not approved by W3C
line 1 column 2644 - Warning: <spacer> is not approved by W3C
line 1 column 2747 - Warning: <spacer> is not approved by W3C
line 1 column 265 - Warning: <script> inserting "type" attribute
line 1 column 529 - Warning: <body> proprietary attribute "leftmargin"
line 1 column 529 - Warning: <body> proprietary attribute "marginheight"
line 1 column 529 - Warning: <body> proprietary attribute "marginwidth"
line 1 column 529 - Warning: <body> proprietary attribute "topmargin"
line 1 column 657 - Warning: <table> proprietary attribute "cool"
line 1 column 657 - Warning: <table> proprietary attribute "gridx"
line 1 column 657 - Warning: <table> proprietary attribute "gridy"
line 1 column 657 - Warning: <table> proprietary attribute "height"
line 1 column 657 - Warning: <table> proprietary attribute "showgridx"
line 1 column 657 - Warning: <table> proprietary attribute "showgridy"
line 1 column 657 - Warning: <table> proprietary attribute "usegridx"
line 1 column 657 - Warning: <table> proprietary attribute "usegridy"
line 1 column 657 - Warning: <table> lacks "summary" attribute
line 1 column 817 - Warning: <tr> proprietary attribute "height"
line 1 column 1193 - Warning: <tr> proprietary attribute "height"
line 1 column 1241 - Warning: <td> proprietary attribute "content"
line 1 column 1241 - Warning: <td> proprietary attribute "csheight"
line 1 column 1241 - Warning: <td> proprietary attribute "xpos"
line 1 column 1921 - Warning: <tr> proprietary attribute "height"
line 1 column 1969 - Warning: <td> proprietary attribute "content"
line 1 column 1969 - Warning: <td> proprietary attribute "csheight"
line 1 column 1969 - Warning: <td> proprietary attribute "xpos"
line 1 column 2457 - Warning: <tr> proprietary attribute "height"
line 1 column 2457 - Warning: <tr> proprietary attribute "cntrlrow"
line 1 column 1353 - Warning: trimming empty <p>
line 1 column 2977 - Warning: trimming empty <p>
Info: Doctype given is "-//W3C//DTD HTML 4.01 Transitional//EN"
Info: Document content looks like HTML Proprietary
33 warnings, 0 errors were found!
The table summary attribute should be used to describe
the table structure. It is very helpful for people using
non-visual browsers. The scope and headers attributes for
table cells are useful for specifying which headers apply
to each table cell, enabling non-visual browsers to provide
a meaningful context for each cell.
For further advice on how to make your pages accessible
see http://www.w3.org/WAI/GL. You may also want to try
"http://www.cast.org/bobby/" which is a free Web-based
service for checking URLs for accessibility.
You are recommended to use CSS for controlling white
space (e.g. for indentation, margins and line spacing).
The proprietary <SPACER> element has limited vendor support.
You are recommended to use CSS to specify the font and
properties such as its size and color. This will reduce
the size of HTML files and make them easier to maintain
compared with using <FONT> elements.
To learn more about HTML Tidy see http://tidy.sourceforge.net
Please send bug reports to html-tidy@w3.org
HTML and CSS specifications are available from http://www.w3.org/
Lobby your company to join W3C, see http://www.w3.org/Consortium
|
Tidy kan også skrive ut forslag til litt bedre htmlkode (den kan selvsagt ikke rette opp grunnleggende strukturfeil, og den bytter ikke ut alt den advarte om heller).
Her er forslaget den hadde i dette tilfellet:
Kode: |
knuta@kokosbolle:~$ wget -qO - http://home.no.net/bagbiter/webstein | tidy -i -w 0 2> /dev/null
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta name="generator" content="HTML Tidy for Linux/x86 (vers 1st March 2004), see www.w3.org">
<meta http-equiv="content-type" content="text/html; charset=us-ascii">
<meta name="generator" content="Adobe GoLive 6">
<title>Steinen</title>
<script type="text/javascript">
function BombeOpen(src, width, height) { window.open(src,'hei','directories=no,height='+height+',width='+width+',left=50,top=50,right=50,location=no,menuBar=no,personalbar=no,scrollbars=no,toolbar=no,status=no,resizable=no') }
</script>
</head>
<body bgcolor="#FFFFFF" link="#756E6C" vlink="black" leftmargin="0" marginheight="0" marginwidth="0" topmargin="0">
<table width="618" border="0" cellspacing="0" cellpadding="0" cool="" gridx="16" gridy="16" height="461" showgridx showgridy usegridx="" usegridy="">
<tr height="208">
<td width="112" height="460" rowspan="3"></td>
<td width="432" height="208"></td>
<td width="73" height="460" rowspan="3"></td>
<td width="1" height="208"><spacer type="block" width="1" height="208"></td>
</tr>
<tr height="80">
<td content="" csheight="71" width="432" height="80" valign="top" xpos="112">
<p><font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular"><a href="javascript:BombeOpen('indexx.html',740,570);"><i>"Fjell er begynnelsen og slutten på ethvert naturlandskap"</i><br>
-John Ruskin<br></a></font></p>
</td>
<td width="1" height="80"><spacer type="block" width="1" height="80"></td>
</tr>
<tr height="172">
<td content="" csheight="48" width="432" height="172" valign="top" xpos="112"><font size="-1" face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular">Et nettsted basert på Øystein Andreassens bok, "Steinen", om</font> <font size="-1" face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular">steiners utvikling og liv.</font></td>
<td width="1" height="172"><spacer type="block" width="1" height="172"></td>
</tr>
<tr height="1" cntrlrow="">
<td width="112" height="1"><spacer type="block" width="112" height="1"></td>
<td width="432" height="1"><spacer type="block" width="432" height="1"></td>
<td width="73" height="1"><spacer type="block" width="73" height="1"></td>
<td width="1" height="1"></td>
</tr>
</table>'
</body>
</html>
|
(Beklager at det der ble litt bredt. Det er javascriptet ditt sin skyld. Det inneholder ikke noen mellomrom, så browseren klarer ikke å splitte det opp over to linjer)
|
Skrevet: Lør 24 Apr 2004, 04:51 |
 |
|
 |
 |
 |
 |
Vis Innlegg fra: Sorter etter:
|
 |
 |
|
Du kan ikke starte nye temaer i dette forumet Du kan ikke svare på temaer i dette forumet Du kan ikke endre dine egne innlegg i dette forumet Du kan ikke slette dine egne innlegg i dette forumet Du kan ikke delta i avstemninger i dette forumet
|
|