SitePoint Sponsor |
|
User Tag List
Results 1 to 9 of 9
Thread: Tantek Celig's Box Model Hack
-
Aug 31, 2002, 12:39 #1
- Join Date
- Aug 2001
- Posts
- 66
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Tantek Celig's Box Model Hack
I'm trying to employ the box model hack to my website, but i'm having some problems. It doesn't seem like it wants to work with NN6 & IE6.
Code:#bottomLeft { float: left; width: 200px; padding: 20px; background-color: #2C2C73; voice-family: "\"}\""; voice-family: inherit; width: 160px; } body>html #bottomLeft { width: 160px; }
removed link
(the box with the "discussions" images should have the same width as the grey box above)Last edited by Blizzy; Sep 2, 2002 at 23:00.
signature
-
Aug 31, 2002, 13:25 #2
- Join Date
- Jun 2002
- Location
- Calgary, AB
- Posts
- 347
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
[OT]
If I help you can I have admin on a server of my choice?kyle//at//retorikmedia//dot//com
-
Aug 31, 2002, 14:28 #3
- Join Date
- Aug 2001
- Posts
- 66
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
lol
if you attend SFU Surrey and join the teknightshehe
you a server regular? hehesignature
-
Aug 31, 2002, 20:41 #4
- Join Date
- Jun 2002
- Location
- Calgary, AB
- Posts
- 347
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I used to be a regular in the CS server but I haven't had much time for games lately - My brother attends UVIC, and my best friends sister attends SFU, and I'm thinking about SFU next year... does that count? *crosses fingers while looking for answer to Blizzy's problem*
kyle//at//retorikmedia//dot//com
-
Aug 31, 2002, 20:49 #5
- Join Date
- Jun 2002
- Location
- Calgary, AB
- Posts
- 347
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
K i found the reason its sticking out... you set the padding to 20px, which extends the block out farther - Just get rid of the padding and it works fine for me.
kyle//at//retorikmedia//dot//com
-
Sep 1, 2002, 00:28 #6
- Join Date
- Aug 2001
- Posts
- 66
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
ehh if your best friend's sister joins the teknights, then she can be a mod to the games :Þ
I actually need the 20px padding.
IE 5 incorrectly interprets the CSS box model and NN6+, IE6+ does.
I figured ou the problem though. AceHTML (my html editor) altered my code for this line:
Code:voice-family: "\"}\"";
Code:voice-family: "$"}$"";
signature
-
Sep 1, 2002, 00:33 #7
- Join Date
- Aug 2001
- Posts
- 66
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
this is the box model:
http://www.yourhtmlsource.com/styles...ssspacing.html
(bottom of the article talks about the IE5 bug)signature
-
Sep 1, 2002, 00:46 #8
- Join Date
- Jun 2002
- Location
- Calgary, AB
- Posts
- 347
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
*slaps self*
oops - sorrykyle//at//retorikmedia//dot//com
-
Sep 2, 2002, 22:59 #9
- Join Date
- Aug 2001
- Posts
- 66
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
thats alright
thanks for trying!signature
Bookmarks