Web Hosting Vodahost    

Home Take The Royal Tour! Order Now Features Prices
Go Back   Web Hosting > Graphics, Images, Logos Templates & CSS > CSS Cascading Style Sheets

Notices

CSS Cascading Style Sheets All topics and discussions relating to CSS Cascading Style Sheets.

Closed Thread
 
Thread Tools
  #1  
Old 10-29-2006, 03:07 PM
Mook25's Avatar
Brigadier General
 
Join Date: Oct 2005
Location: UK
Posts: 1,446
Default converting ie style sheet to work in firefox

Hi,

My style sheet looks like below. It works fine in IE but the 3 columns left,mid and right are too far up the page. can anyone help with this? if possible i'd like my site to work with both and not have to make 2 duplicate sites with one working in IE and one in firefox.

Code:
body {
 margin: 0px;
                background-color: #000013;
 background-attachment: fixed;
 background-image: url(../styleImages/backgrounds/pageBg.jpg);
 background-repeat: repeat-x;
 
}
#pageSurround {
 width: 850px;
 margin: 10px auto;
 padding:0px;
 border: 5px solid #000000;
 background-color: #FFFFFF;
}
#subSurround {
                border: 1px solid #5C84CE;
 background-image: url(../styleImages/backgrounds/contentBg.jpg);
 background-repeat: repeat-x;
 background-position: relative;
}
#topHeader {
 text-align: right;
 height: 1px;
                margin-bottom: 5px;
 padding-right: 0px;
 padding-top: 0px;
 background-image: url(../styleImages/backgrounds/topHeader.jpg);
 border-bottom: 2px solid #000000;
}
.boxTitleLeft, .boxTitleRight {
 font-family: Verdana, Arial, Helvetica, sans-serif;
 font-size: 70%;
 color: #000000;
 background-image: url(../styleImages/backgrounds/boxTitleBg.gif);
 width: 155px;
 height: 15px;
 padding-left: 5px;
 padding-top: 1px;
}
.boxContentLeft, .boxContentRight {
 border-left: 2px solid #0E51A3;
 border-right: 2px solid #0E51A3;
 border-bottom: 2px solid #0E51A3;
 background-color: #FFFFFF;
 padding-left: 5px;
 margin-bottom: 10px;
 padding-top: 10px;
 padding-bottom: 5px;
}
.colLeft {
 position: relative;
 left: 0px;
 width: 160px; 
 padding-left: 9px;
 padding-right: 5px;
 float: left;
}
.colMid {
 position: relative;
 width: 500px;
 float: left;
}
.colRight {
 position: relative;
 width: 160px; 
 padding-left: 5px;
 right: 9px;
 float: right;
}
.boxContent {
 border-top: 1px solid #A8B4B0;
 border-right: 1px solid #5E85CF;
 border-bottom: 1px solid #5E85CF;
 border-left: 1px solid #5E85CF;
 padding: 3px;
 font-family: Verdana, Arial, Helvetica, sans-serif;
 font-size: 75%;
 color: #333333;
 background-color: #FFFFFF;
 margin-bottom: 5px;
}
/* CHECKOUT PAGES */
.colLeftCheckout {
 position: relative;
 left: 0px;
 width: 160px; 
 padding-left: 9px;
               padding-right: 10px;
 float: left;
}
.colMainCheckout {
 position: relative;
 width: 558px;
 float: left;
                  text-align: right;
 height: 1px;
                margin-bottom: 5px;
 padding-right: 0px;
 padding-top: 0px;
 background-image: url(../styleImages/backgrounds/topHeader.jpg);
 border-bottom: 2px solid #000000;
 
 
}
/* END CHECK OUT PAGES */
.siteDocs {
 text-align:center;
 margin-top: 10px;
}
.pagination {
 text-align: right;
 padding-top: 5px;
 padding-bottom: 5px;
}
#subCats {
 background-color: #EBEDFE;
 text-align: center;
 border: 1px solid #C9CEFC;
 margin: 0px;
 padding: 3px;
 float: left;
 width: 387px;
}
.subCat { 
 text-align: center;
 padding: 8px;
 float: left;
 width: 110px;
}
.regSep{
 padding: 10px 0px 10px 0px;
 margin: 10px 0px 10px 0px;
 border-top: 1px solid #cccccc;
 border-bottom: 1px solid #cccccc;
}
Thanks
__________________
Voda Picks >> Prices| Tutorials | BV Download | FAQ | Your First Webpage


Want a banner like above? Contact me here with details.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #2  
Old 10-29-2006, 10:47 PM
Mook25's Avatar
Brigadier General
 
Join Date: Oct 2005
Location: UK
Posts: 1,446
Default Re: Problem converting ie style sheet to work in firefox

not to worry, all sorted now. Thanks
__________________
Voda Picks >> Prices| Tutorials | BV Download | FAQ | Your First Webpage


Want a banner like above? Contact me here with details.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT +1. The time now is 05:00 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC7
2005-2009 VodaHost Web Hosting Your Perfect Web Host - All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203