| View previous topic :: View next topic |
| Author |
Message |
optomeb Enthusiastic Coder
Joined: 19 May 2006 Posts: 113
|
What attributes should I use to have a border around a layout fit snug around that layout
Width=100% ?
Reply with quote
|
| |
|
|
froomzer Enthusiastic Coder
Joined: 23 May 2006 Posts: 148
| |
optomeb Enthusiastic Coder
Joined: 19 May 2006 Posts: 113
|
Got a layout, want to put a border around the layout
Follow me ?
So I figured id use a table and stylize that table
Reply with quote
|
| |
|
|
froomzer Enthusiastic Coder
Joined: 23 May 2006 Posts: 148
|
Are you talking about the default margin/padding on the body/html elements
Well that would be silly
Reply with quote
|
| |
|
|
optomeb Enthusiastic Coder
Joined: 19 May 2006 Posts: 113
| |
froomzer Enthusiastic Coder
Joined: 23 May 2006 Posts: 148
|
Html, body { margin: 0; padding: 0; }
You shouldn't use a table for anything other than tabular data
Reply with quote
|
| |
|
|
optomeb Enthusiastic Coder
Joined: 19 May 2006 Posts: 113
| |
froomzer Enthusiastic Coder
Joined: 23 May 2006 Posts: 148
| |
optomeb Enthusiastic Coder
Joined: 19 May 2006 Posts: 113
| |
froomzer Enthusiastic Coder
Joined: 23 May 2006 Posts: 148
|
You could also put it around the most closely related element...
Reply with quote
|
| |
|
|
| Page 1 of 5 |
Goto page 1, 2, 3, 4, 5 Next |
|