It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming CSS Forum

Styles show in Dreamweaver but not IE7

Styles show in Dreamweaver but not IE7

Postby Wogan_Mike on Wed May 30, 2007 3:47 am

I'm building a website with Dreamweaver 8 Pro. I have attached a css style sheet in the head of the page. There are many styles which I have set, such as borders, which display exactly the way they should in Dreamweaver, but when I test it in IE7, it doesn't look right.

EX:
I have the css code for borders:
Code: Select all
.body
{
background-color:#FFFFFF;
border-bottom-color:#000000;
border-bottom-width:5px;
border-top-color:#000000;
border-top-width:5px;
border-left-color:#000000;
border-left-width:5px;
border-right-color:#000000;
border-right-width:5px;
}


In Dreamweaver, the borders display exactly the way I want them to. When I view the page in IE7, however, there are no borders at all.

Any ideas on how to fix this?

Thanks in advance,
Mike W.
Wogan_Mike
 
Posts: 41
Joined: Mon Mar 12, 2007 11:34 pm

Postby jberry on Wed May 30, 2007 3:04 pm

I think I need for code. Maybe just the page you are trying to display. With the CSS sometimes it isn't in the CSS but maybe where you apply it.
jberry
100+ Club
 
Posts: 144
Joined: Mon Mar 19, 2007 4:40 pm
Location: Atlantic City, NJ

Postby Wogan_Mike on Wed May 30, 2007 5:24 pm

That .body class is being applied to a table. What else do you need to see to help?

Thanks again,
Mike W.
Wogan_Mike
 
Posts: 41
Joined: Mon Mar 12, 2007 11:34 pm

Postby jberry on Wed May 30, 2007 5:48 pm

Well I think to start if you are using CSS that don't use tables. You can do everything with CSS and easier. I think that may be the problem table kind of comes with a border. So you are appling a border on top of a border. Don't use the CSS if youare using tables just use the borders it comes with. Or get rid of the table and use CSS.
jberry
100+ Club
 
Posts: 144
Joined: Mon Mar 19, 2007 4:40 pm
Location: Atlantic City, NJ

Postby Wogan_Mike on Wed May 30, 2007 7:09 pm

Thanks for the tip.
Wogan_Mike
 
Posts: 41
Joined: Mon Mar 12, 2007 11:34 pm


Who is online

Users browsing this forum: No registered users and 0 guests