Go Back   Zune Boards > Help Forum > Tech. help

Tech. help Come here for help with technology related problems.

Reply
 
LinkBack Thread Tools
Old 10-28-2009, 05:55 PM   #1 (permalink)
Gow
<none>
Premium Member
Administrator
Expert Zuner
 
Gow's Avatar
 
Join Date: Jan 2007
Location: Fort Wayne, IN, USA
Posts: 2,901
Gow has a brilliant futureGow has a brilliant futureGow has a brilliant futureGow has a brilliant futureGow has a brilliant futureGow has a brilliant futureGow has a brilliant futureGow has a brilliant future
Send a message via AIM to Gow Send a message via MSN to Gow Send a message via Skype™ to Gow
Default [SOLVED] CSS Crossbrowser compatiability...

Helping a family friend with a website, and no genius or competent individual in CSS, so a little help would be very appreciated...

Site is using Wordpress, and what I need to do is make the CSS compatibale between several major browsing engines... IE alias Trident, Gecko alias Mozilla, and Webkit alias Google/Safari.

Site, I am working on... Karen Keller


Code:
/*

File:			custom.css

Description:	Custom styles for Thesis



BASIC USAGE:



If you have enabled the custom stylesheet in the Thesis options panel, the <body> tag 

will be appended with the "custom" class, like so: <body class="custom">. You can use 

the "custom" class to override *any* CSS declarations contained in the style.css file.



For example, if you wish to change the default link color to green, you would add the 

following declarations to this file:



	.custom a, .custom a:visited { color: #090; }	<--- This makes links green

	.custom a:hover { color: #00f; }				<--- This makes links blue when you mouse over them



WHY THIS WORKS:



By using the "custom" class, you are creating more specific CSS declarations for HTML

elements. CSS styling is applied through rules of specificity, and because declarations

prepended with .custom are more specific, they get applied when the page is rendered!



More information about styling your Thesis installation using this file can be found

in the User's Guide:

	http://diythemes.com/thesis/rtfm/customizing-thesis-with-customcss/

*/

.custom #page {margin:0; padding:0; background: url(images/page-bkg.jpg) repeat-y; }

.custom #header {border-bottom: 0; padding: 22px 0; margin: 2px 0 -8px 0; margin-top: 0px; margin-left: 8px; display: inline-block; height: 10px; width: 212px; background: url(http://karen-keller.com/wp-content/themes/thesis_16/custom/images/logo-temp.jpg) top 10px no-repeat; float:left; }

.custom .menu { margin-left: 221px; margin-top: 0px;}

.custom .menu a { text-transform:none; }

.custom .menu li {height: 57px; padding: 0.0em 0.02em; font-size: 12px;}

.custom .menu li a {padding-top: 16px; height: 30px; letter-spacing: .08em;}

.custom .menu .tab {margin-right: 0.1em; }


.custom #feature_box {

border-bottom:0;

	background: #72A0FF;

	height: 300px;

border:0; padding:0;

}



.custom .sidebar_list {

	padding: 0;

	margin: 0;



}



.custom #subscriptions {

	background: #72A0FF;

	height: 260px;

	width: 241px;

	padding: 20px;

}



.custom .widget_text {padding-left: 20px;}



.custom .sidebar .sidebar_list {

	padding: 0;

}

left: 20px;}





custom .sidebar .sidebar_list {

	padding: 0;

}

left: 20px;}





}





custom .sidebar .sidebar_list {

	padding: 0;

}

left: 20px;}







}

left: 20px;}





}





custom .sidebar .sidebar_list {

	padding: 0;

}

left: 20px;}
So...any clues on how to make it compatible, and to keep the look of the website aligned on I.E. 8?

Don't worry about the slide shows... it is the alignment of the nav bar that I need help with.
__________________







Gow is offline   Reply With Quote

Advertisement [Remove Advertisement]
Old 10-28-2009, 06:18 PM   #2 (permalink)
lost in paradise with rae
Support Team
Moderator
Expert Zuner
 
Red Sky's Avatar
 
Join Date: Nov 2007
Location: Pennsylvania
Posts: 2,661
Red Sky is just really niceRed Sky is just really niceRed Sky is just really nice
Send a message via MSN to Red Sky
Default

As a general rule of thumb, I've found that using % instead of exact pixel widths is generally better, as it will work in different resolutions, and the browser can interpret the % however it wants it, instead of being forced.

http://www.devarticles.com/c/a/Web-S...Compatibility/

/\ check that link

Last edited by Red Sky; 10-28-2009 at 06:23 PM.





Red Sky is offline   Reply With Quote
Old 11-03-2009, 12:59 PM   #3 (permalink)
God
α+ω
Retired Staff
Professional Spammer
 
Join Date: Jan 2007
Location: Look up
Posts: 7,803
God has much to be proud ofGod has much to be proud ofGod has much to be proud ofGod has much to be proud ofGod has much to be proud ofGod has much to be proud ofGod has much to be proud of
Send a message via AIM to God Send a message via MSN to God Send a message via Yahoo to God Send a message via Skype™ to God
Awards Showcase
Biggest Abuser of Noobs Trogdor's Peasant Favorite zB Extremity 
Total Awards: 3
Default

The problem is probably all those unmatched closing curly brackets you have...

e.g
Code:
custom .sidebar .sidebar_list {

    padding: 0;

}

left: 20px;}


}

left: 20px;}





}
css doesn't get nested and num opening curly brackets must equal num closing curly brackets.


take a look at http://jigsaw.w3.org/css-validator/v...ning=1&lang=en most errors will be in there.
__________________
Quote:
Originally Posted by sb
10:15 PM <Marshillboy> I almost never eat out

Nurta.net cures 29 known diseases

Last edited by God; 11-03-2009 at 01:02 PM.



God is offline   Reply With Quote
Old 11-03-2009, 01:45 PM   #4 (permalink)
Custom User Titles!
Support Team
Moderator
Jr. Member
 
Bman22's Avatar
 
Join Date: Oct 2007
Location: Albuquerque, NM
Posts: 328
Bman22 is on a distinguished road
Send a message via Yahoo to Bman22
Default

also, if you just need to change how it views on IE, use a
HTML Code:
<!--[if IE (ver)]>
Special instructions for IE (ver) here
<![endif]-->
it might recognize just an if IE, but im not sure, and stick an overriding <style> tag in there.
__________________

thanks to stkr for the sig







Bman22 is offline   Reply With Quote
Old 11-03-2009, 04:20 PM   #5 (permalink)
Gow
<none>
Premium Member
Administrator
Expert Zuner
 
Gow's Avatar
 
Join Date: Jan 2007
Location: Fort Wayne, IN, USA
Posts: 2,901
Gow has a brilliant futureGow has a brilliant futureGow has a brilliant futureGow has a brilliant futureGow has a brilliant futureGow has a brilliant futureGow has a brilliant futureGow has a brilliant future
Send a message via AIM to Gow Send a message via MSN to Gow Send a message via Skype™ to Gow
Default

I got most that fixed by correcting the CSS, and setting -moz-margin-start PLUS -webkit-margin-start along with several other things.

Though I have no idea what the site looks like in IE7 nor was it important to her.
__________________







Gow is offline   Reply With Quote
Old 11-03-2009, 06:42 PM   #6 (permalink)
God
α+ω
Retired Staff
Professional Spammer
 
Join Date: Jan 2007
Location: Look up
Posts: 7,803
God has much to be proud ofGod has much to be proud ofGod has much to be proud ofGod has much to be proud ofGod has much to be proud ofGod has much to be proud ofGod has much to be proud of
Send a message via AIM to God Send a message via MSN to God Send a message via Yahoo to God Send a message via Skype™ to God
Awards Showcase
Biggest Abuser of Noobs Trogdor's Peasant Favorite zB Extremity 
Total Awards: 3
Default

Quote:
Originally Posted by Bman22 View Post
also, if you just need to change how it views on IE, use a
HTML Code:
<!--[if IE (ver)]>
Special instructions for IE (ver) here
<![endif]-->
it might recognize just an if IE, but im not sure, and stick an overriding <style> tag in there.
Let me guess, you saw <!--[if IE6]> and assumed it worked more generally? How that works is IE6 didn't handle comments right, It would end a comment with any > instead of -->.
__________________
Quote:
Originally Posted by sb
10:15 PM <Marshillboy> I almost never eat out

Nurta.net cures 29 known diseases



God is offline   Reply With Quote
Reply

Bookmarks

Thread Tools