HTML help
#1
HTML help
Hi peeps,
Just a quick question. I have a table in html and I have it centred on the page horizontally but not veritcally. I want to do this. I am aware I could insert a blank transparent gif, but I need it to work across all screen sizes and stay centred. How do I do this, can I do this ?
Cheers
Stu
Just a quick question. I have a table in html and I have it centred on the page horizontally but not veritcally. I want to do this. I am aware I could insert a blank transparent gif, but I need it to work across all screen sizes and stay centred. How do I do this, can I do this ?
Cheers
Stu
#2
Scooby Regular
Join Date: Sep 1999
Location: Swindon, Wiltshire Xbox Gamertag: Gutgouger
Posts: 6,956
Likes: 0
Received 0 Likes
on
0 Posts
You could do it with another table....
<table width="100% height="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="center" valign="middle">
Your table goes here....
</td>
</tr>
</table>
<table width="100% height="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="center" valign="middle">
Your table goes here....
</td>
</tr>
</table>
#4
Scooby Regular
Join Date: Sep 1999
Location: Swindon, Wiltshire Xbox Gamertag: Gutgouger
Posts: 6,956
Likes: 0
Received 0 Likes
on
0 Posts
It's the best way. I do all of my html / javascript coding in a text editor (either notepad or the java ide I'm using at the moment). The result = no spaghetti code, and you can be sure of being standards compliant...
Thread
Thread Starter
Forum
Replies
Last Post
shorty87
Full Cars Breaking For Spares
19
22 December 2015 11:59 AM
Pro-Line Motorsport
Car Parts For Sale
2
29 September 2015 07:36 PM
shorty87
Wheels And Tyres For Sale
0
29 September 2015 02:18 PM