Dag
Ik ben bezig met een site.
Om de index-pagina in orde te maken, ben ik de HTML en CSS gaan scheiden.
De oorspronkelijke pagina is te vinden op http://www.groezrockinfo.be .
Ik ben het nu netjes aan het maken:
Nieuwe HTML:
Nieuwe CSS:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator" content="HTML Tidy for Linux (vers 6 November 2007), see www.w3.org" />
<meta http-equiv="Content-Language" content="nl-be" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>GROEZROCKINFO.BE | 23-24 april 2010 #19</title>
<link href="stylesheet.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="c1">
<p><img alt="" src="poster_3[1].jpg" width="423" height="600" /></p>
<p class="style5"><span class="style3"><strong>[BINNENKORT ONLINE]</strong></span></p>
<p class="style1"><a href="http://www.groezrockinfo.be/">
<img alt="" src="nl.png" width="16" height="11" class="style4" /></a> | <a href="http://www.groezrock.be/"><img alt="" src="gb.png" width="16" height="11" class="style4" /></a>
| <a href="http://www.groezrock.fr/"><img alt="" src="fr.png" width="16" height="11" class="style4" /></a>
| <a href="http://www.groezrock.es/"><img alt="" src="es.png" width="16" height="11" class="style4" /></a>
| <a href="http://www.groezrock.de/"><img alt="" src="de.png" width="17" height="12" class="style4" /></a></p>
</div>
</body>
</html>
Maar, nu krijg ik bij de CSS een error genaamd "18: Parse error }".body {
background-color: #003366;
}
div.c1 {text-align: center}
.style1 {
font-size: 12px;
font-family: Arial, Helvetica, sans-serif;
font-weight: normal;
font-style: normal;
line-height: 18px;
color: #C0C0C0;
}
}
.style3 {
color: #C0C0C0;
text-decoration: underline;
}
a {
color: #C0C0C0;
}
a:visited {
color: #808080;
}
a:active {
color: #C0C0C0;
}
a:hover {
color: #C0C0C0;
}
.style4 {
border-width: 0px;
}
.style5 {
font-size: 12px;
font-family: Arial, Helvetica, sans-serif;
font-weight: normal;
font-style: normal;
line-height: 18px;
color: #C0C0C0;
margin-top: 19px;
}
Dit is iets simpel heb ik het vermoeden.
PrtSc is te vinden in de bijlage.
Wie weet de (simpele) oplossing?
Alvast bedankt,
Stijn Adams
- CSS: 18: Parse error }
-
08-02-2010, 16:30 #1
- Berichten
- 392
- Lid sinds
- 15 Jaar
CSS: 18: Parse error }
-
In de schijnwerper
Hulp bij SEO/GoogleAds (NL/BE/DE). Economy.nl Google Premier Partner.Freelance / WerkVegan food site - 500+ artikelen met ons ALL-IN-ONE pakket + affiliate plugin!Website te koopProfessionele tekstschrijver (actie: 2,5 cent per woord)Freelance / WerkWij ontwikkelen (SaaS-) platformen binnen 12 weken!Freelance / Werk -
08-02-2010, 16:32 #2
- Berichten
- 175
- Lid sinds
- 15 Jaar
.style1 {
font-size: 12px;
font-family: Arial, Helvetica, sans-serif;
font-weight: normal;
font-style: normal;
line-height: 18px;
color: #C0C0C0;
}
}
Je hebt dubbel } }, dus eentje weghalen, als goed is doet hij dan ;)
-
08-02-2010, 16:32 #3gast Guest
.style1 {
font-size: 12px;
font-family: Arial, Helvetica, sans-serif;
font-weight: normal;
font-style: normal;
line-height: 18px;
color: #C0C0C0;
}
}
een } teveel
Wat het nog netter maak ik gebruik van tabs in je code
edit// stefan was me voor.
-
08-02-2010, 16:32 #4
- Berichten
- 2.971
- Lid sinds
- 18 Jaar
Al eens op lijn 18 gekeken?
}
}
-
08-02-2010, 16:34 #5
- Berichten
- 175
- Lid sinds
- 15 Jaar
Trouwens voor de volgende keer even op de lijn kijken dat de W3C validator aangeeft. Dan had je zelf waarschijnlijk ook wel kunnen oplossen.
(damn wat heb ik last van me dyslexie)
-
08-02-2010, 16:41 #6
- Berichten
- 392
- Lid sinds
- 15 Jaar
Bedankt, ik zag het niet in mijn code-bewerker (valt niet snel op, ik zag niks verkeerd op lijn 18).
Al het een cicaat hier is, dan zie je het sneller. ;)
@Melvin Wat bedoel je juist?
-
08-02-2010, 16:44 #7gast Guest
Kijk hier een stijn; http://infohound.net/tidy/
Nadat je je code heb ik gevoerd is deze een stuk overzichtelijker om te lezen.
-
08-02-2010, 16:49 #8
- Berichten
- 392
- Lid sinds
- 15 Jaar
Kijk hier een stijn; http://infohound.net/tidy/
Nadat je je code heb ik gevoerd is deze een stuk overzichtelijker om te lezen.
In inderdaad handiger! Bedankt! ;)
Voor de duidelijkheid:
PROBLEEM OPGELOST
Plaats een
- + Advertentie
- + Onderwerp
Marktplaats
Webmasterforum
- Websites algemeen
- Sitechecks
- Marketing
- Domeinen algemeen
- Waardebepaling
- CMS
- Wordpress
- Joomla
- Magento
- Google algemeen
- SEO
- Analytics
- Adsense
- Adwords
- HTML / XHTML
- CSS
- Programmeren
- PHP
- Javascript
- JQuery
- MySQL
- Ondernemen algemeen
- Belastingen
- Juridisch
- Grafisch ontwerp
- Hosting Algemeen
- Hardware Info
- Offtopic