PDA

View Full Version : HTML or CSS positioning help



Smiley
05-14-2013, 07:15 PM
Okay, well I tried to figure this out myself but had no success.

I'm building an "under construction" page for my website's homepage. I have an image on there that I would like to move UP. For some reason, I have the ability to scroll (just a little bit) up and down the page. It shouldn't be this way as I don't have very much on the page (right?). I've even adjusted the picture size but I can still scroll up and down. I've looked and tried different codings but nothing is working. The darn image still won't move up.

Soooooo who can help me fix this?? I have a macbook pro and Safari is my web browser. Maybe that's the way it is on Safari *shrugs*

Anyway, my website is here: SmileyTheStar Films (http://www.smileythestar.com)

Here's my index.html:


<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css"/>
<title>SmileyTheStar Films</title>
</head>
<body>
<div class="header">SmileyTheStar Films</div>
<div class="content">Site under construction...
<p><img style="float: right; width: 900px; height: 600px;" src="images/under_construction.png" /></p>
</div>
</body>
</html/>

And my stylesheet:

body {
background-color: #ffffff;
font-family: times new roman;
margin: 0 auto;

}
.header {
width: 100%;
margin-left: 0px auto;
height: 40px;
background-color: #144675;
text-align: left;
position: fixed;
color: #ffffff;
padding-top: 10px;
padding-left: 10px;
font-size: 24px;
font-weight: bold;
}
.content {
width: 100%;
margin-left: 0px auto;
padding-left: 30px;
padding-right: 10px;
padding-top: 100px;
text-align: left;
color: #000000;
height: 100%;
background-color: #ffffff;
font-size: 28px;



Thanks!

Smiley
05-14-2013, 10:15 PM
Aww heck, I dun figured it out. Still don't know why I'm able to scroll though

Charli
07-01-2013, 07:27 AM
Are you creating the entire site by hand? Why not use a template? I bought a template off of eBay for only .99, you read that right. Guy was nice enough to give me the update for it, too. That will save you a tremendous time and trouble and you'll get your site up and running in no time.

Smiley
07-01-2013, 07:39 AM
Are you creating the entire site by hand? Why not use a template? I bought a template off of eBay for only .99, you read that right. Guy was nice enough to give me the update for it, too. That will save you a tremendous time and trouble and you'll get your site up and running in no time..

Yeah I am. I'm doing it from scratch to challenge myself I guess. I want to customize it to my liking. I'm in no big hurry to get it done. I know a template would be less of a headache but the ones I've seen are not to my liking. I will consider templates once I get fed up with building from scratch. The site looks ok so far XD

Charli
07-01-2013, 07:49 AM
On Firefox the website CSS codes are a bit off. Your "Something will go in here box" overlaps the Films and Content buttons, which by the way are pretty huge for buttons. I do website consultations and know about design more than codes. I just helped a friend of mine test out his website and in exchanged I get two free albums (he's a composer).

With SO MANY website templates out there on the cheap and for free, I say consider using one of them. Then make it your own by changing the codes a bit. If you're not a web developer, why do it by hand, even if it's a challenge. I suggest using a template to make your life a whole lot easier and you'll get your website up and running much better than if you had tried to do this on your own. Just a thought.

Smiley
07-01-2013, 08:01 AM
Definitely not a web developer but I'm doing it myself to save money.

But what sites do you recommend I get templates from? I don't want free templates (sounds silly I know) but I'm all for cheap!! Preferrably templates that aren't branded...

Charli
07-01-2013, 08:22 AM
Here is one for $12 that's Video Pro with SEO : Template (http://www.ebay.com/itm/221151722926?ssPageName=STRK:MEWAX:IT&_trksid=p3984.m1423.l2649)

Right now eBay doesn't seem to have much in the way of "Video" templates. I would however keep going back to check. You should find something for .99 for sure.

Smiley
07-01-2013, 08:26 AM
Anything other than ebay? Not comfortable shopping there.

Thanks for your help

Charli
07-01-2013, 08:36 AM
You can always try website developer's forums. I actually bought 2 templates from "tihon.t" both delivered immediately after payment. Both only cost me .99 on eBay. One was updated by him when I gave him website consultation on his site - LOL. So it just depends who you deal with, really. I was able to push $10,000 people to an entertainment blog I worked for through an eBay service. Remember, you're protected both by the new buyer's protection and through PayPal protection. For paying so little, how could anything go wrong? It's lunch money, if you think about it. I almost bought the Video Pro but found a cheaper video instead.

Here is the theme I bought - Aggregate (http://www.elegantthemes.com/demo/?theme=Aggregate)

If you like it, I may try to contact the seller and see if he be willing to sell it to you for $1.00.

Nick Soares
07-02-2013, 07:47 AM
Smiley, do you still need help with this?

Smiley
07-02-2013, 08:43 AM
I"m sure I will eventually! Every time I have difficulty I seem to figure out it later.