基本上我希望能够输入http:// mysites并且它显示我的本地人而不是输入http:// localhost:8080 /?
我打算做几次像http:// localhost:8181到http:// mysites2
我以为你可以通过主机文件来做到这一点?
这都在我的机器上
我在解决这个问题时遇到了问题,基本上它将是一个带有图标和文字的列表.图标大小保持不变,但文字并不像图片中所示替代文字http://i34.tinypic.com/33op84m.jpg(http://i34.tinypic.com/33op84m.jpg).问题是,当李有分配文本时,其余的文件浮动到它的右边.我该如何解决这个问题.
Mycodes如下:
ul.iconifier {
width: 100%;
list-style: none;
margin: 0 auto; padding: 0;
}
ul.iconifier li {
float: left;
margin: 10px; padding: 0;
text-align: center;
border: 1px solid #ccc;
width:8em;
height:200px;
-moz-border-radius: 3px; /*--CSS3 Rounded Corners--*/
-khtml-border-radius: 3px; /*--CSS3 Rounded Corners--*/
-webkit-border-radius: 3px; /*--CSS3 Rounded Corners--*/
display: block; /*--IE6 Fix--*/
height:101%;
}
ul.iconifier li a.thumb{
width: 128px;
height: 128px;
overflow: hidden;
display: block;
cursor: pointer;
}
ul.iconifier li a.thumb:hover {
}
ul.iconifier li p {
font: …Run Code Online (Sandbox Code Playgroud) 如何将5个单击功能转换为一个?例如
$("div#styleswitcher a.green").click(function(){
$("container").css({'background' : 'green'});
)
$("div#styleswitcher a.blue").click(function(){
$("container").css({'background' : 'blue'});
)
$("div#styleswitcher a.red").click(function(){
$("container").css({'background' : 'red'});
)
$("div#styleswitcher a.yellow").click(function(){
$("container").css({'background' : 'yellow'});
)
Run Code Online (Sandbox Code Playgroud)