Forums / Cotonti / Support / Browsers display problem

chrome and safari

aiwass
#29251 2011-04-01 09:10

There is no need to declare the it like .contentLayout .sidebar1 just .sidebar1 as it is relative to the location of .contentLayout.

Take a look at my CSS for my site which also has a sidebar which works on all browsers for ideas on how to solve it:

.main{margin-bottom:18px;}
.main#main-two-columns{background:url("http://cdn-icons.megamindmagazine.com/main-two-columns.png") repeat-y right top;}
.main#main-two-columns .sidebar{width:260px;}
.main#main-two-columns #main-left{width:671px;}
.sidebar a{text-decoration:none;}
.sidebar a:hover{text-decoration:underline;}
#sidebar-1{margin-left:30px;}
#sidebar-2{width:260px;}

Link to the CSS:

http://cdn-icons.megamindmagazine.com/2009.css

 

Take all that money that we spend on weapons and defences each year and instead spend it feeding and clothing and educating the poor of the world, which it would many times over, not one human being excluded, and we could explore space, together, both inner and outer, forever, in peace. - Bill Hicks

https://evlear.com

Dit bericht is bewerkt door aiwass (2011-04-01 11:40, 14 jaren ago)