PDA

View Full Version : Border Problems Using PAGEBUILDER


barbielolita
03-03-2005, 07:01 AM
Ok so hi. I am trying to build my page at geocities because it has a pagebuilder. I will then upload it to my domain. Im using page builder. Ok here's the problem... I put up a really easy, one-image example to show you what's wrong. http://www.geocities.com/pillowmonsters/weirdborder.html . I am trying to center that with all my little might but it just isn't doing it. I stretched out the image as much as i could to show you. That image takes up the whole pagebuilder page and therefore should be centered when viewed regularly... but as you can see, there's a huge 1 and a half inch extra border space on the right. I would do anything if someone could please maybe have a look at the code and tell me how to fix it so the right border is the same as the left? In order words, I dont want that huge right border! I want it centered. Like I said, the above page is just an example of my problem.

I hope you can help
Thanks!

harbingerOTV
03-03-2005, 07:27 AM
try changing:

<div style="position:absolute;left:13;top:144;width:640;height:108;">

to:

<div style="position:relative;margin:auto;top:144;width:640;height:108;">

pb&j
03-03-2005, 07:27 AM
aaahhh!!!! pagebuilder coding! it burns the eyes! aaahhh!!!!

but seriously... pagebuilder is an AWFUL way to make a webpage. it really does do a horrible job at trying to make a webpage in many many ways. doing your own coding in a text editor or using any other page maker would be a blessing.

here is a small test page that may help you out to start...

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Page title</title>
</head>
<body>
<div style="text-align:center;">
<img src="http://www.geocities.com/pillowmonsters/aboutustop.gif">
</div>
</body>
</html>

hope that helps you get started in a better direction.

barbielolita
03-03-2005, 08:05 AM
thanks, i'll try those..

barbielolita
03-03-2005, 08:19 AM
hmm.. doesnt seem to work. I tried the first suggestion which doesnt seem to work and i tried the second suggestion too but the thing is, I already have a full page of stuff and i cant really start over, but the whole page is too far to the left. I wonder if it has something to do with all these lines that are in my main page code:

*div style="position:absolute;left:232;top:515;width:240;height:22;"*

I notice it says LEFT but it doesn't say "right" anywhere in the code...?

rmedek
03-03-2005, 08:52 AM
auuuuuuuurgle.

I appreciate the whole "let page builder build my page for me thing," but would you really try to fix your car with a sledgehammer and then take it to the mechanic asking him to fix what you did to it?

Your image is nested in the bottom-right-hand-side of a "root" div, which is centered with Javascript (?!). Here's the simplest way I could get an image centered for you that wouldn't make me cry:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>Untitled</title>
<style type="text/css">

body {
background-color: #ccccff;
color: #000;
}

img {
display: block;
margin: 0 auto;
width: 640px;
height: 108px;
}

</style>
</head>
<body>
<img src="http://www.geocities.com/pillowmonsters/aboutustop.gif" alt="about us">
</body>
</html>

If you're serious about the web design thing, I'd suggest learning some of the basics:

http://www.htmldog.com
http://www.w3schools.com

Or, if you're going to remain with an editor, at least use something somewhat decent like Dreamweaver, or even Frontpage. Otherwise, you'll have to learn to be content with what Pagebuilder gives you.