Keeping all content centred and in the middle

T

tHatDudeUK

The code I currently have is below. It displays as I want it to in
Dreamweaver but when viewed in the browser it's just aligned to the top
:-( What I want to do is keep it all in the middle and centred no matter
what resolution or size someone has their browser window. My second thought
was to do this with a table (my first, frames, didn't work)

Thanks in advance for any help.

Regards,

tHatDudeUK

<table width="100%" height="100%" border="0" align="center" cellpadding="0"
cellspacing="0">
<!--DWLayoutDefaultTable-->
<tr>
<td width="100%" height="100%" align="center" nowrap><div
align="center"><p><img src="bauhaus.gif" alt="&gt;homp.org - the place to
share porn" width="580" height="152" align="middle"></p>
<table width="80%" border="0" align="center" cellpadding="10"
cellspacing="0">
<tr>
<td width="50%" align="center"><div align="center">
<h1>ENTER</h1>
<h5>This site allows access to adult content and is for
those over 18 years of age only</h5>
</div>
</td>
<td width="50%" align="center"><div align="center">
<h1>LEAVE</h1>
<h5>If you are under 18 or in a country where adult content
is prohibited please click above</h5>
</div>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
 
T

tHatDudeUK

tHatDudeUK said:
The code I currently have is below. It displays as I want it to in
Dreamweaver but when viewed in the browser it's just aligned to the top
:-( What I want to do is keep it all in the middle and centred no matter
what resolution or size someone has their browser window. My second
thought was to do this with a table (my first, frames, didn't work)

Hmmm found the solution after a long time searching...
http://www.projectseven.com/
 
R

Richard

rf said:
If you don't give us a URL to *your* page then we can not help you.

Dickhead. The solution to one problem stared you right in the face and you
failed to see it.
"Without a url we can not help you."
Who is we?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,899
Latest member
RodneyMcAu

Latest Threads

Top