• Resolved standardproject

    (@standardproject)


    Tried at Ubuntu 14.04-Apache(Production) & Windows10-Apache(localhost).

    I want to just create a index.php & style.css very basic landing pages like:

    ———————–

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "https://www.w3.org/TR/html4/loose.dtd"> 
    <html>
    	<head>
    	<link rel="stylesheet" type="text/css" href="style.css">
    	<meta charset="UTF-8">
    	<title>StandardProjectLandingPage</title>
    	</head>
    <body>
    		<div id="title">
    			<h1>StandardProjectLandingPage</h1>
    		</div>
    		<div id="subtitle">
    			<p>WELCOME!</p>
    		</div>
    		<div>
    			<p><img src="images/mainimg.png" /></p>
    		</div>
    		<div>
    			<p>
    			<a href="https://thisisaexternal.link1/StandardProject" target="_blank"><img src="images/imglink1.png" /></a>
    			<a href="https://thisisaexternal.link2/StandardProject" target="_blank"><img src="images/imglink2.png" /></a>
    			<a href="https://thisisaexternal.link3/StandardProject" target="_blank"><img src="images/imglink3.png" /></a>
    			<a href="https://thisisaexternal.link4/StandardProject" target="_blank"><img src="images/imglink4.png" /></a>
    	
    			</p>
    		</div>
    	</body>
    </html>

    ————–
    And a very basic style.css like:
    ——————

    /*
    Theme Name: StandardProjectLandingPage
    Theme URI: 
    Author: StandardProjectLandingPage
    Author URI: https://StandardProjectLandingPage.link0/
    Description: Homepage
    License: Copyleft
    License URI: 
    Tags: StandardProjectLandingPage
    Text Domain: StandardProjectLandingPage
    */
    
    body{
    			background-image:url("images/background.png");
    			background-color:white;
    			background-position:0 0;
    			background-repeat:no-repeat;
                background-attachment: fixed;
                background-size: cover;
    		}
    #title{
    			font-size:20px;
    			color:#000000;
    		}
    		
    #subtitle{
    		font-size:17px;
    		color:#BBBBBB;
    		}

    ———————-

    When trying to see directly images and CSS, it redirects to index.php.

    Can you help me?

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Basic Landing page not loading css/images’ is closed to new replies.