www.webdeveloper.com
Results 1 to 5 of 5

Thread: css request

  1. #1
    Join Date
    Jul 2012
    Posts
    29

    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;
    }

  2. #2
    Join Date
    Dec 2012
    Posts
    19
    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

  3. #3
    Join Date
    Dec 2012
    Posts
    19
    sorry completely wrong thing sorry i will work the cross browser now hold on. . .

  4. #4
    Join Date
    Jul 2012
    Posts
    29
    /*<![cdata[*/

  5. #5
    Join Date
    Aug 2012
    Posts
    155
    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
  •  
HTML5 Development Center



Recent Articles