CSS Inherit Not Working (Need Help )
try might, can't border style inherit. found below code in published article , tried it. unfortunately, did not work stated or have predicted. basically, can't border or other non default inherited style work. when render below html 3rd paragraph starting words "you can...." not have border, either <a href>. accoding article , understanding of inheritance should.
here link article. original article
any appreciated.
----
<!doctype html public "-//w3c//dtd html 4.01 transitional//en">
<html>
<head>
<title>css structure</title>
<style>
div
{
font-family: arial;
color: blue;
font-size: .9em;
border: 1px solid black;
}
p
{
border: inherit;
}
a
{
border: inherit;
}
</style>
</head>
<body>
<p> information technology (it) has been famous , attractive field in last 20 years , many students choose study computer science , information system qualify them work programmers, developers, database administrators , network engineers.</p>
<div> <a href=" http://www.w3.org">w3c website </a>
contains specifications web standards , it's useful web designers, developers , software architectures navigate website. example, have css 2.1 specifications , xhtml 1.0 specifications discussing z technology<br>
<p>you can use css markup languages html, xhtml , xml. markup languages , css has specifications <a href=" http://www.w3.org">w3c website</a></p>
</div>
</body>
</html>
here link article. original article
any appreciated.
----
<!doctype html public "-//w3c//dtd html 4.01 transitional//en">
<html>
<head>
<title>css structure</title>
<style>
div
{
font-family: arial;
color: blue;
font-size: .9em;
border: 1px solid black;
}
p
{
border: inherit;
}
a
{
border: inherit;
}
</style>
</head>
<body>
<p> information technology (it) has been famous , attractive field in last 20 years , many students choose study computer science , information system qualify them work programmers, developers, database administrators , network engineers.</p>
<div> <a href=" http://www.w3.org">w3c website </a>
contains specifications web standards , it's useful web designers, developers , software architectures navigate website. example, have css 2.1 specifications , xhtml 1.0 specifications discussing z technology<br>
<p>you can use css markup languages html, xhtml , xml. markup languages , css has specifications <a href=" http://www.w3.org">w3c website</a></p>
</div>
</body>
</html>
border styles don't inherit.
--
murray --- icq 71997575
adobe community expert
(if *must* email me, don't laugh when so!)
==================
http://www.dreamweavermx-templates.com - template triage!
http://www.projectseven.com/go - dw faqs, tutorials & resources
http://www.dwfaq.com - dw faqs, tutorials & resources
http://www.macromedia.com/support/search/ - macromedia (mm) technotes
==================
"jerrythesurfer" <webforumsuser@macromedia.com> wrote in message
news:f2kk3h$ivr$1@forums.macromedia.com...
> try might, can't border style inherit. found
> below
> code in published article , tried it. unfortunately, did not work
> stated or have predicted. basically, can't border or
> other non default inherited style work. when render below html
> 3rd
> paragraph starting words "you can...." not have border,
> either
> <a href>. accoding article , understanding of
> inheritance
> should.
>
> here link article.
> http://www.devarticles.com/c/a/web-style-sheets/learn-css-introduction-to-inheri
> tance-specificity-and-cascade/3/
>
> appreciated.
>
> ----
>
> <!doctype html public "-//w3c//dtd html 4.01 transitional//en">
> <html>
> <head>
> <title>css structure</title>
> <style>
> div
> {
> font-family: arial;
> color: blue;
> font-size: .9em;
> border: 1px solid black;
> }
> p
> {
> border: inherit;
> }
>
> {
> border: inherit;
> }
>
> </style>
> </head>
> <body>
> <p> information technology (it) has been famous ,
> attractive
> field in last 20 years , many students choose study computer
> science
> , information system qualify them work programmers,
> developers,
> database administrators , network engineers.</p>
> <div> <a href=" http://www.w3.org">w3c website </a>
> contains specifications web standards , it's useful web
> designers, developers , software architectures navigate website.
>
> example, have css 2.1 specifications , xhtml 1.0
> specifications
> discussing z technology<br>
> <p>you can use css markup languages html, xhtml , xml.
> markup languages , css has specifications <a
> href=" http://www.w3.org">w3c website</a></p>
> </div>
> </body>
> </html>
>
--
murray --- icq 71997575
adobe community expert
(if *must* email me, don't laugh when so!)
==================
http://www.dreamweavermx-templates.com - template triage!
http://www.projectseven.com/go - dw faqs, tutorials & resources
http://www.dwfaq.com - dw faqs, tutorials & resources
http://www.macromedia.com/support/search/ - macromedia (mm) technotes
==================
"jerrythesurfer" <webforumsuser@macromedia.com> wrote in message
news:f2kk3h$ivr$1@forums.macromedia.com...
> try might, can't border style inherit. found
> below
> code in published article , tried it. unfortunately, did not work
> stated or have predicted. basically, can't border or
> other non default inherited style work. when render below html
> 3rd
> paragraph starting words "you can...." not have border,
> either
> <a href>. accoding article , understanding of
> inheritance
> should.
>
> here link article.
> http://www.devarticles.com/c/a/web-style-sheets/learn-css-introduction-to-inheri
> tance-specificity-and-cascade/3/
>
> appreciated.
>
> ----
>
> <!doctype html public "-//w3c//dtd html 4.01 transitional//en">
> <html>
> <head>
> <title>css structure</title>
> <style>
> div
> {
> font-family: arial;
> color: blue;
> font-size: .9em;
> border: 1px solid black;
> }
> p
> {
> border: inherit;
> }
>
> {
> border: inherit;
> }
>
> </style>
> </head>
> <body>
> <p> information technology (it) has been famous ,
> attractive
> field in last 20 years , many students choose study computer
> science
> , information system qualify them work programmers,
> developers,
> database administrators , network engineers.</p>
> <div> <a href=" http://www.w3.org">w3c website </a>
> contains specifications web standards , it's useful web
> designers, developers , software architectures navigate website.
>
> example, have css 2.1 specifications , xhtml 1.0
> specifications
> discussing z technology<br>
> <p>you can use css markup languages html, xhtml , xml.
> markup languages , css has specifications <a
> href=" http://www.w3.org">w3c website</a></p>
> </div>
> </body>
> </html>
>
More discussions in Dreamweaver support forum
adobe
Comments
Post a Comment