Jump to content

css class problem


natalieG

Recommended Posts

In the below html file, the optionclass positions the element fine,
but the varsclass does not.  ??

Thanks,

Natalie


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<meta name="generator" content="Adobe GoLive 6">
<title>Welcome to Adobe GoLive 6</title>
<style type="text/css" media="screen">
    <!--
    #optionclass{position:absolute;
    top:
    150px;
    left:200px   
    ;}//optionclass
   
    #varsclass{
      position:absolute;
      top:200px;
        left:200px;
        width:150px;
        height:50px;
        background-color:black;
        font-family:Arial,Helvetica;
      font-size:20;
        color:blue;
        }//varsclass
 
--></style>
</head>
<body bgcolor="#ffffff">
<div id=optionclass>This is option class</div>
<div id=varsclass>This is vars class</div>
</body>

</html>
Link to comment
https://forums.phpfreaks.com/topic/15393-css-class-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.