logo-dw

Go Back   Dreamweaver Club Forums > Hand Coders Forum > HTML and CSS
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 06-13-2012, 10:54 AM   #1
cocoonfx
cocoonfx's Avatar
 
Join Date: Nov 2006
Location: Tamworth,UK
Posts: 576
Default css issues ie8 only

Hi Guys


I am using a drupal site and every browser this works accept you guessed it IE8. I have tried loads of different ticks which normally work however for some reason I can not get the header or the footer to stretch to 100% It goes about 80% away across.

Any ideas?

website www.cms-admin.co.uk/k


[css]#header{
background: url("../images/header-tile.png") repeat;
padding:0;
height:136px !important;
margin-top: 0;
margin-right: auto;
margin-bottom: 0;
margin-left: auto;
width:100% !important;

#footer{
background-color: #000;
color:#fff;
float: left;
margin: 0;
padding: 0px;
width: 100% !important;
height:40px;
}

}[/css]
cocoonfx is offline   Reply With Quote
Old 06-13-2012, 01:58 PM   #2
domedia
Administrator
domedia's Avatar
 
Join Date: Dec 2003
Posts: 9,730
Default

There's quite a bit of errors in your stylesheet. Fix them first (you can leave the warnings alone) and see if the problem is still there.
domedia is offline   Reply With Quote
Old 06-13-2012, 03:08 PM   #3
cocoonfx
cocoonfx's Avatar
 
Join Date: Nov 2006
Location: Tamworth,UK
Posts: 576
Default

humm I found a solution, I have to put in the following:

#header{
background: url("../images/header-tile.png") repeat;
padding:0;
height:136px !important;
margin-top: 0;
margin-right: auto;
margin-bottom: 0;
margin-left: auto;
width:100%;
width:1080px\9;

This is the only way to get it to work.
cocoonfx is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:43 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com