Go Back   Cyber Tech Help Support Forums > Software > Web Development & Graphic Design

Notices

Reply
 
Topic Tools
  #1  
Old November 1st, 2007, 06:11 PM
lvl0rg4n lvl0rg4n is offline
New Member
 
Join Date: Nov 2007
O/S: Windows XP Home
Location: Nashville, TN
Age: 20
Posts: 2
The secret of Dreamweaver 8 and layers?

Dreamweaver n00b, here.
I've been attempting to create a page where my actual website is like 600w by 550h roughly and I have been doing it to where it's centered in the page. I do this by creating a table at 100% and centering the background.

The background is an image I've created and saved as a .gif. After I place the image into the table, I add a layer and put my text on it. It looks fine in Dreamweaver, but when I preview it in either IE or Firefox, the text is always about 100 pixels to the left of where it should be.

Any idea how I can fix this? Is there a better way to center the image on the page without using the table?

Thanks,
Moxie
Reply With Quote
  #2  
Old November 1st, 2007, 06:21 PM
Buzz's Avatar
Buzz Buzz is offline
Cyber Tech Help Moderator
 
Join Date: Sep 2000
O/S: MacOS
Location: Oregon, USA
Posts: 3,362
You can use CSS to center the image.

Code:
#backing { background: url(path/to/image.gif) no-repeat center top; }
__________________
Scott
Moderator : Macintosh : Website & Graphics
Adobe Certified Expert: Illustrator
Royalty-Free Vector Stock Art
Reply With Quote
  #3  
Old November 1st, 2007, 06:26 PM
lvl0rg4n lvl0rg4n is offline
New Member
 
Join Date: Nov 2007
O/S: Windows XP Home
Location: Nashville, TN
Age: 20
Posts: 2
Okay, will this code center everything on my page? Or will it just center the image?

If it's just the image, how do I get all of my content to center as well?
Reply With Quote
Reply

Bookmarks

Topic Tools

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
Forum Jump


All times are GMT +1. The time now is 01:30 AM.

[ RSS ]