...

View Full Version : Need help with aligning!!



hiimatom
06-13-2010, 04:26 PM
I am currently coding a webpage for a local business, the problem i am having is that when ever the webpage is too large or off center the editable text slides over with it.

take a look: http://www.frobergsfarm.com

this is the code i am using:

<style>
.aboutme {
background-color:transparent;
border:0px solid;
border-color:000000;
width:801px;
height:426px;
overflow:none;
position:absolute;
z-index:4;
left:50%;
top:0%;
margin-left:-370px;
margin-top:400px;
ALIGN=center;
text-align:center;
visibility:visible;
padding:0px;}

effpeetee
06-13-2010, 06:07 PM
You have no Doctype. Also several mark-up errors here. (http://validator.w3.org/check?uri=http%3A%2F%2Fwww.frobergsfarm.com%2F&charset=%28detect+automatically%29&doctype=Inline&group=0)
CSS errors here. (http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.frobergsfarm.com%2F&profile=css21&usermedium=all&warning=1&lang=en)

You should put these matters right first.

Frank

_Aerospace_Eng_
06-13-2010, 06:25 PM
Do not abuse position:absolute. There are a lot of issues wrong with your code. If they are a business why didn't they hire a professional?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum