×

Discussion Board

Results 1 to 2 of 2

Thread: Css

  1. #1
    Registered User
    Join Date
    Apr 2004
    Posts
    2

    Css

    I have read info about the css the nokia browser uses. However the browser does not respond to the css as described. As an example I can not set font-size only normal or larger. Where can I get the compatibility facts about the use of css with this Nokia browser?

  2. #2
    Registered User
    Join Date
    Sep 2003
    Posts
    14
    Try to do it this way:

    <?xml version="1.0" encoding="utf-8"?>
    <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <style type="text/css">.Card {BACKGROUND-COLOR:#FFFFFF; font-style:normal; font-family:sans-serif}.Header {color:#006699; font-weight:bold}.Paragraph {color:#4C4C4C; font-weight:normal}.Link {color: #000000}.Image {border-style:none}.Input {color:#006600}.Submit {margin-right:1px;BACKGROUND-COLOR:#FFFFFF;} hr {color:#008e31; width:100%; height:2px; margin-top:4px}</style>
    <title>CSS Test</title>
    </head>
    <body class="Card" id="test">
    <p class="Header" align="center">
    Hello this is my header
    </p>
    <p class="Paragraph">
    And this is my Paragraph test
    <br/>
    </p>
    </body>
    </html>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×