Easy CSS Questions

spacedude89

Active Member
Hey.

So I've pretty much thrown myself into a web design project without any prior html experience. These are the main two problems I've been unable to find a solution to, and any help would be much appreciated.

1) http://imgur.com/ZdOPa.jpg

So I need a header that will center itself in the middle of the page, and stay there if the page is re-sized. Relative positioning seems to do the trick, however, it always moves to the bottom, and I have to move it by -700 to get it into the right position. The problem is that there is a bunch of space at the bottom because the div itself didn't move. It's been a huge pain trying to get stuff to go where I want. Am I going about this the wrong way?

2) http://imgur.com/PKdHf.png

I need to get rid of that purple border. I've tried changing border, outline, etc, but it stays there. Suggestions?

Thanks.
 

uxking

New Member
For your first question - Can't you just do a

<div id="appDiv" align="center">
You image and text goes here
</div>

remove the "position" line in the css.

Can't really say on the second question. Maybe if you posted the html and the css?

Mike
http://itdoescompute.com
 
Last edited:
Top