The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
CSS - IE8 - Padding - Headaches
So, right now this is what I have:
HTML Code:
/*custom links*/ .location a { color:#FFFFFF; padding:8px 16px 8px 16px; background-color:#FBB03B; font-size: 11pt; text-decoration:none; } .prefix a { color:#FFFFFF; padding:8px 16px 8px 16px; /*padding:8px;*/ /*background-color:#5C7099;*/ font-size: 10pt; text-decoration:none; } .prefix div{ padding:8px 16px 8px 16px; background-color:#3c003c; } .prefix a:link {color:#FFFFFF;} /* unvisited link */ .prefix a:visited {color:#FFFFFF;} /* visited link */ .prefix a:hover { color:#FFFFFF; background-color:#9CC626; padding:8px 16px 8px 16px; } .prefix a:active {color:#FFFFFF;} /* selected link */ .location a:link {color:#3A003B; padding:8px 16px 8px 16px;} .location a:visited {color:#3A003B;} .location a:hover {color:#FFFFFF;background-color:#3C003C;} .location a:active {color:#FFFFFF;} This is my HTML code: HTML Code:
<div class="location"> <div height="999px"> <style type="text/css"> .L$foruminfo[forumid] {padding:8px 16px 8px 16px;background-color:#3C003C;color:#FFFFFF;} </style> <a href="index.php"><span class="L">Everything</span></a> <if condition="is_member_of($vbulletin->userinfo, 9,11)"><a style="padding: 8px 8px 8px 8px;" href="forumdisplay.php?f=17"><span class="L17">Dublin 4</span></a> <a href="forumdisplay.php?f=510"><span class="L510">Ballsbridge</span></a></if> <if condition="is_member_of($vbulletin->userinfo, 9)"><a href="forumdisplay.php?f=38"><span class="L38">The Gasworks</span></a></if> <if condition="is_member_of($vbulletin->userinfo, 11)"><a href="forumdisplay.php?f=49"><span class="L49"> Cranmer Place</span></a></if> </div> </div> Attachment 102252 But in IE it looks like so: Attachment 102251 I've tried all sorts of fixes for the thing to make the bottom of the yellow part extend out, and can't for the life of me figure it out. |
#2
|
||||
|
||||
Have you tried reducing the margin?
|
#3
|
||||
|
||||
Tried reducing the margin to zero with no luck.
|
#4
|
||||
|
||||
Tried negative margins?
|
#5
|
||||
|
||||
What margin would you recommend making negative?
|
#6
|
||||
|
||||
Probably margin-bottom.
|
#7
|
||||
|
||||
|
#8
|
||||
|
||||
Instead of a container inside a container, have you tried just using a border instead?
|
#9
|
||||
|
||||
I'm not sure what you mean?
|
#10
|
||||
|
||||
Instead of having one container for the background (yellow) bit and another for the dark bit, just use one and use border-left/border-right.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|