Align Center tags for image's [message #358741] |
Sun, 16 November 2008 19:03 |
|
Distrbd21
Messages: 743 Registered: September 2008
Karma: 0
|
Colonel |
|
|
Hi I'm trying to get our site banner to be in the middle of the page at the top i have tried a lot of different php coding ways to align center but none of them are working.
I have been googlen it for 4 hour's now every one i have tried never aligned it.
Here is the code we are using for the banner
echo " <img src=\"themes/RD-TheDark/images/hd/logo.jpg\" width=\"628\"height=\"109\" alt=\"\"></td>\n";
So if anyone can help us out that would be great.
Please and Thank you..
Live Your Life Not Some one Else's.| Sharing Is Caring
Cookie Jar<glome> Who stole the cookie from the cookie jar?!
<content> glome stole the cookie from the cookie jar!
<glome> Who me?!
<content> Yes you!
<glome> Couldn't be!
<content> Then WHO?!!
<glome> Woody stole the cookie from the cookie jar!
*** glome has been kicked by DrWoody (fuck you i didn't touch the motherfucking cookie, bitch
Suicide<TB> I was depressed last night so I called the Suicide Life Line.
<TB> I reached a call center in Pakistan.
<TB> I told them I was suicidal.
<TB> They got all excited and asked if I could drive a truck
|
|
|
|
Re: Align Center tags for image's [message #358746 is a reply to message #358741] |
Sun, 16 November 2008 20:11 |
|
Distrbd21
Messages: 743 Registered: September 2008
Karma: 0
|
Colonel |
|
|
Quote: | Parse error: syntax error, unexpected ':' in /misc/42/000/104/392/6/user/web/dsgaming.us/themes/RD-TheDark/theme.php on line 190
|
Live Your Life Not Some one Else's.| Sharing Is Caring
Cookie Jar<glome> Who stole the cookie from the cookie jar?!
<content> glome stole the cookie from the cookie jar!
<glome> Who me?!
<content> Yes you!
<glome> Couldn't be!
<content> Then WHO?!!
<glome> Woody stole the cookie from the cookie jar!
*** glome has been kicked by DrWoody (fuck you i didn't touch the motherfucking cookie, bitch
Suicide<TB> I was depressed last night so I called the Suicide Life Line.
<TB> I reached a call center in Pakistan.
<TB> I told them I was suicidal.
<TB> They got all excited and asked if I could drive a truck
|
|
|
|
Re: Align Center tags for image's [message #358749 is a reply to message #358747] |
Sun, 16 November 2008 20:31 |
|
Distrbd21
Messages: 743 Registered: September 2008
Karma: 0
|
Colonel |
|
|
Your post has a reply
lol had to but i only did one here just encase you guy's couldn't help me there
Live Your Life Not Some one Else's.| Sharing Is Caring
Cookie Jar<glome> Who stole the cookie from the cookie jar?!
<content> glome stole the cookie from the cookie jar!
<glome> Who me?!
<content> Yes you!
<glome> Couldn't be!
<content> Then WHO?!!
<glome> Woody stole the cookie from the cookie jar!
*** glome has been kicked by DrWoody (fuck you i didn't touch the motherfucking cookie, bitch
Suicide<TB> I was depressed last night so I called the Suicide Life Line.
<TB> I reached a call center in Pakistan.
<TB> I told them I was suicidal.
<TB> They got all excited and asked if I could drive a truck
[Updated on: Sun, 16 November 2008 20:34] Report message to a moderator
|
|
|
|
Re: Align Center tags for image's [message #358758 is a reply to message #358741] |
Mon, 17 November 2008 00:11 |
|
Goztow
Messages: 9738 Registered: March 2005 Location: Belgium
Karma: 13
|
General (5 Stars) Goztoe |
|
|
Call me old fashioned, but
echo "<center><img src=\"themes/RD-TheDark/images/hd/logo.jpg\" width=\"628\"height=\"109\" alt=\"\"></center></td>\n";
You can find me in The KOSs2 (TK2) discord while I'm playing. Feel free to come and say hi! TK2 discord
|
|
|
|
Re: Align Center tags for image's [message #358780 is a reply to message #358741] |
Mon, 17 November 2008 08:42 |
|
cheesesoda
Messages: 6507 Registered: March 2003 Location: Jackson, Michigan
Karma: 0
|
General (5 Stars) |
|
|
*headdesks repeatedly*
When will people learn that there are forums and tutorials for HTML, PHP, and CSS on the web? I mean, they are so numerous, I can't imagine it being that hard to find a solution to CENTER an image.
If you want the image to be centered, listen to danpaul... except you need to, also, add a clear attribute, so like this:
style="clear:both;margin:auto;"
Then, of course, you're going to need to make it PHP-compatible.
whoa.
[Updated on: Mon, 17 November 2008 08:49] Report message to a moderator
|
|
|