R
R
rapida2011-06-22 00:46:06
HTML
rapida, 2011-06-22 00:46:06

Bug in layout in IE

Please tell me what causes the yellow bar in the header of the site in IE (6, 7)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
sskalmykov, 2011-06-22
@sskalmykov

Try to fix line 2 in the cascade like this: In any case, the problem lies in the border, either tr, which comes first in the table, or in the header class. But td seems to have a border set to zero, so the problem is in tr. By the way, the bug is also observed in the 8th version of IE. In general, I would beat my hands for such a layout. Sorry, but even if you consider that this is a site for 12,000, you can’t make it up like that! Read books on layout, replace this bunch of useless tables with a few neat divs. Plus, the table width is 1200! But what about the owners of netbooks? They watch the scroll? Try it, tell me if it helped or not.
table, td, tr {
border: 0 none;
border-collapse: collapse;
}

T
twixxer, 2011-06-22
@twixxer

Everything above is correct.
So that in the future, so that there are no problems with layout differences, you can use "Normalize.css"
habrahabr.ru/blogs/webdev/120345/#comments

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question