Ty Meador's Profile User Rating: -----

Reputation: 2 Apprentice
Group:
Active Members
Active Posts:
118 (0.08 per day)
Joined:
23-May 11
Profile Views:
2,232
Last Active:
User is offline May 13 2015 12:04 PM
Currently:
Offline

Previous Fields

Country:
US
OS Preference:
Mac
Favorite Browser:
Chrome
Favorite Processor:
Intel
Favorite Gaming Platform:
XBox
Your Car:
Chevrolet
Dream Kudos:
0

Latest Visitors

Icon   Ty Meador has not set their status

Posts I've Made

  1. In Topic: My CSS is rendered, But my HTML isn't

    Posted 13 May 2015

    Thanks to NO2 Pencil and ArtificialSoldier. The solution? I used an empty div at the beginning of the body with it's own class.
    <html>
    	<head>
    		<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
    		<link rel="stylesheet" type="text/css" href="default.css">
    		<style>
    			a:visited{
    				color:blue;
    			}
    			
    			a:link{
    				color:blue;
    			}
    			
    			a:hover{
    				color:green;
    			}
    		</style>
    		<title>New Lead</title>
    	</head>
    
    	<body  >
    		<div class="logo"></div>
    		
    

    Then used
    .logo{
    	background-attachment: scroll | fixed
    	display: inline-block;
    	width: 400px;
    	height: 120px;
    	margin-right: 0px;
    	content:url("./images/logo.png");
    }
    
    

    And VOILA! :w00t:
  2. In Topic: My CSS is rendered, But my HTML isn't

    Posted 13 May 2015

    View Postno2pencil, on 13 May 2015 - 12:50 PM, said:

    I guess I'm not sure what effect that you want on the entire page.

    Ideally, the page would render as follows
  3. In Topic: My CSS is rendered, But my HTML isn't

    Posted 13 May 2015

    It does, but it's ugly. In the image i attached, i commented out ONLY line 7 of the css
  4. In Topic: My CSS is rendered, But my HTML isn't

    Posted 13 May 2015

    Quote

    Is this page public?

    What is line 7 in your css supposed to do? Does that file exist?

    The page is not yet available to the public. But is freely available VIA LAN. That file does indeed exist. I have attached 2 images to show what the CSS does and what the HTML does. Line 7 puts the logo in the top left corner of the page. (before, I was using HTML for the logo and the background, but i'm trying to transition all of my styles to external CSS for learning, and ease of change later on)
  5. In Topic: My CSS is rendered, But my HTML isn't

    Posted 13 May 2015

    View Postno2pencil, on 13 May 2015 - 12:38 PM, said:

    Topic moved to PHP. If you are not getting your HTML, check the error logs.

    View PostTy Meador, on 13 May 2015 - 02:34 PM, said:

    There IS PHP, right at the top of the HTML file.

    Sorry, I didn't see it.

    The html IS getting offered to the page, but it isn't being rendered. If you view the page source, all the HTML is there, but all that is rendered is the background image and logo that i set via CSS. if i comment out the css link in HTML, it renders fine.

My Information

Member Title:
D.I.C Head
Age:
21 years old
Birthday:
July 15, 1993
Gender:
Years Programming:
2
Programming Languages:
C++, Java,HTML

Contact Information

E-mail:
Click here to e-mail me

Friends

Comments

Ty Meador has no profile comments yet. Why not say hello?