Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Applying CSS to a div

0 views
Skip to first unread message

Akuma

unread,
Dec 10, 2000, 1:57:40 AM12/10/00
to
Is it possible to apply a stylesheet to just a single div, so that the
stylesheet only affects that div? Thanks.

Matt


Samuli Lintula

unread,
Dec 10, 2000, 5:11:55 AM12/10/00
to

"Akuma" <kokus...@earthlink.net> wrote in
<EPFY5.8191$U4.7...@newsread1.prod.itd.earthlink.net>:

>Is it possible to apply a stylesheet to just a single div, so that the
>stylesheet only affects that div? Thanks.
>
>Matt
>
>
>

<html>
<head
<title></title>
<style>
<!--
div#onlythis {border: 4px dashed aqua;}

/* with id="blabla" use #blabla */

-->
</style>
</head>
<body>

<div id="onlythis">
</div>
</body>
</html>

Mehmet Ceyran

unread,
Dec 21, 2000, 6:57:08 AM12/21/00
to
Better is <DIV STYLE="border: 4px dashed aqua;">blah</DIV>, isn't it?

Mehmet Ceyran

"Samuli Lintula" <samuli....@utu.fi> schrieb im Newsbeitrag
news:Xns9006736BDsam...@207.46.230.185...

0 new messages