Go Back   Computer Forums > Web Design | Website Development > Web Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 06-18-2004, 10:17 PM   #1
Solid State Member
 
Join Date: Jun 2004
Posts: 9
Default Easy for anyone but me...

I have a crappy site that I practice web deisgn on cause, well, I suck at it but I'm learning. Have a quick question that's kicking my @ss! My site is neverstuck4x4.freeservers.com and if you go to it, you should notice that the page is not centered, but to the left of the screen. All the link pages are like this except the second one, the Art page. My screen resolution is 1024x768 incase that helps. I tried making the site compatible with all resolutions by using the small size but it's not centered! Be careful, I'm sure the script is UGLY, but if anyone can lead me in the right direction I'd greatly appreciate it! Thanks a lot.
__________________

Chevy409 is offline   Reply With Quote
Old 06-19-2004, 09:16 AM   #2
Site Team
 
root's Avatar
 
Join Date: Mar 2004
Posts: 7,999
Default Re: Easy for anyone but me...

put a <center> tag before the table

<table align="center" border="0" width="760" background="Ninjai.jpg">

then close it at the bottom of the page.
__________________

root is offline   Reply With Quote
Old 06-19-2004, 10:09 AM   #3
Solid State Member
 
Join Date: Jun 2004
Posts: 9
Default

view the source on the intro page... that's exactly what I have and it's still not working Thanks though
Chevy409 is offline   Reply With Quote
Old 06-19-2004, 03:54 PM   #4
Site Team
 
root's Avatar
 
Join Date: Mar 2004
Posts: 7,999
Default Re: Easy for anyone but me...

OK... try adding it again because it's not there...

Code:
<body background="cross&flags.jpg" LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 ONLOAD="preloadImages();">
	<div id="container">

<table align="center" border="0" width="760" background="Ninjai.jpg">
<tr>
<td>
should be
Code:
<body background="cross&flags.jpg" LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 ONLOAD="preloadImages();">
<center>
	<div id="container">

<table align="center" border="0" width="760" background="Ninjai.jpg">
<tr>
<td>
and then at the bottom

Code:
</div>
</center>
</BODY>
when I suggested just centering the table I hadn't looked properly, the table is inside the DIV tags, and so when you center it it centers it inside the Divs' you need to make the Divs centered on the page.

I saved the source to my desktop and checked that it actually worked this time.
root is offline   Reply With Quote
Old 06-20-2004, 09:03 AM   #5
Solid State Member
 
Join Date: Jun 2004
Posts: 9
Default

Wooh! It worked now, thanks a lot for the help. Sorry I'm such a tool and didn't understand the first time. Sweet, thanks again.
Chevy409 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 02:02 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0