This is a discussion on "box height problem in Safari" within the Web Page Design section. This forum, and the thread "box height problem in Safari are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
box height problem in Safari
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
box height problem in Safari
I have a table which has three rows of one cell each. I have specified the height of each cell by a class referring to an external stylesheet. There are two other classes which may be relevant, one in an internal stylesheet, and one referring to the same external stylesheet.
In Firefox and Internet Explorer 5.2 (the latest available for the Mac, as far as I know), these cells are displayed correctly, but in Safari, they cut off at the bottom of the text in the box, and are therefore not the correct height. Can anyone help me correct this, please? This is the code: <STYLE TYPE="text/css" MEDIA=screen> <!-- .rbc { color: white; background-color: maroon; } --> </STYLE> <tr class="rb2"> <td class="rbc"> <div class="squash">some text<br/></div> <div class="squash">some more text<br/></div> <div class="squash">yet more text<br/></div> <div class="squash">guess what? some more text!</div> </td> </tr> (I haven't wrapped it with
This is the CSS:
Thanks in advance. |
|
|
|
#2
|
|||
|
|||
|
Re: box height problem in Safari
The code should look like this:
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
|
|
#3
|
|||
|
|||
|
Re: box height problem in Safari
Thanks very much for replying to my question, but to be honest it was so long ago I've forgotten what I was trying to do! And yes, I do know that styles belong in the head (I usually use a separate file for them), but I was just trying to simplify my post. Apologies if it was oversimplified.
And thanks again anyway! |
|
#4
|
|||
|
|||
|
Re: box height problem in Safari
Alright. I was justed looking through the unanswered posts :: there are ones from March and April in there!
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
|
![]() |
| Tags |
| box height safari |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Real problem centreing images in Firefox/Safari... | JamesHatter | Web Page Design | 2 | Apr 10th, 2008 15:14 |
| SAFARI / IFRAME / DIV IMAGE problem | shan | Web Page Design | 1 | Apr 10th, 2008 09:41 |
| Navigation problem with Safari | cpando1974 | Web Page Design | 4 | Oct 8th, 2007 15:45 |
| Text box disable problem in Safari | Thanuja | JavaScript Forum | 1 | Jun 15th, 2007 14:21 |