Jump to content
  • 0

По разному отображается в IE и Firefox. Помогите!


ale-g
 Share

Question

HTML код:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>

<head>

<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">

<meta name="author" content="">

<link rel="STYLESHEET" type="text/css" href="style.css" >

<title>Untitled 1</title>

</head>

<body>

<div class="fl halfofbigcol icol icol_ie">

<div class="box box_s"></div>

<div class="box2 box_full"></div>

<div class="box3 box_full"></div>

<div class="box6 box_full3_s">

<div class="box5">

<div align="center">Журналы</div>

</div>

</div>

</div>

</body>

</html>

CSS код:

.box {

margin:0px 2px;

overflow: hidden;

font-size:1px;

height:1px;}

.box2 {

margin:0px 1px;

overflow: hidden;

font-size:1px;

height:1px;

}

.box3 {

margin:0px auto;

overflow: hidden;

font-size:1px;

height:1px;

}

.icol_ie {

margin-left:0px !important;

}

.fl {

float: left;

}

.fr {

float: right;

}

.halfofbigcol {

width: 710px;

overflow:hidden;

}

.icol {

margin-left:-9px;

padding-left:9px;

}

.box_s {

background-color: red;

}

.box_full {

background-color: red;

border-left:1px solid red;

border-right:3px solid red;

}

.box_full3_s {

background-color: red;

border-left: 2px solid red;

border-right: 2px solid red;

}

Edited by ale-g
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy