Reply
HTML "alignment" Question...
Old 07-14-2004, 10:22 PM HTML "alignment" Question...
Junior Talker

Posts: 3
Well, I have created a webdesign in photoshop, sliced it in imageready, exported it as css to macromedia dreamweaver, How can I make all of the slices centered to where the page is in the center of the screen, also, how can i make the background behind my page black and add a border to my actual page?
fultz is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 07-14-2004, 11:03 PM
johanesw's Avatar
Extreme Talker

Posts: 174
Location: If I told you that, I'm afraid I'd have to kill you!
To make your page has border and centered in the screen, wrap your page with this div tag:

<div style="text-align:center;border:'width' 'style' 'color'">
Your Page code...note: not including <html> and <head> stuff. Just the codes inside <body> tag
</div>

replace 'width' with the width you want, 'style' with the style you want and 'color' with the color you want.

To make the thing has black bg, just add this attribute to your <body> tag:

bgcolor="#000000"
johanesw is offline
Reply With Quote
View Public Profile Visit johanesw's homepage!
 
Old 07-14-2004, 11:48 PM
Junior Talker

Posts: 3
That didn't work.
fultz is offline
Reply With Quote
View Public Profile
 
Old 07-15-2004, 04:41 AM
Skilled Talker

Posts: 52
If you could post the actual html/css you are working with that would help. Or better, upload the page.

I would guess just an align=center to the main table (probably the first instance of "table" in the code)
__________________
portfolio o' mine: www.attunedesigns.com
fast, quality hosting: Ultrix Hosting
Plans start at $3/month for .5gb + 10gb xfer!
Full money-back guarantee! Another exclamation mark!
ethan is offline
Reply With Quote
View Public Profile
 
Old 07-15-2004, 09:40 AM
scottfree's Avatar
Extreme Talker

Posts: 234
Location: Hamburg
<body bgcolor="#000000">
__________________
I think, therefore I am..... I think.
scottfree is offline
Reply With Quote
View Public Profile Visit scottfree's homepage!
 
Old 07-16-2004, 10:37 PM
Junior Talker

Posts: 3
I have upoaded the page, how would i add a border?

http://fultz.rabidhosting.com/
fultz is offline
Reply With Quote
View Public Profile
 
Old 07-17-2004, 02:26 AM
Skilled Talker

Posts: 52
in the code for your outer-most table, replace bordercolor with style="border: 1px white solid" including quotations. You can use a hex color if you want too.
__________________
portfolio o' mine: www.attunedesigns.com
fast, quality hosting: Ultrix Hosting
Plans start at $3/month for .5gb + 10gb xfer!
Full money-back guarantee! Another exclamation mark!
ethan is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to HTML "alignment" Question...
 

Thread 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

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




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.13447 seconds with 12 queries