你会怎么做? [英] How would you do this?

查看:67
本文介绍了你会怎么做?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在这里闲逛,我很好奇。


你如何使用css来实现这种视觉外观

而不使用< hrtag?

http://edmullen.net/temp/ test2.html

-

Ed Mullen
http://edmullen.net
http:// mozilla.edmullen.net
http://abington.edmullen.net

解决方案

Ed Mullen写道:


只是在这里玩一些东西好奇。


你怎么用css来实现这种视觉外观

而不使用< hrtag?

http://edmullen.net/temp/test2.html



<! DOCTYPE html PUBLIC" - // W3C // DTD HTML 4.01 // EN"

" http://www.w3.org/TR/html4/strict.dtd">

< html>

< head>

< title>基本html页面< / title>

< ; meta http-equiv =" Content-Type"含量=" text / html的; charset = iso-8859-1">

< style type =" text / css">

.bob {

颜色:#060;

字体大小:120%;

text-transform:大写;

}

身体{

颜色:#000000;

font-family:" Trebuchet MS",Arial,Helvetica,Geneva,Sans-Serif;

字体大小:100%;

}


.betty {

border-top:2px坚固#006600;

border-bottom:2px solid#006600;

填充:1em 0;


}


< / style>

< / head>


< body>

< p class =" betty">< span class =" bob"> hello< / span-更具描述性的内容

here< / p>

< p>正常的正文文本就在这里。< / p>

< / body>

< / html>


-

保重,


Jonathan

------- ------------

LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com


文章< o6 ****************************** @ comcast。 com>,

Ed Mullen< ed@edmullen.netwrote:


只是在这里玩一些东西,我很好奇。


你如何使用css来实现这种视觉外观

而不使用< hrtag?

http://edmullen.net/temp/test2.html



你可以这样做:


..someName {


border-top:2px solid#060;

border-bottom:2px solid#060;

padding-top:1em;

padding-bottom:1em;


}


< / style>

< / head>


< body>


< pc lass =" someName">< span class =" bob"> hello< / span-更多

描述性内容< / p>


-

dorayme


2007-06-15,Ed Mullen写道:


只是在这里玩一些东西,我很好奇。


你如何使用css来实现这种视觉外观

而不使用< hrtag?

http://edmullen.net/ temp / test2.html



可能需要进行一些调整:


< http://woodbine-gerrard.com /testing/test2.html>

-

Chris FA Johnson< http://cfaj.freeshell.org>

== =======不要回复From:地址;使用回复:========

作者:

Shell Scripting Recipes:问题解决方案(2005,Apress)


Just playing around with something here and am curious.

How would you go about using css to achieve this visual appearance
without using the <hrtag?

http://edmullen.net/temp/test2.html
--
Ed Mullen
http://edmullen.net
http://mozilla.edmullen.net
http://abington.edmullen.net

解决方案

Ed Mullen wrote:

Just playing around with something here and am curious.

How would you go about using css to achieve this visual appearance
without using the <hrtag?

http://edmullen.net/temp/test2.html

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>basic html page</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
.bob {
color: #060;
font-size: 120%;
text-transform: uppercase;
}

body {
color: #000000;
font-family: "Trebuchet MS", Arial, Helvetica, Geneva, Sans-Serif;
font-size: 100%;
}

.betty {
border-top: 2px solid #006600;
border-bottom: 2px solid #006600;
padding: 1em 0;

}

</style>
</head>

<body>

<p class="betty"><span class="bob">hello</span- More descriptive stuff
here</p>
<p>Normal body text goes here.</p>
</body>
</html>

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com


In article <o6******************************@comcast.com>,
Ed Mullen <ed@edmullen.netwrote:

Just playing around with something here and am curious.

How would you go about using css to achieve this visual appearance
without using the <hrtag?

http://edmullen.net/temp/test2.html

You could do:

..someName {

border-top: 2px solid #060 ;
border-bottom: 2px solid #060 ;
padding-top: 1em;
padding-bottom: 1em;

}

</style>
</head>

<body>

<p class="someName"><span class="bob">hello</span- More
descriptive stuff here</p>

--
dorayme


On 2007-06-15, Ed Mullen wrote:

Just playing around with something here and am curious.

How would you go about using css to achieve this visual appearance
without using the <hrtag?

http://edmullen.net/temp/test2.html

Some adjustment may be necessary:

<http://woodbine-gerrard.com/testing/test2.html>
--
Chris F.A. Johnson <http://cfaj.freeshell.org>
========= Do not reply to the From: address; use Reply-To: ========
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)


这篇关于你会怎么做?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆