| View previous topic :: View next topic |
| Author |
Message |
drake14

Joined: 29 Jul 2005 Posts: 132 Location: around...
|
Posted: Mon Aug 01, 2005 9:44 am need to make big large square |
|
|
|
| is it possible to make a large square with a table? like, a sqaure in the middle of the screen...to put a picture in or something? |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8301 Location: Castle Pines North, CO USA
|
Posted: Mon Aug 01, 2005 10:17 am |
|
|
|
Do you already have a background? If not, use CSS to put the image there as a backgound:
| Code: |
<style type="text/css">
body
{
background-image: url('images/background.gif');
background-repeat: no-repeat;
background-position: center;
}
</style> |
Otherwise, you might consider using a table, but vertical alignment is a bit difficult for cross browser compatibility |
|
drake14

Joined: 29 Jul 2005 Posts: 132 Location: around...
|
Posted: Mon Aug 01, 2005 7:12 pm |
|
|
|
kk...but is it possible to make a large square...like this size
||||||||||||||
||||||||||||||
||||||||||||||
||||||||||||||
||||||||||||||
||||||||||||||
|||||||||||||| |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8301 Location: Castle Pines North, CO USA
|
Posted: Mon Aug 01, 2005 7:14 pm |
|
|
|
| I am still not certain what you are trying to accomplish. What source code or url do you have to maybe help? |
|
drake14

Joined: 29 Jul 2005 Posts: 132 Location: around...
|
Posted: Tue Aug 02, 2005 1:59 pm |
|
|
|
| i guess what i want to know is, how do i make a square? |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8301 Location: Castle Pines North, CO USA
|
Posted: Tue Aug 02, 2005 2:20 pm |
|
|
|
Maybe
| Code: |
<table border="0" width="100%" id="table1" cellspacing="0" cellpadding="0" height="100%">
<tr>
<td>
<div align="center">
<table border="0" width="25%" cellspacing="0" cellpadding="0" bgcolor="#000000" height="25%">
<tr>
<td> </td>
</tr>
</table>
</div>
</td>
</tr>
</table> |
|
|
drake14

Joined: 29 Jul 2005 Posts: 132 Location: around...
|
Posted: Wed Aug 03, 2005 6:16 am |
|
|
|
| yea, thats what i need, how do i change the size of it? |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8301 Location: Castle Pines North, CO USA
|
Posted: Wed Aug 03, 2005 6:24 am |
|
|
|
| Play with the percentages to see what happens |
|
drake14

Joined: 29 Jul 2005 Posts: 132 Location: around...
|
Posted: Wed Aug 03, 2005 6:25 am |
|
|
|
| kk, thanks for the help |
|
|