Forum Moderators: not2easy

Message Too Old, No Replies

Opera Sizing

         

beecham

1:19 pm on Jun 20, 2003 (gmt 0)

10+ Year Member



Hi with my search for something bordering on cross platform browser support I have come across a new 'fun' problem. Though not essential to be pixel perfect I would apprecaite if all pages looked similar.
Unfortunaltey Opera is not sticking to the rule I have created:
#branchtext {height: 84px;}
this has then been atttached to a TD but in Opera it clearly goes higher than 84...
Any hacks to get around this?
Opera 6 BTW

BlobFisk

1:30 pm on Jun 20, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hey beecham,

There are a couple of things to check here.

When you say that the style code you quote is "attached" to the <td>, do you mean as an id? eg: <td id="branchtext">? If so, make sure that this is the only instance of branchtext on your page. If you wish to use it more than once, use a class: .branchtext <td class="branchText">.

Also, are there any heights specified on cells within the row? This will have an impact on cell heights, as within a row, all cells take on the same height (generally the tallest cell height is used).

Do you have a doctype decleration? This can have an impact on some css rendering.

beecham

1:51 pm on Jun 20, 2003 (gmt 0)

10+ Year Member



Yeah I have a docType:
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
No other heights are set anywhere on the table, tr or td.
It is currently working as an ID rather than a class due to it being a unique item on each page.
Help as ever appreciated