Welcome to Geeklog, Anonymous Monday, December 23 2024 @ 03:53 am EST
Geeklog Forums
HTML Question
Hey! This question is not directly tied to Geeklog, but since the people on these forums tend to be geniuses I thought I would throw this question to you guys!
See this code:
#sidebar {
width:220px;
float:right;
border:1px solid #333;
}
I would like to be able to have content of the box (pictures, text etc.) stay X pixels away from the border (A.K.A. border:1px solid #333. Any suggestions?
Thanks!
Sam Krupa
See this code:
Text Formatted Code
#sidebar {
width:220px;
float:right;
border:1px solid #333;
}
I would like to be able to have content of the box (pictures, text etc.) stay X pixels away from the border (A.K.A. border:1px solid #333. Any suggestions?
Thanks!
Sam Krupa
8
9
Quote
Status: offline
sammykrupa
Forum User
Junior
Registered: 12/05/04
Posts: 28
Anyone?
Sam Krupa
Sam Krupa
8
13
Quote
Status: Banned
machinari
Forum User
Full Member
Registered: 03/22/04
Posts: 1512
try
padding: 3px;
or even
margin: 3px;
depending on your browser, this should work fine.
padding: 3px;
or even
margin: 3px;
depending on your browser, this should work fine.
6
7
Quote
sammykrupa
Anonymous
Thank You!
8
9
Quote
All times are EST. The time is now 03:53 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content