Topics

User Functions

Events

There are no upcoming events

What's New

Stories

No new stories

Comments last 2 weeks


Trackbacks last 2 weeks

No new trackback comments

Links last 2 weeks

No recent new links

NEW FILES last 14 days

No new files

Welcome to Geeklog Thursday, June 20 2013 @ 05:17 AM EDT


 Forum Index > Support > General Geeklog Support New Topic Post Reply
 Slight problem with CSS
   
dwl
 06/10/11 01:15PM (Read 437 times)  
++---
Junior

Status: offline


Registered: 01/05/11
Posts: 25
:banghead: Gawd I hate Internet Explorer.

I realise this, as a CSS challenge, could be posted anywhere but since it is basically about Geeklog I'd like to see if anyone else has the same challenge. It has to do with positioning of the site logo found in the banner.

If you click on this link, you'll see what am I trying to achieve in Firefox. However, in IE7, the result is this: the slogan comes out below the banner and below the menu.

CSS Formatted Code

/*parent to header-slogan */
.header-logobg-container-inner {
  background:           url("images/bkgrnd-purple.png") repeat-y #ffffff;
  border-bottom:        1px solid #CCCCCC;
  height:               78px;
  margin-bottom:        1px;
  padding-left:         1%;
}

.header-slogan {
  float:                right;
  font-size:            2em;
  height:               78px;
  padding-right:        1%;
}
 


I've tried converting the slogan code from a span to a div and it did not change the result.

Comparing the banner/menu combination on my site vs the Geeklog site, the only difference in terms of CSS/HTML structure I can tell is my menu appears below the banner. My header.thtml file is rearranged so the menu navigation container is below the banner container.

Does anyone have a fix? You can look at my site dwlamb.com to see the placeholder and CSS. There's simply no slogan there right now until I get this figured out.

 
Profile Email
 Quote
::Ben
 06/10/11 03:15PM  
+++++
Full Member

Status: offline


Registered: 01/14/05
Posts: 1369
Hi,

Could you paste here the code you try to use to render your header?
PHP Formatted Code
<div class="header-logobg-container-inner"></div>
<div class="header-slogan"></div>
<div class="header-navigation-container "></div>


Ben

We speak french on http://geeklog.fr
 
Profile Email Website
 Quote
dwl
 06/12/11 12:00AM  
++---
Junior
happy

Status: offline


Registered: 01/05/11
Posts: 25
Hi Ben,

We can regard this one as fixed. I looked at the declarations for the div's you wanted me to post here. I started doing my own comparisons of the Geeklog.net css file and my own. Turns out the problem was in .header-logo, not even the div's and rules you and I had considered.

Still, it doesn't change my opinion of Internet Explorer.

 
Profile Email
 Quote
Content generated in: 0.87 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Able to post 
Filtered HTML Allowed 
Censored Content