I have a page on my website rendered using a simple html file, services.html
, which renders a div element fine on my laptop using chrome but when I try to visit the services page on my website on my mobile using any browser it doesn’t render the div at all.
Here is my services.html
file;
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>JU Physiotherapy - Services</title>
</head>
<body>
<div style="background-color: rgb(32 56, 100);width:200px;height:200px;">
</div>
</body>
</html>
2
Answers
I’m not positive this will fix the issue, but your code has a typo in the RGB, as you are missing a comma. Try this:
You are missing a comma in the RGB thing.