28-04-2004, 01:26 AM
|
#1
[permalink]
|
Executive Member
Join Date: 24 Aug 2001
Location: Australia / Sydney
Posts: 372
|
basic html
heya haven't posted in here for yonks
ahahah...
i'm wondering how do we stick an image smack bang in the middle of the window...
no matter how you stretch the screen, the image would always be in the middle... not just center, but also vertial center.. is this possible..
__________________
Watashi-wa baka-des!, Anata-wa Baka des ka?
|
|
|
|
28-04-2004, 01:35 AM
|
#2
[permalink]
|
Forum Master
Join Date: 29 Dec 2001
Location: Stratosphere
Posts: 2,271
|
It is indeed possible. Let me give you a code...
Code:
|
<table width="100%" height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="middle"><img src="someimagefilenamehere.png"></td>
</tr>
</table> |
Should do the trick.
__________________
mplayer > * media players, period.
|
|
|
|
28-04-2004, 05:58 AM
|
#3
[permalink]
|
Executive Member
Join Date: 24 Aug 2001
Location: Australia / Sydney
Posts: 372
|
lol.. man thats soo simple ><
why i didn't i think of that...
now on to more advance coding....
thanks btw
__________________
Watashi-wa baka-des!, Anata-wa Baka des ka?
|
|
|
|
28-04-2004, 06:17 AM
|
#4
[permalink]
|
Executive Member
Join Date: 24 Aug 2001
Location: Australia / Sydney
Posts: 372
|
lol... okies lets change the above requirments.... hehehe
i want to get a table right smack bang in the middle, with x and y dimenions... is it possible??
__________________
Watashi-wa baka-des!, Anata-wa Baka des ka?
|
|
|
|
28-04-2004, 09:24 AM
|
#5
[permalink]
|
Forum Master
Join Date: 29 Dec 2001
Location: Stratosphere
Posts: 2,271
|
Wooh, that's a tough one. AFAIK there aren't any way to put an image or table in the middle without using another table. So the only way you can do this is;
Code:
|
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="middle"><table width="123" height="123" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>Blah Blah</td>
</tr>
</table></td>
</tr>
</table> |
If anyone else has a better idea with using only one pair of table tag then do tell.
__________________
mplayer > * media players, period.
|
|
|
|
28-04-2004, 11:42 AM
|
#6
[permalink]
|
Forum Master
Join Date: 16 Dec 2000
Location: Norway.
Posts: 6,840
|
W3Schools: Very nice to learn HTML School.
__________________
Evil is Good.
Evil.
|
|
|
|
30-12-2009, 02:29 PM
|
#7
[permalink]
|
Junior Member
Join Date: 28 Dec 2009
Posts: 3
|
HI guys. Why everybody want complicated code.
If our need is fulfil with simple coding why one need difficult way to do so.
|
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Thread |
Thread Starter |
Forum |
Replies |
Last Post |
Total Newb to HTML
|
AchtungAffen |
HTML, PHP, MySQL, Graphics, Coding |
11 |
21-05-2003 04:34 PM |
I cannot use html
|
Sigurd Fatima |
Contact Admin Archive |
3 |
21-01-2003 12:31 AM |
html
|
Larisha UDG |
Contact Admin Archive |
11 |
16-07-2002 09:29 AM |
HTML Help Please
|
AnimeWishes |
HTML, PHP, MySQL, Graphics, Coding |
9 |
19-10-2001 08:39 PM |
All times are GMT -4. The time now is 09:51 AM.
|
|