Reply
Can't figure this out. Can someone take a look please?
Old 02-18-2008, 12:00 AM Can't figure this out. Can someone take a look please?
Webmaster Talker

Posts: 554
I've been working on a new layout. I had it working great, then I tried to get sIFR working. I couldn't get it working and I removed the code but broke my layout in the process somehow.

I can't figure out why but the green box should have a margin to the left of it like the blue one does. It shows correctly in FF but not in IE 6.

Can anyone please take a look and see where I messed it up. The CSS and HTML are all on the same page right now.

http://74.63.67.148/~sharedsite/index.html

Last edited by zincoxide : 02-18-2008 at 01:02 AM.
zincoxide is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 02-18-2008, 04:36 AM Re: Can't figure this out. Can someone take a look please?
Super Talker

Posts: 138
Name: Josh
wait ignore what this said before.

Code:
.moduletable-orange {
 width: 32.7%;
 height: 265px;
 margin: .7% 0;
 float: left;
 background: #fc8a00 url(images/bg-orange.gif) repeat-x top left;
 position: relative;
}
should be:

Code:
.moduletable-orange {
 width: 32.7%;
 height: 265px;
 margin: .7% 0 .7% .8%;
 float: left;
 background: #fc8a00 url(images/bg-orange.gif) repeat-x top left;
 position: relative;
}
You just missed out a couple of the details on the margin for the orange box.

To save confusion i suggest you use:
Code:
margin-left: **px;
margin-right: **px;
margin-top: **px;
margin-bottom: **px;
that way its easier to tell which number does which margin, just easier to troubleshoot that way. You don't have to if you dont like that idea, just something to think about.

P.S I love the template dude.

Last edited by Joshy D : 02-18-2008 at 04:45 AM.
Joshy D is offline
Reply With Quote
View Public Profile
 
Old 02-18-2008, 12:45 PM Re: Can't figure this out. Can someone take a look please?
Webmaster Talker

Posts: 554
that's not it... I was thinking the same thing, and have tried that.

margin: top right bottom left;

I'm know what the numbers mean, and my intention on the orange is to have a .7% margin on the top and bottom and no margins on the left or right. The margin is set on the green and blue for the left but not the right.

I've tried extending the margin statements but it doesn't work.

Last edited by zincoxide : 02-18-2008 at 12:54 PM.
zincoxide is offline
Reply With Quote
View Public Profile
 
Old 02-18-2008, 12:53 PM Re: Can't figure this out. Can someone take a look please?
Webmaster Talker

Posts: 554
BTW, thanks for the compliment!
zincoxide is offline
Reply With Quote
View Public Profile
 
Old 02-18-2008, 01:05 PM Re: Can't figure this out. Can someone take a look please?
Webmaster Talker

Posts: 554
Here is what is REALLY weird... When I look at the page in my local browser, it works perfectly in IE and FF. When I upload it to the server and look at it there, the left margin on the green box only disappears.
zincoxide is offline
Reply With Quote
View Public Profile
 
Old 02-18-2008, 01:21 PM Re: Can't figure this out. Can someone take a look please?
Webmaster Talker

Posts: 554
That is sooo weird!

I changed the margin to go on the right of the orange and green instead of the left side for the green and the blue. It seems to be working now.

I have another question though: I tried using sIFR for the Impact font inside the offers box. It didn't work so well, and I couldn't get it working properly. I couldn't get a transparent background for the font, it stayed white. Right now I just have it set to use the Impact font but if someone doesn't have it on their system then it will look awful.

Any ideas how I can either get sIFR working correctly, or just use a different technique?
zincoxide is offline
Reply With Quote
View Public Profile
 
Old 02-18-2008, 02:33 PM Re: Can't figure this out. Can someone take a look please?
LadynRed's Avatar
Super Moderator

Posts: 6,553
Location: Tennessee
There are forums for sIFR and there is plenty of documentation. However, I suspect you just need to set wmode=transparent for the font - something like this in the sifr-config.js file:

sIFR.replace(FreestyleScript, {selector: '#header h6', wmode: 'transparent'
,css: '.sIFR-root {text-align: right;, font-weight: bold;, color: #d00000;, background-color: #ffffff;, display: inline;}'});
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Can't figure this out. Can someone take a look please?
 

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

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




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.14759 seconds with 12 queries