| View previous topic :: View next topic |
| Author |
Message |
optomeb
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% ? |
| |
|
|
|
|
froomzer
Joined: 23 May 2006 Posts: 148
|
| Huh? |
| |
|
|
optomeb
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 |
| |
|
|
froomzer
Joined: 23 May 2006 Posts: 148
|
Are you talking about the default margin/padding on the body/html elements
Well that would be silly |
| |
|
|
optomeb
Joined: 19 May 2006 Posts: 113
|
| Yes |
| |
|
|
froomzer
Joined: 23 May 2006 Posts: 148
|
Html, body { margin: 0; padding: 0; }
You shouldn't use a table for anything other than tabular data |
| |
|
|
optomeb
Joined: 19 May 2006 Posts: 113
|
| Well then how do you suggest I add a border around a layout |
| |
|
|
froomzer
Joined: 23 May 2006 Posts: 148
|
Html { border: 1px solid #000; } ?
I'm not sure what you mean |
| |
|
|
optomeb
Joined: 19 May 2006 Posts: 113
|
Take for example osCommerce
Ever work with imt ? |
| |
|
|
froomzer
Joined: 23 May 2006 Posts: 148
|
| You could also put it around the most closely related element... |
| |
|
|
| Page 1 of 5 |
Goto page 1, 2, 3, 4, 5 Next |
|