Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

my left hand divs are not appearing

Posted on 2009-07-07
4
Medium Priority
?
290 Views
Last Modified: 2012-05-07
I am trying to get my divs to line up side by side and they look great until I look at it in Chrome or IE8. I keep having this issue, I've floated, cleared clear floated. Help
see www.neunetworks.com if you still have ie7 compare the results in Mozilla.
The wrapper is the box around the whole content, offers is on the right and 360wide is on the left in the code below. 360 doesn't show up in ie8 or chrome
@charset "utf-8";
/* CSS Document */
 
body{
	background-color:#515B53;
	text-align:center;
}
#wrapper {
	margin:0 auto;
	border: 1px solid #FFF;
	overflow: visible;
	position: relative;
	visibility: visible;
	width: 800px;
}
.masthead{
	width:800px;
	background:url(/images/logo.png) left no-repeat;
	float:left;
	clear:both;
	height:100px;
	border-bottom:#FFF solid 1px;
}
/* Panels */
.360wideimage {
	border: 1px solid #FFF;
	width: 360px;
	height:168px;
	background: url(/images/iStock_000000034971XSmall.jpg) no-repeat left;
	margin-left:5px;
	float:left;
	
}
.360widetext {
	border: 1px solid #FFF;
	width: 360px;
	height:250px;
	margin-left:5px;
	float:left;
	clear:left;
}
 
.offers {
	width: 246px;
	height:168px;
	background: url(/images/offerspanel.png) no-repeat center;
	margin-left:5px;
	float:right;
}
.offers h1{
	padding-top:15px;
}
.offers p{
	font:Verdana;
	font-size:9px;
	line-height:normal;
	text-align:left;
}
.news {
	width: 246px;
	height:260px;
	background: url(/images/newspanel.png) no-repeat top;
	margin-left:5px;
	float:right;
	padding-top:12px;
	
}
#panelcontent{
	padding:10px;
	overflow:scroll;
}
h1 {
	font-family: Corbel, Calibri, Tahoma, Arial;
	font-size: 12pt;
	color: #F15A24;
	text-align: left;
	text-indent: 10px;
}
p {
	font-family: Corbel, Calibri, Tahoma, Arial;
	font-size: 10pt;
	color: #FFF;
	padding-left: 10px;
	padding-right: 10px;
	text-align:justify;
	line-height:12pt;
}
 
#projectlist p {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 9pt;
	font-style: normal;
	font-weight: normal;
	color: #000;
	text-align: justify;
	padding-right: 10px;
	padding-left: 10px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #333;
}
#footer {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 9px;
	font-weight: normal;
	color: #FFF;
	text-align: center;
	height: 25px;
}
/* Forms and tables */
 
label {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 9px;
	color: #004842;
}
input {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 9px;
	color: #004842;
	border: 1px solid #004246;
}
th {
	font-family: Corbel, Calibri, Tahoma, Arial;
	font-size: 14pt;
	color: #FFF;
	background-color: #333;
	text-align: left;
	font-weight: normal;
	padding: 5px;
}#wrapper #offers p a {
	color: #F15A24;
	text-decoration: none;
}

Open in new window

0
Comment
Question by:cokefour
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 24798530
When I look at that page online, I don't see the same CSS as above.  Firebug does not show .360wide* styles from neunetworks2009.css

Try renaming the classes so they don't begin with numbers?

0
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
ID: 24798556
Ah-ha...that seems to be the issue:

http://www.w3.org/TR/CSS21/syndata.html#q6

section 4.1.3 Characters and case:

"In CSS, identifiers  (including element names, classes, and IDs in selectors) can contain only the characters [a-zA-Z0-9] and ISO 10646 characters U+00A1 and higher, plus the hyphen (-) and the underscore (_); they cannot start with a digit, or a hyphen followed by a digit."

0
 
LVL 5

Author Closing Comment

by:cokefour
ID: 31600739
Right on the money, I'm off to go and check other websites I had issues with. many thanks
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 24798862
>> I'm off to go and check other websites I had issues with. many thanks

(laughing)

Yeah, me too...
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating a CSS block that only applies to printing By default, all of your CSS applies to every possible view of your page - whether on screen, printed, landscape, touch-screen, or whatever.  You can, however, add CSS that only applies under certai…
CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
In this tutorial viewers will learn how to define a gradient in CSS. Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Gradient. Define the background as "linear-gradient(to right, #ee3668, black)". Ensure you …
In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…
Suggested Courses

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question