WebmasterLingo
JustEdge Dedicated Servers

Go Back   WebmasterLingo > Programming Corner
User Name
Password

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old January 14th, 2004, 11:31 PM   #1
Steveo31
Registered User
 
Join Date: Jan 2004
Posts: 40
Steveo31 is off the scale
Send a message via AIM to Steveo31
Spacing

I haven't needed this until now, so I figure I may as well learn. I would like to know how to make something (a swf, image, etc) to be centered the same all over, or spanned a certain area, no matter the res of the screen.

For example on this site, the blue lines are, I'm sure, images that are given a specific width, somethin like
PHP Code:
 width="100%" 

Or somethin.

Thanks y'all.

Steve
Steveo31 is offline   Reply With Quote
Old January 18th, 2004, 07:50 PM   #2
mttatkns
Registered User
 
Join Date: Jan 2004
Location: 92677
Posts: 26
mttatkns is off the scale
Actually the blue lines (such as those above and below your post) are cells in tables, and use code such as:
<table><tr><td bgcolor="#000000" width="100%"></tr></table>
mttatkns is offline   Reply With Quote
Old January 18th, 2004, 08:13 PM   #3
Matt
Web Junky
 
Join Date: Dec 2003
Posts: 73
Matt is off the scale
Quote:
Originally posted by mttatkns
Actually the blue lines (such as those above and below your post) are cells in tables, and use code such as:
<table><tr><td bgcolor="#000000" width="100%"></tr></table>
You forgot to close the <td> tag

I'm sure you meant:
<table><tr><td bgcolor="#000000" width="100%"></td></tr></table>
__________________
WebmasterLingo.com Team
Forum Rules

"Anyone who has never made a mistake has never tried anything new" - Albert Einstein
Matt is offline   Reply With Quote
Old January 20th, 2004, 07:01 AM   #4
Vulko
Account Disabled
 
Join Date: Dec 2003
Posts: 18
Vulko is off the scale
Send a message via ICQ to Vulko
For centereing an object use the following code:
Code:
<table><tr><td align=center></td></tr></table>
Vulko is offline   Reply With Quote
Old January 20th, 2004, 01:54 PM   #5
airnine
Moderator
 
Join Date: Jan 2004
Posts: 80
airnine is off the scale
Send a message via ICQ to airnine
out of curiosity, what have you Steveo31 been doing so far, that you haven't needed this?

I thought this was basic html

Airnine
__________________
-------------------------------
Airnine is a developer @
www.promomedium.com
-------------------------------
airnine is offline   Reply With Quote
Old September 4th, 2005, 06:11 AM   #6
kitty
Registered User
 
Join Date: Aug 2005
Posts: 16
kitty is on a distinguished road
u can give td height

<table width="100%"><tr><td align="center" bgcolor="#006699" width="100%" height="30">any text u wanna write</td></tr></table>
__________________
NewEra
web develop
kitty is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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



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

JustEdge Dedicated Servers