Log In · Register

 
width in IE.
Smarmosaur
post Sep 14 2008, 03:45 PM
Post #1


AKA RockIt Studios
******

Group: Official Member
Posts: 2,286
Joined: Jun 2006
Member No: 421,809



first problem: the table width won't change in IE. the left tables changed as they were supposed to, but the content in the right tables doesn't resize. what do i have to do to get that to change?

second, there's a nice bit of padding around the blog header. how can i remove it?

link: http://www.myspace.com/rockitxtester


code:
CODE
<style>
table, tr, td{background-color:transparent; border:0px;}
tr, td, .contacttable{border:none;}
.rail{display:none!important;}
.clearfix { position:relative; left:7px; }
.clearfix .clearfix { position:static; left:auto; }
body { margin:0 0 0 -8px; }
tr td .clearfix div {filter:alpha(opacity=0)!important;}
div[id="shortcuts"] {opacity:0;}
.profilewidth {margin-top:-30px!important;}
div .clearfix table tr td div div {position:relative;top:18px;filter:alpha(opacity=100)!important;}
.mslogo, .clearfix select, .clearfix form {display:none!important;}
div td, table table table{background-color:63656E;}
table table table {padding: 0px; text-transform: none; height: .01%; width: 100%;}
.profileinfo a img {margin-bottom:-5px;}
table.profileinfo td td img {visibility: hidden;}
table.profileInfo td.text a img {display: inline; visibility: visible;}
a.text, table div font a, table div div {visibility:hidden;}
table table div font a, table table div div {visibility:visible;}
img {border:0px;}
tr {background-color:transparent}
.latestblogentry, .blurbs, .friendspace, .friendscomments{width:483px; _width:483px; border:1px solid black; font-family:tahoma;}
.profileinfo, .interestsanddetails, .userprofiledetail, .userprofileschool, .userprofilecompany, .userprofilenetworking{border:1px solid black; width:299px;}
.userprofileurl, .whitetext12, .blacktext10, .extendednetwork, .commentlinks, .redlink, .contacttable td.text, .interestsanddetails td.text, .userprofiledetail td.text, .userprofilecompany td.text, .userprofileschool td.text, .userprofilenetworking td.text{display:none;}
.interestsanddetails{margin-top:-13px;}
.latestblogentry{margin-top:-25px;}

.friendscomments table img, .friendscomments table tr td br {display: none; width: 0px;}
.friendscomments td table, .friendscomments td.text table, .friendspace table {background-color:transparent; border:0px;}
table table table table table {direction:rtl;}
table table table table table td {direction:ltr;}
.columnswidening { width:100%; }
.friendscomments td.text td b {visibility:hidden;}
.friendscomments td.text td b a, .friendscomments td.text td td b {visibility:visible;}
.friendscomments td.text td b a {display:none;}
.friendscomments td.text td td b a {display:inline;}
.friendspace td.text td td a img {width:70px; height:70px;}
.friendspace td.text td td a {visibility:hidden; font-size:0px; letter-spacing:-1000px;}
.friendspace td.text td td {line-height:0px;}
.friendspace td.text td td a img {visibility:visible;}
.friendspace .ImgOnlineNow {display:none;}
.friendspace .orangetext15{margin-top:-13px;}

body{
background-image:url("http://i6.photobucket.com/albums/y213/Vampyres_of_Myst/Backgrounds/circlessmall-2.png");}

.contactTable {
width:299px !important;
height:99px !important;
padding:0px !important;
background-image:url("http://i6.photobucket.com/albums/y213/Vampyres_of_Myst/Backgrounds/contacttablecircles-1.png");
background-attachment:scroll;
background-position:center center;
background-repeat:no-repeat;
background-color:transparent;}
.contactTable table, table.contactTable td { padding:0px !important;
background-color:transparent; background-image:none;}
.contactTable a img {visibility:hidden;}
.contactTable a {display:block; height:28px; width:115px;}
.contactTable .text {font-size:1px !important;}
.contactTable .text, .contactTable a, .contactTable img {filter:none !important;}
.contacttable img{
display:block!important;
margin:-2px!important;
margin-left:4px!important;}
.contacttable td td.text {display:table-cell; _display:inline;}

table table div {margin-top:-15px; margin-left:1px; _margin-left:-3px; width:302px; height:54px;
background-image:url(http://i6.photobucket.com/albums/y213/Vampyres_of_Myst/Others/circlesplayer-2.png);
background-position:center center;
background-repeat: no-repeat;}
table.userProfileURL div,
table table td.text div {width:auto; height:auto; background-color:transparent; background-image:none}
table table div object, table table div embed {-moz-opacity:0; filter: alpha(opacity=0)}
table table td.text div object, table table td.text div embed {-moz-opacity:1.0; filter: alpha(opacity=100)}

.nametext {
display:table;
color:63656E;
text-align:center;
font-family:tahoma;
font-size:12px;
line-height:12px;
font-weight:bold;
text-transform:lowercase;
background-color:292B2B;
visibility:visible;
width:100%;
margin-bottom:6px;
padding-bottom:3px;
padding-top:3px;}

.blurbs td.text .orangetext15 {
border:none;
background:none;
display:inline;}

.orangetext15, .blurbs td.text{
display:table;
color:63656E;
text-align:center;
font-family:tahoma;
font-size:12px;
line-height:12px;
font-weight:bold;
text-transform:lowercase;
background-color:292B2B;
width:100%;}

.redbtext{
color:63656e;}

.lightbluetext8, .btext{
color:63656E;
text-align:center;
font-family:tahoma;
font-size:12px;
line-height:12px;
font-weight:bold;
text-transform:lowercase;
margin-top:0px;
margin-bottom:0px;
background-color:292B2B;
display:table;
width:100%;}


.friendscomments td.text td td a {
color:63656E;
text-align:center;
font-family:tahoma;
font-size:12px;
line-height:12px;
font-weight:bold;
text-transform:lowercase;
margin-top:0px;
margin-bottom:0px;
padding:3px;
background-color:292B2B;
display:table;
height:10px;
width:100%;}
.friendscomments td.text td td a:hover{
color:C4A670;
text-decoration:none;}

a:link, a:visited, a:active{
font-family:small fonts;
font-size:7px;
color:292B2B;
text-transform:uppercase;
line-height:12px;
text-decoration:none;
letter-spacing:1px;
font-weight:lighter;}
a:hover{
color:C4A670;
text-decoration:none;}
</style>
 
 
Start new topic
Replies
fixtatik
post Sep 14 2008, 04:34 PM
Post #2


Senior Member
******

Group: Member
Posts: 1,237
Joined: May 2008
Member No: 648,123



the padding you're unfortunately going to have to live with. =)

microsoft says no-no to declaring table padding with css, and IE 7 and earlier (i'm not sure if IE 8 supports it) don't have a clue what border-collapse is. the only way to get rid of it is to use cellpadding="0" in the actual HTML.
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: