The forums are currently locked and only available for read only access
ViU
Member
Medlem
Forum Posts: 4459
Member Since:
December 25, 2000
December 25, 2000
Offline
http://www.w3schools.com/css/c.....erence.asp <- trevlig sida
bossse
Nu vet jag hur man gör inlägg!
Medlem
Forum Posts: 47
Member Since:
March 6, 2002
March 6, 2002
Offline
Slängde ihop ett litet exempel. Du kan alltså ha olika fonter på skilda ställen t.ex.
<html>
<head>
<title>CSS-test</title>
<style type="text/css">
body
{background-color:lightgreen; font-family:Arial, Helvetica, sans-serif; font-size: 18px; color:red;}
#tabell1
{width:50%; height:30%; background-color:lightblue; font-size: 14px; border:2px solid black; color:blue;}
.tabell2
{width:50%; height:25%; background-color:blue; font-size: 10px; border:2px solid black; color:yellow;}
</style>
</head>
<body>
Textstorleken 18 här
<table id=tabell1>
<td>
Textstorleken 14 här
</td>
</table>
Allt detta styrs med hjälp av css
Du kan välja att anropa din css med ettt ID eller med en KLASS
<table class=tabell2>
<td>
Textstorleken 10 här
</td>
</table>
</body>
</html>
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1030
Currently Online:
Guest(s) 443
Currently Browsing this Page:
2 Guest(s)
2 Guest(s)
Top Posters:
Andreas Galistel: 16287
Jonas Klar: 15897
ilg@dd: 10810
Nyhet: 10607
Mind: 10550
Ctrl: 10355
Gueno: 9881
Guest: 9344
Snorch: 8881
Callister: 8468
Newest Members:
PetrbonFU PetrbonFU
Karine Bembry
Dolores Mcdaniels
Anibal McLeish
Francisca Alt
Alfie Everhart
Lester Huitt
Orlando Jorgensen
Mikki Lundgren
Dakota Kozlowski
Forum Stats:
Groups: 11
Forums: 59
Topics: 146630
Posts: 1300967
Member Stats:
Guest Posters: 2
Members: 79425
Moderators: 0
Admins: 11
Administrators: nordicadmin, Henrik Berntsson, Anton Karmehed, Carl Holmberg, Joel Oscarsson, Mikael Linnér, Mikael Schwartz, Andreas Paulsson, Nickebjrk, Mattias Pettersson, EmxL
© Simple:Press —