|
-
css request
how can i do this style sheet cross browser
body {
text-align:center;
font-family: trebuchet ms, sans-serif;
margin-top:30px;
margin-bottom:30px;
}
#wrapper {
width:800px;
margin:20px;
}
.my_main {
width:800px;
background-color:#000066;
color:#ffffff;
font-size:16px;
border:20px solid #f0f0f0;
text-align:left;
margin-left:90px;
}
.left_col {
width:350px;
float:left;
}
.left_menu {
width:350px;
border-top:10px solid #ff6600;
}
.left_menu a:link,.left_menu a:visited {
border-bottom:5px solid #000080;
display:block;
padding:4px;
width:350px;
padding-left:6px;
text-decoration:none;
color:#ffffff;
}
.left_menu a:hover {
color:#ffffff;
width:350px;
background-color:#ff6600;
}
.main_col {
width:350px;
padding:10px;
float:right;
background-color:#000066;
color:#ffffff;
}
-
Put this style on whatever sites server you want the style from,
example. . . .
Make a file called styles.css on my server it would be http://example.com/css/styles.css
Then for the other site you want the css also put a link rel in the head tags example. . .
<link rel="stylesheet" type="text/css" href="http://example.com/css/styles.css">
its simple as that XD
-
sorry completely wrong thing sorry i will work the cross browser now hold on. . .
-
-
What do you mean how can you do it cross browser? What exact problems are you having with your styles and on which browsers?
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|
Bookmarks