Jump to content

Css is not working without clean and close tab


CodingStudent

Recommended Posts

Hi friends, Css is not working without clean and close tab. i am cleaning cache and closing tab. When i opened new tab is working css codes. i uninstalled and reinstall browsers. But it isn't working again. It is working other computers. But it is not working my computer.

index.php

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Site</title>
<link type="text/css" rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="container">

<div class="bir">Bir</div>
<div class="iki">İki</div>
<div class="uc">Üç</div>
<div class="dort">Dört</div>
<div class="bes">Beş</div>
<div class="alti">Altı</div>

</div>

</body>
</html>

style.css

.container {
	width:100%;
	height:800px;
}

.bir {
	color:red;
}

.iki {
	font-size:30px;
}

.uc {
	font-weight:bold;
}

.dort {
	width:1000px;
	height:150px;
	color:#fff;	
	font-weight:bold;
	background-color:blue;
}

.bes {
	width:300px;
	height:50px;
	background-color:red;
}

.alti {
	width:100px;
	height:200px;
	background-color:brown;
	color:#fff;
}

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.