0

Hey there
I'm quite new with php, i create a small site that can control some function for a program i made in C#, however I'm having some trouble with the css :P i got a header, h1 and h2. the header and h1 is functioning as they should, however h2 is not place as i wanted it to. I was wondering what do i have to do to move it to the opposite of h1. Also when i give h2 a height/width it gets places on the same side as h1, without the dimensions i cannot set the gradient background to h2, any ideas? :)

this is what my css file looks like:

<?php 
header ("Content-type: text/css");
?>
body{
 background-image: url('Sky.jpg');
}
header {
 text-align: center;
}
h1 {
 font-size: 1em;
 background-image: url('ElementBackground.jpg');
 //background-color:#86B404;
 text-align: left;
 height:290px;
 width:350px;
}
h2 {
 font-size: 1em;
 text-align: right;
 //background-image: url('h2.jpg');
 //height:290px;
 //width:350px;
}
?>

oh, and i just realized that i should have posted this under Web Design > HTML and CSS sorry about that, hopefully a mod can move this :)

Edited by Jazerix: n/a

3
Contributors
3
Replies
7
Views
6 Years
Discussion Span
Last Post by Jazerix
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.